Python Handbook

Python Handbook

My collection of Python utilities.

Python Handbook

My collection of Python utilities.

Python

Install Python using Mise which can help you manage multiple versions of Python.

Packages

Mise

Mise tool can manage multiple Python versions and combining it with uv replaces pip and pyenv as well. (Mise can manage other languages as well)

UV package manager

Formatters

Type checkers

Testing

Validation (zod of Python)

Pro Tips

  • Use Docker whenever possible to avoid dependency conflicts and python version mismatch.
  • Precommit tool to make sure all the tools above can be used in seemless to make sure code commited it Sanitized and tested.

Bookmark this page for quick reference. More advanced patterns coming soon!

Resources

Related Posts