Template for start new python project
You can install the package using python interactive package (PIP)
pip install -e .
for develop install
pip install -e ".[dev]"
Structure directory template
.
├── dev-requirements.txt
├── README.md
├── requirements.txt
├── setup.py
├── src
│ ├── __init__.py
│ └── welcome.py
├── structure.txt
└── tests
└── test_welcome.py
Setting hooks for better development using pre-commit by
pre-commit install
Important
Before publish, edit __version__
on src/__init__.py
to matching the new version.
This template using Github Actions to automatically run test, and check code quality when PR is done on main.
On any pull request without publish, we use pre-commit
and Github Action
for code quality and tests.