Skip to main content

frozenmap

frozenmap is MIT Licensed python library. It implements frozendict type (in C) and FrozenDict, FrozenMap classes (in Cython).

  • frozendict is read-only and hashable dictionary (C based).

  • FrozenMap is read-only mapping object wrapped around a mutable mapping object (Cython based).

  • FrozenDict is read-only and hashable dictionary (Cython based).

This library actually is an attempt to proof the concept of fast frozendict (C/Cython based).

Main repository for frozenmap is on bitbucket.

Quick start:

First load inventory:

>>> from frozenmap import frozendict, FrozenDict

Simple example:

>>> fd = frozendict(a=1,b=2,c=3)
>>> fd
frozendict({'a': 1, 'b': 2, 'c': 3})
>>> fd['a']
1
>>> fd['a'] = 10
........
TypeError: 'frozenmap._frozendict.frozendict' object does not support item assignment
>>> del fd['a']
.........
TypeError: 'frozenmap._frozendict.frozendict' object does not support item deletion
>>> fd.pop('a')
.........
AttributeError: 'frozenmap._frozendict.frozendict' object has no attribute 'pop'


>>> fd = FrozenDict(a=1,b=2,c=3)
>>> print(fp)
FrozenDict({'a': 1, 'b': 2, 'c': 3})
>>> fd['a']
1
>>> fd['a'] = 10
........
TypeError: 'frozenmap.frozendict.FrozenDict' object does not support item assignment
>>> del fd['a']
.........
TypeError: 'frozenmap.frozendict.FrozenDict' object does not support item deletion
>>> fd.pop('a')
.........
AttributeError: 'frozenmap.frozendict.FrozenDict' object has no attribute 'pop'

Changes:

** 0.6 **

  • Add C implementation for frozendict.

  • Add tests for frozendict type.

0.5 Initial version

Metadata

Release files for frozenmap 0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for frozenmap 0.6
File Size Uploaded Provenance
frozenmap-0.6.tar.gz 119.1 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for frozenmap 0.6
File
frozenmap-0.6-cp37-cp37m-macosx_10_9_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 Details
frozenmap-0.6-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
frozenmap-0.6-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details
frozenmap-0.6-cp36-cp36m-macosx_10_9_x86_64.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64 Details
frozenmap-0.6-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details
frozenmap-0.6-cp35-cp35m-win32.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-32 Details
frozenmap-0.6-cp35-cp35m-macosx_10_6_intel.whl CPython 3.5 CPython 3.5 pymalloc macOS 10.6+ Intel (x86-64, i386) Details
frozenmap-0.6-cp34-cp34m-win_amd64.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-64 Details
frozenmap-0.6-cp34-cp34m-win32.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-32 Details
frozenmap-0.6-cp34-cp34m-macosx_10_6_intel.whl CPython 3.4 CPython 3.4 pymalloc macOS 10.6+ Intel (x86-64, i386) Details
frozenmap-0.6-cp27-cp27m-win_amd64.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-64 Details
frozenmap-0.6-cp27-cp27m-win32.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-32 Details
frozenmap-0.6-cp27-cp27m-macosx_10_9_x86_64.whl CPython 2.7 CPython 2.7 pymalloc macOS 10.9+ x86-64 Details

Total release size: 1.3 MB

Release files / frozenmap-0.6.tar.gz

Download URL frozenmap-0.6.tar.gz
Size 119.1 kB
Tags Source
SHA-256 checksum
How to use checksums
05d50efc2ab7b7bf7cd399e30f17f309b7400d92581f3485b2ad99923c32d47a
BLAKE2b-256 checksum
How to use checksums
ae53df5465069214ba8a4916b8a0a9654037de0705c50aafe0db96b0fcec7b16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / frozenmap-0.6-cp37-cp37m-macosx_10_9_x86_64.whl

Download URL frozenmap-0.6-cp37-cp37m-macosx_10_9_x86_64.whl
Size 81.4 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
2fb6d84179a7bae1eadbbbee160de5c0fa0c82c4eba95a2939bff6893e888c4d
BLAKE2b-256 checksum
How to use checksums
3e2a456c80b99f433260578638fbfaa01b9fc10daa9d6caece2ce55cf77410d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / frozenmap-0.6-cp36-cp36m-win_amd64.whl

Download URL frozenmap-0.6-cp36-cp36m-win_amd64.whl
Size 87.7 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
1b30a5fd8bd8b1cfce0b3c5c87beef6b71949627317bae1a7040b0339377688b
BLAKE2b-256 checksum
How to use checksums
daea38313615ecd3baa643a3c530ad44ef040235044b92672292735052c50ec4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / frozenmap-0.6-cp36-cp36m-win32.whl

