A library that provides symbolic constant support.
It includes collections and constants with text, numeric, and bit flag values.
twisted.python.constants from the Twisted project.
constantly is available in PyPI, and can be installed via pip:
$ pip install constantly
Documentation is available at https://constantly.readthedocs.io/en/latest/.
To run tests:
This will run tests on Python 2.7, 3.3, 3.4, and PyPy, as well as doing coverage and pyflakes checks.