With stream you can create file-like object to read from aiobotocore "files" by chunks.
Do not forget to run . ./activate.sh
.
You can use this repository as template for your Python projects.
It brings:
- Python virtual environment (see
activate.sh
) - pre-commit configuration with mypy, flake8, black and docstrings linter (see
.pre-commit-config.yaml
, install pre-commit and activate it withpre-commit install
) - github pages: read the article, the site generated from md-files in
docs/
,docs/docstrings/
is autogenerated from source code docstrings (see.github/workflows/docs.yml
) - pytest with examples of async tests and fixtures (see
tests/
) - github actions to linter, test and to create github pages (see
.github/workflows/
) - versions in git tags (see
verup.sh
) - publishing Python PIP package read the article, automatically on git tag, also creates github release with link to the version on pypi.org
- pinning dependencies versions using pip-tools (see
scripts/compile_requirements.sh
)
make help