FrankWiles.com
4 posts

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.

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