Requirements per environment.
Split project into reusable modules.
Each module could have its own urls file.
Settings load sequence:
- execution args
- environment variables
- defaults
Settings definitions must be located in the top of the module __init__.py
file they belongs to.
Allows to return json contains error message and code.
Creates application.
Creates docs folder.
QT like observer pattern implementation.
virtualenv .env --no-site-packages -p /usr/local/bin/python3.5
source .env/bin/activate
pip install -r requirements/development.txt
Use relative imports for imports from current module.
Imports should be grouped in the following order:
- standard library imports
- related third party imports
- local application/library specific imports
You should put a blank line between each group of imports.
Use __all__
to specify which objects are for usage outside. Than use wildcard imports in __init__.py
.
python -m unittest project.module