Skip to main content

Docker Toolkit for Python

Project description

laituri — Docker Toolkit for Python

Build Status codecov

laituri is a set of Docker-related Python snippets used at Valohai.

Development

Installing editable library version in the current virtual environment.

pip install -e .[dev]   # optionally replace . with the path to laituri source root
isort -y                # automatically enforce import style rules
flake8                  # run code style checker
pydocstyle              # run documentation style checker
pytest --cov            # run unit tests and print test coverage

python
>>> import laituri; print(laituri.__version__)

Making a Release

Pump the version number accordingly in laituri/__init__.py and then...

# `pip install twine` if you don't have it (PyPI project uploader)
# NOTE: the following will delete everything except `.idea/` in source directory but not tracked by git!
git clean -fdx -e .idea/
python setup.py sdist bdist_wheel
twine upload dist/*

# and update git remote
git add .
git commit -m "Pump to v0.2"
git push

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

laituri-0.1.0.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

laituri-0.1.0-py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page