Skip to main content

toolchest is a collection of generic functions for release-depot

Project description

toolchest

pypi tests documentation

Toolchest is a collection of generally useful functions that can be reused in various settings.

Find the most recent documentation at https://toolchest.readthedocs.io.

Notes

This library only supports python 3. Some features may still work with python 2.7 but not all of the syntax and features may be compatible. Prettytable can be used, but is optional.

Installing

toolchest is available on PyPI; it can be installed by running::

pip install toolchest

Alternatively, one could also clone this repository and run::

pip install --editable .

Development

toolchest supports both standard python virtual environment setups and pipenv, which is integrated into our Makefile. To set up a pipenv-based development enironment, you can simply run::

make dev

This will install our dev environment for the package via pipenv. It is installed with --user, so it does not affect your site-packages. Pipenv creates a unique virtualenv for us, which you can activate via::

pipenv shell

See the pipenv documentation for more detail.

If you prefer to use pip directly in your venv, specify the following requirements files:

  • requirements.txt
  • test-requirements.txt

There is also a dist-requirements.txt, if you will be building the project for distribution.

Documentation

To build the documentation on your checkout, simply run::

make docs

Alternatively, to install via pip directly, include the following requirements files:

  • requirements.txt
  • docs-requirements.txt

Contributing

All new code should include tests that exercise the code and prove that it works, or fixes the bug you are trying to fix. Any Pull Request without tests will not be accepted. See CONTRIBUTING.rst for more details.

Building

If you wish to build a local package for testing at any time, you can simply run::

make dist

this will build a package with a .dev extension that you can install for testing and verification.

Acknowledgements

This code contains a derivative work of 'rpmvercmp' from RPM 4.14.1.

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

toolchest-0.0.12.tar.gz (37.0 kB view details)

Uploaded Source

Built Distribution

toolchest-0.0.12-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file toolchest-0.0.12.tar.gz.

File metadata

  • Download URL: toolchest-0.0.12.tar.gz
  • Upload date:
  • Size: 37.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for toolchest-0.0.12.tar.gz
Algorithm Hash digest
SHA256 d8942f60db866ec5965ccc127d6fabdc05cc99abed2b51d210f8183e133f7c2d
MD5 984af38347e7482f7e98adc04f546171
BLAKE2b-256 64ca8d098542aaf998e6a0e1b67a8cf2c6eed439504f738f1e35a962a13fe11b

See more details on using hashes here.

File details

Details for the file toolchest-0.0.12-py3-none-any.whl.

File metadata

  • Download URL: toolchest-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 28.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for toolchest-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 53279f3d821e8c9e2da1c86dbfe9c08e03f437583597f1a6c0ecdb66b0c4b2cf
MD5 b6c5583e130ebb6f17c4acda9d0de05f
BLAKE2b-256 1ac4c4c933c1596955f0b1959bbe32e84f52001afa00851cf86780237f116278

See more details on using hashes here.

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