Code Repository for python tutorials and settings that you can copy & paste to your project.
-
Dealing with packages:
- pip
- poetry
- conda
- pipenv
- which package manager should I choose?
- vens - how and why
-
Before starting the code...
- linter
- formatter
- git hooks
- vscode settings & extensions
- default .gitignore
- static types
-
Good practises
- decorators
- context managers
- functools
- logging
- types
- helpful functions & tips
-
Understanding modules & importing
- init
- modules as scripts
- relative imports
- why not import *?
- pycache
- Install all required extensions
./vscode/extensions.json
- Install
pipenv
- Run
pipenv install
- Run
pre-commit install