A template to start new python projects.
pyenv
to manage Python versionspoetry
to manage dependencies- Development tools:
black
for code formattingflake8
for lintingisort
to manage importsmypy
for type-checkingpytest
to run unit-testsvulture
to check for dead code
- Clone the repo
- Run
./setup.sh
to setup the Python environment on your machine. The script installspyenv
,python
,pip
, andpoetry
on Linux and MacOS - Run
poetry install
to create a local virtual environment with all the dependencies installed - Run
./test.sh
to run linting, type-checking and unit-testing - Rename
my_package
with your package name and start developing!