Skip to content
Programming Notes
  • Home
  • Docker Starters
  • Author.instance().info()
  • Toggle website search
Menu Close
  • Home
  • Docker Starters
  • Author.instance().info()
  • Toggle website search

Python

  1. Home>
  2. programming>
  3. Python>
  4. Page 2

Django app template w/ Docker

  • Post author:Van Ly
  • Post published:April 22, 2023
  • Post category:django/docker/programming/Python

Revisiting https://www.pn.therealvan.com/2021/01/24/postgresql-and-mysql-docker-containers/, this post focuses on a plain Django app with minimal dependencies: exclude pipenv using the default SQLite DB Bootstrapping Start with these files: Dockerfile FROM python:3 ENV PYTHONUNBUFFERED…

Continue ReadingDjango app template w/ Docker

Wagtail in Docker

  • Post author:Van Ly
  • Post published:July 31, 2022
  • Post category:django/docker/programming/Python/Windows

Over the weekend I found out about a CMS software written on top of Django called Wagtail. The installation instructions promise an easy path. Just run: pip install wagtail Since…

Continue ReadingWagtail in Docker

Loading Resources from Python Packages

  • Post author:Van Ly
  • Post published:March 28, 2021
  • Post category:programming/Python

Start with importlib_resources Start with the package importlib_resources. Properly export modules In order for a resource to be accessible, the module (or most likely the submodule) containing it needs to…

Continue ReadingLoading Resources from Python Packages

Python Package Publishing Notes

  • Post author:Van Ly
  • Post published:March 28, 2021
  • Post category:programming/Python

Foundations For the most part, the doc How to Publish an Open-Source Python Package to PyPI – Real Python is what I followed. However, had that been it, I wouldn't…

Continue ReadingPython Package Publishing Notes

Too Many Languages!

  • Post author:Van Ly
  • Post published:July 21, 2017
  • Post category:groovy/Java/programming/Python/Scala

ARGH! I've been bounced between languages. It's driving me NUTS. This is a comparison of how to do something in each to help me map between them. There is definitely…

Continue ReadingToo Many Languages!
  • Go to the previous page
  • 1
  • 2
  • Author.instance().info()
  • Docker Starters
Copyright - WordPress Theme by OceanWP