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,flake8
for 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.txt
filemake requirements-lint
: installs all packages fromrequirements.lint.txt
filemake requirements-tests
: installs all packages fromrequirements.tests.txt
file
- Lint:
make checks
: runsblack
andflake8
make black
: runs only theblack
reformating processmake flake8
: runs only theflake8
lint process
- Tests:
make tests
: runspytest
with coverage
- Python - Programming language.
- Flake8 - Lint tool.
- Black - Python code formater.
- Cookiecutter - A command-line utility that creates Python projects using templates.