Stores Data Engineering frameworks documentation
It's best to use a virtual environment to test and develop new features. We recommend pyenv or conda:
Having one of these installed makes the developing process easier, helping the user with depency management.
If you need to add a new dependency, make sure to add it to the corresponding requirements file:
requirements.txt: General project dependencies. Anything that the main version needs must be added here.requirements.dev.txt: Dependencies needed for project development.requirements.lint.txt: Lint dependencies,flake8for example.requirements.test.txt: Dependencies needed for the testing phase.
After the initial steps, you can use some useful commands to help your developing process:
- Requirements:
make requirements: installs all packages from all requirements filesmake requirements-dev: installs all packages fromrequirements.dev.txtfilemake requirements-lint: installs all packages fromrequirements.lint.txtfilemake requirements-tests: installs all packages fromrequirements.tests.txtfile
- Lint:
make checks: runsblackandflake8make black: runs only theblackreformating processmake flake8: runs only theflake8lint process
- Tests:
make tests: runspytestwith coverage
- Python - Programming language.
- Flake8 - Lint tool.
- Black - Python code formater.
- Cookiecutter - A command-line utility that creates Python projects using templates.