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

Dependencies

  • None

Releases

Version Released Bookworm
Python 3.11
Trixie
Python 3.13
Files
1.0 2014-11-21

Issues with this package?

Page last updated 2026-09-03 05:03:25 UTC