Metadata-Version: 2.1
Name: toolchest
Version: 0.0.12
Summary: toolchest is a collection of generic functions for release-depot
Home-page: https://github.com/release-depot/toolchest
Author: Red Hat
Author-email: lhh@redhat.com
Maintainer: Lon Hohberger
Maintainer-email: lon@metamorphism.com
License: MIT
Project-URL: Bug Tracker, https://github.com/release-depot/toolchest/issues
Keywords: toolchest
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Description-Content-Type: text/markdown
Provides-Extra: devbase
Provides-Extra: test
Provides-Extra: docs
Provides-Extra: dist
License-File: LICENSE

## toolchest


[![pypi](https://img.shields.io/pypi/v/toolchest.svg)](https://pypi.python.org/pypi/toolchest)
[![tests](https://github.com/release-depot/toolchest/actions/workflows/test.yml/badge.svg)](https://github.com/release-depot/toolchest/actions)
[![documentation](https://readthedocs.org/projects/toolchest/badge/?version=latest)](https://toolchest.readthedocs.io/en/latest/?badge=latest)

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](https://pipenv.pypa.io/en/latest/) 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.
