Skip to main content

A module allowing for constant and publicly immutable data.

Project description

Pykon

| 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


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.0a3.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pykon-0.1.0a3-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file pykon-0.1.0a3.tar.gz.

File metadata

  • Download URL: pykon-0.1.0a3.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for pykon-0.1.0a3.tar.gz
Algorithm Hash digest
SHA256 489ff2fbe70a0f3f44f53e5babddd19c07c9560a5ebbbc5204eee1dbe0606d2a
MD5 d8fcbce7e08f50a17b4fb060d340dea0
BLAKE2b-256 d85ca97fd7483ef8e34379acba8e6816b2563809df6296e93839d6dda84b9cbe

See more details on using hashes here.

File details

Details for the file pykon-0.1.0a3-py3-none-any.whl.

File metadata

  • Download URL: pykon-0.1.0a3-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for pykon-0.1.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 8735f811c77c28148dc77e54f637c9bd051576252c72656ccc700be06747098c
MD5 c72aa4a3e4587cba135204a888a3dee7
BLAKE2b-256 1164a2b323a1a713ed47b268d988c27885c22f7a839a4201d33f4e30a20f45b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page