Updated README.md

This commit is contained in:
GodSaveTheDoge 2021-05-11 22:21:22 +02:00
parent f3180eb124
commit 56c3ecd4c2
1 changed files with 7 additions and 6 deletions

View File

@ -1,9 +1,10 @@
# PyConstants
A library to make constants in python
Adds constants in python
# Goals
- Make it working
- Detect type hinted constants (typing.Final)
- Detect constants by the name (CONSTANT_VAR)
- Add a way to make any varible constant (const .foo = "bar")
# Usage
```
from pyconstants import const
const .a = 5
a = 7 # Raises SyntaxError
```