Metadata-Version: 2.4
Name: pyconstlock
Version: 0.1.1
Summary: A simple constant enforcement utility for Python
Home-page: https://github.com/austinewoody/pyconstlock
Author: Austine Onwubiko
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-python
Dynamic: summary

# pyconstlock

A simple Python utility to enforce constant variables.

## Installation

```bash
pip install pyconstlock


Usage

from pyconstlock import Const

const = Const()

const.API_KEY = "abc123"
const.MAX_USERS = 50
const.APP_NAME = "My App"

print(const.API_KEY)
print(const.MAX_USERS)
print(const.APP_NAME)

const.MAX_USERS = 100  # error

Features

-Prevent reassignment
-Prevent deletion
-Enforce uppercase naming
