constantly icon indicating copy to clipboard operation
constantly copied to clipboard

Symbolic Constants in Python

Constantly

A library that provides symbolic constant support. It includes collections and constants with text, numeric, and bit flag values. Originally twisted.python.constants from the Twisted <https://twistedmatrix.com/>_ project.

Installing

constantly is available in PyPI <https://pypi.org/project/constantly/>_, and can be installed via pip::

$ pip install constantly

Documentation

Documentation is available at <https://constantly.readthedocs.io/en/latest/>_.

Tests

To run tests::

$ tox

This will run tests on Python 2.7, 3.3, 3.4, and PyPy, as well as doing coverage and pyflakes checks.