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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file laituri-0.1.0.tar.gz.

File metadata

  • Download URL: laituri-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.0

File hashes

Hashes for laituri-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b64500fc5d0e310db5aa402efcd8ec169ff6a0c78af38ce1475ca499114b06d5
MD5 06f33d8de34038c2e6de6fe55a7c8be7
BLAKE2b-256 94b55e0dbe5365a517c45c3bf211170042a2af3e35b6d6ef658ccce1090eeff7

See more details on using hashes here.

File details

Details for the file laituri-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: laituri-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.0

File hashes

Hashes for laituri-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8aed97f75f735778e79bdd96984ab6c0a3ec7cc43b33fe5f0553455c660a3ab
MD5 5472cfabdaf90ccae0c8a47370a4f696
BLAKE2b-256 5154081b4e9a070058795d369ed30a996a1373c037108028bd6d9265245e5e31

See more details on using hashes here.

Supported by

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