named_constants

This module offers an easy way to define named constants in Python, supporting some simple enum-like use case, as well as arbitrary value types like strings or floats.

Installation

In a virtualenv (see these instructions if you need to create one):

pip3 install named-constants

Releases

Version Released Bullseye
Python 3.9
Bookworm
Python 3.11
Files
1.0 2014-11-21  

Issues with this package?

Page last updated 2025-06-27 15:52:41 UTC