A module allowing for constant and publicly immutable data.
Project description
██████╗ ██╗ ██╗██╗ ██╗ ██████╗ ███╗ ██╗
██╔══██╗╚██╗ ██╔╝██║ ██╔╝██╔═══██╗████╗ ██║
██████╔╝ ╚████╔╝ █████╔╝ ██║ ██║██╔██╗ ██║
██╔═══╝ ╚██╔╝ ██╔═██╗ ██║ ██║██║╚██╗██║
██║ ██║ ██║ ██╗╚██████╔╝██║ ╚████║
╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝
| Pykon is a way to allow constant and publicly immutable data.
Example
from pykon import Pykon
from typing import Union
mylist: Union[Pykon, PykonError] = Pykon(list, [1,2,3,4])
if type(mylist) is Pykon.PykonError:
raise mylist
else:
print(mylist.data)
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
pykon-0.1.0b1.tar.gz
(2.3 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 pykon-0.1.0b1.tar.gz.
File metadata
- Download URL: pykon-0.1.0b1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
688aa669ced706f313b18d99f9b75c3178b0049ef10a821c0aaa6e11089f7342
|
|
| MD5 |
cae6082e4c3522e7698a5c3ebf19ff59
|
|
| BLAKE2b-256 |
496bcb2c7334894fa87043a5e90281fc16b4b4943c7507cbb70ee58a0ed57e9b
|
File details
Details for the file pykon-0.1.0b1-py3-none-any.whl.
File metadata
- Download URL: pykon-0.1.0b1-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d3cac7b944aad4d1b82accf98ca8d77b27aa5815b471a5ef4f45226a1f0b482
|
|
| MD5 |
2582b1ba9f5647d26b34d0320c206d07
|
|
| BLAKE2b-256 |
18141f9b0bfcfe2a7df620704d5af3ab06a5f7a847f3246c71f3e23ee7e8928f
|