FrankWiles.com
items
4 Posts 3 Questions

python

Python is a versatile, high-level programming language known for its clean syntax and readability. It’s widely used in web development, data science, automation, scripting, and more.

Why Python?

Python’s simplicity makes it an excellent choice for beginners, while its extensive ecosystem of libraries and frameworks makes it powerful enough for complex applications. Some key areas where Python excels:

Below you’ll find my posts, TIL entries, and questions related to Python development, covering everything from basic syntax to advanced techniques and best practices.

Question

I’ve always been curious, how do you and your team at REVSYS prioritize what to work on? Obviously client work pays the bills, but your team has been heavily involved in the Python and Django community for years, either serving on boards/working groups/committees/etc or helping maintain a myriad of open source libraries and helpful community sites. I figure each person has a certain level of autonomy to prioritize, but do ya'll have something like "10% time" rule or is it more fluid and circumstanstial?

opensourcepythondjango +1
Question

When should I use Django vs Flask vs FastAPI?

djangopython
Question

I've been struggling with optimizing Django ORM queries for a high-traffic dashboard. We use select_related everywhere, but we are still seeing N+1 issues in some background tasks.

djangoperformancepython
Post

Customize your IPython shell in Docker

You can heavily customize your IPython shell experience when using it inside Docker or in a Docker Compose project. Without your personal preferences annoying your teammates!

pythonopsdocker +1
Post

Your pytest fixtures can return containers

It's easy to have your pytest function's argument signatures explode with a bunch of fixture references. And sometimes you need things that depend on each other, both separately and together which can be hard to keep straight. I suggest using an object to contain them.

pythontesting
Post

Creating a PostgreSQL database using psycopg

Quotes around your tables got you down? Yeah me too. Creating, dropping or altering PostgreSQL objects with Python and psycopg is a bit tricky when it comes to identifiers like the names of databases, tables, and indexes.

pythonpostgresql
Post

Rebuild Sphinx Docs Automatically + Live Reload

Working on a lot of Sphinx documentation? This PyPI module helps auto-rebuild your docs and includes livereload so you can more quickly see your changes.

python

Explore More Python Resources

Looking to expand your Python knowledge? Here are some resources I recommend:

Official Resources

Learning Platforms

Community

Python Tools I Use

Have a question about Python? Feel free to ask me!