Skip to main content

Read only lists!

Project description

read-only-lists

Minimalist semantic alias for read-only lists:

from readonlylists import ReadOnlyList

x = ReadOnlyList([1, 2, 3])
print(x)         # (1, 2, 3)
x[0] = 42        # ❌ TypeError

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

read_only_lists-0.0.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

read_only_lists-0.0.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file read_only_lists-0.0.0.tar.gz.

File metadata

  • Download URL: read_only_lists-0.0.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for read_only_lists-0.0.0.tar.gz
Algorithm Hash digest
SHA256 b13ed93e1ae875e7d08afa2194d4ed4add433215612652edce925d533e2fb4fb
MD5 e248d7089372d9cb6baa95b44c5ffc33
BLAKE2b-256 44caeff70ea134ce72081413aa0d95974ea04d14d30211b9d376ff86da225eb7

See more details on using hashes here.

File details

Details for the file read_only_lists-0.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for read_only_lists-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f7bd1d3f340f781be8ae3e5877a7ded1ece584e3eaa69347dd0e712c88e4a818
MD5 72f214aa60f6d46b5d668500ef1c5405
BLAKE2b-256 72fc75e9e93d3eabc70e2c95e467098be5663d2ddd7eda0bf35004f054726d6d

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