Download URL frozenmap-0.6-cp36-cp36m-win32.whl
Size 74.3 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
2498fedbbd1444a130a2bc6683871cd8e050ce29104828da8516ac9119f2f0da
BLAKE2b-256 checksum
How to use checksums
dc2fce0407dac26a0c52bb2d59b36b6f20bf0e6e10d53a323eff1b34478e402d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / frozenmap-0.6-cp36-cp36m-macosx_10_9_x86_64.whl

Download URL frozenmap-0.6-cp36-cp36m-macosx_10_9_x86_64.whl
Size 82.1 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
94db10b43cc11740f0e01eb6aba9c24e88658b27336d7180e78173bd44349ab1
BLAKE2b-256 checksum
How to use checksums
85cfa2a68c8d0041d79cd612ad14eca91f9b9c64c32655b46ae937f08d4b40e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / frozenmap-0.6-cp35-cp35m-win_amd64.whl

Download URL frozenmap-0.6-cp35-cp35m-win_amd64.whl
Size 86.8 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
8bd55fde7e0c15490fa1c58096a52f7dc8bcea23312fdf8325467ef7d5f8993b
BLAKE2b-256 checksum
How to use checksums
6220286f8f4f74cb692fe704be13341758cda3c911659c4751e1714e08ecfbd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / frozenmap-0.6-cp35-cp35m-win32.whl

Download URL frozenmap-0.6-cp35-cp35m-win32.whl
Size 73.1 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
13f975c5c31614bedb397681efaa69a2c5587d5928f118a6b9f1bb8a58549215
BLAKE2b-256 checksum
How to use checksums
49c3b8ea6e0a979687c384610ec2d503723c835da2bade943f2b787e79968d6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / frozenmap-0.6-cp35-cp35m-macosx_10_6_intel.whl

Download URL frozenmap-0.6-cp35-cp35m-macosx_10_6_intel.whl
Size 153.8 kB
Tags CPython 3.5 CPython 3.5 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
cd98521f029a6fe88fdbb08cf077bed3f133d826a6bc47f4d93d5caeb5960901
BLAKE2b-256 checksum
How to use checksums
1080406e61e3dc12ba0a38154a8ba8ab557e0b870ef6762dc0971ef183b83a94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / frozenmap-0.6-cp34-cp34m-win_amd64.whl

Download URL frozenmap-0.6-cp34-cp34m-win_amd64.whl
Size 80.5 kB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
c87b6064343c45960d0702de6aaeeae825d38bc1c64cc8c46f9d262aaf64c7de
BLAKE2b-256 checksum
How to use checksums
6449c401b5fc239dbe09bf3853cec29a2aaf1402ca4bca2e244a68d59b3b9bf3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / frozenmap-0.6-cp34-cp34m-win32.whl

Download URL frozenmap-0.6-cp34-cp34m-win32.whl
Size 70.1 kB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
8e28fd262f90e2373bd9f4aa6cb13fc1c2f661ac94951dda5fb15cb4c0dcb7b5
BLAKE2b-256 checksum
How to use checksums
4e82f4a3fa5978bed31a2d554183c50e6680a8a432339e1149fdc0342e74522a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / frozenmap-0.6-cp34-cp34m-macosx_10_6_intel.whl

Download URL frozenmap-0.6-cp34-cp34m-macosx_10_6_intel.whl
Size 154.6 kB
Tags CPython 3.4 CPython 3.4 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
179719a7803c32b3fd29b00e898456f42d3bde6d95123217064796570a7f90c7
BLAKE2b-256 checksum
How to use checksums
8f88e8b8752964291a538f28fde0973d8d5e8bf9d0f77bc491e77c23743fa8d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / frozenmap-0.6-cp27-cp27m-win_amd64.whl

Download URL frozenmap-0.6-cp27-cp27m-win_amd64.whl
Size 79.6 kB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
b5001446a8719632f9fb7aa340a2df4acc356a57717be33bae7e9d0d247b2edf
BLAKE2b-256 checksum
How to use checksums
6d0d5be9f8e4d9a50887d14928f5c04f2266529ce5d2a1ecf9bcdaee4d0b1388
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / frozenmap-0.6-cp27-cp27m-win32.whl

Download URL frozenmap-0.6-cp27-cp27m-win32.whl
Size 69.8 kB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
6608b7ed4d3065d702bfc651617920716e372d15a205ef2f1460b6260e8fe595
BLAKE2b-256 checksum
How to use checksums
61188276ebc0efb8ca57fff34eafcdde600dae7ae222d8c8a6e788d5519816ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / frozenmap-0.6-cp27-cp27m-macosx_10_9_x86_64.whl

Download URL frozenmap-0.6-cp27-cp27m-macosx_10_9_x86_64.whl
Size 82.4 kB
Tags CPython 2.7 CPython 2.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
851c0b102cc59d0902507688ae81506ddfbc2f4039719df0043e514c7c800e56
BLAKE2b-256 checksum
How to use checksums
b4a1440dcd3fed19e2166592780ed0d43127a1eeb4321cbdc16f9ed064259b0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Security for frozenmap 0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page