Decorator that creates a full frozen class. Immutable and prohibits object creation.
Project description
fullfrozenclass
Decorator that creates a full frozen class. Immutable and prohibits object creation.
from fullfrozenclass import fullfrozenclass
@fullfrozenclass
class Example:
a: int = 15
b: int = 25
Example.a = 16
# Error
Example.c = 4
# Error
x = Example()
# Error
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fullfrozenclass-1.0.0.tar.gz
(6.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fullfrozenclass-1.0.0.tar.gz.
File metadata
- Download URL: fullfrozenclass-1.0.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.13.7 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
365ea4b572ebbf1174a9169e08c83c9c186433f0a860f0e36f321a1509b0907a
|
|
| MD5 |
e8b233cbce8863e89115c24ec0d9ab2b
|
|
| BLAKE2b-256 |
97fdb01e9ac81dfb44e9b69fc09cae0e5e3f90411c9dfeb77f953b31be80c370
|
File details
Details for the file fullfrozenclass-1.0.0-py3-none-any.whl.
File metadata
- Download URL: fullfrozenclass-1.0.0-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.13.7 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f27b822bfc9893ce9c39d98feac44550d92606b3a892322ec70a7e41b15416cb
|
|
| MD5 |
92a79bbc077c165bd48c2af7f10b9beb
|
|
| BLAKE2b-256 |
082774541a7d1c9924fcf1b086773eed7cb9d4c9c3e9277f34baec6179f5b2d1
|