frozentype is MIT Licensed python library. It implements some frozen python types: 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 frozentype is on bitbucket.
Quick start:
First load inventory:
>>> from frozentype 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: 'frozentype._frozendict.frozendict' object does not support item assignment
>>> del fd['a']
.........
TypeError: 'frozentype._frozendict.frozendict' object does not support item deletion
>>> fd.pop('a')
.........
AttributeError: 'frozentype._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: 'frozentype.frozendict.FrozenDict' object does not support item assignment
>>> del fd['a']
.........
TypeError: 'frozentype.frozendict.FrozenDict' object does not support item deletion
>>> fd.pop('a')
.........
AttributeError: 'frozentype.frozendict.FrozenDict' object has no attribute 'pop'
Changes:
** 0.6.0.1 ** (technical version to convince pypi to upload project with fixed title in README)
** 0.6 ** (migrate from project intellimath/frozenmap)
Add C implementation for frozendict.
Add tests for frozendict type.
0.5 Initial version
Metadata
Release files for frozentype 0.6.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| frozentype-0.6.0.1.tar.gz | 123.6 kB | Without provenance | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| frozentype-0.6.0.1-cp37-cp37m-win_amd64.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-64 | Details |
| frozentype-0.6.0.1-cp37-cp37m-win32.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-32 | Details |
| frozentype-0.6.0.1-cp37-cp37m-macosx_10_9_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | macOS 10.9+ x86-64 | Details |
| frozentype-0.6.0.1-cp36-cp36m-win_amd64.whl | CPython 3.6 | CPython 3.6 pymalloc | Windows x86-64 | Details |
| frozentype-0.6.0.1-cp36-cp36m-win32.whl | CPython 3.6 | CPython 3.6 pymalloc | Windows x86-32 | Details |
| frozentype-0.6.0.1-cp36-cp36m-macosx_10_9_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | macOS 10.9+ x86-64 | Details |
| frozentype-0.6.0.1-cp35-cp35m-win_amd64.whl | CPython 3.5 | CPython 3.5 pymalloc | Windows x86-64 | Details |
| frozentype-0.6.0.1-cp35-cp35m-win32.whl | CPython 3.5 | CPython 3.5 pymalloc | Windows x86-32 | Details |
| frozentype-0.6.0.1-cp35-cp35m-macosx_10_6_intel.whl | CPython 3.5 | CPython 3.5 pymalloc | macOS 10.6+ Intel (x86-64, i386) | Details |
| frozentype-0.6.0.1-cp34-cp34m-win_amd64.whl | CPython 3.4 | CPython 3.4 pymalloc | Windows x86-64 | Details |
| frozentype-0.6.0.1-cp34-cp34m-win32.whl | CPython 3.4 | CPython 3.4 pymalloc | Windows x86-32 | Details |
| frozentype-0.6.0.1-cp34-cp34m-macosx_10_6_intel.whl | CPython 3.4 | CPython 3.4 pymalloc | macOS 10.6+ Intel (x86-64, i386) | Details |
| frozentype-0.6.0.1-cp27-cp27m-win_amd64.whl | CPython 2.7 | CPython 2.7 pymalloc | Windows x86-64 | Details |
| frozentype-0.6.0.1-cp27-cp27m-win32.whl | CPython 2.7 | CPython 2.7 pymalloc | Windows x86-32 | Details |
| frozentype-0.6.0.1-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.5 MB
Release files / frozentype-0.6.0.1.tar.gz
| Download URL | frozentype-0.6.0.1.tar.gz |
|---|---|
| Size | 123.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58aedda8914116cfa4ff3ed0f664276df0ebee05d5e5d3949371a989cc8d8fe5
|
|
BLAKE2b-256 checksum How to use checksums |
d9c6f65f8cf7c04648b9542cca804e299d58ad4ad40daa08416051890f6419ce
|
| 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 / frozentype-0.6.0.1-cp37-cp37m-win_amd64.whl
| Download URL | frozentype-0.6.0.1-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 87.7 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
19aec19115dbd79261dd743cfec3c4d6911e988d507b3eeed1d4ef1517aab56c
|
|
BLAKE2b-256 checksum How to use checksums |
66f0c7f255f828acb19d371c3da3e2d6575a0b7bfd7a2389519367d355bdfa85
|
| 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 / frozentype-0.6.0.1-cp37-cp37m-win32.whl
| Download URL | frozentype-0.6.0.1-cp37-cp37m-win32.whl |
|---|---|
| Size | 74.3 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
eb466c8cf9b598ec7c298dde55b6e7cf00551e00b483aa59a06f04e93dc53c80
|
|
BLAKE2b-256 checksum How to use checksums |
29b80c6d9b221b826382f42067d6b5db4861c37452f73656e2896a388403d5ef
|
| 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 / frozentype-0.6.0.1-cp37-cp37m-macosx_10_9_x86_64.whl
| Download URL | frozentype-0.6.0.1-cp37-cp37m-macosx_10_9_x86_64.whl |
|---|---|
| Size | 85.9 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
0719e57f9e252279f39fb019ffad8240a592b5c54106338e10b9736ef9d161b9
|
|
BLAKE2b-256 checksum How to use checksums |
5e37ee81354b48d0cac8079a612ed66c03a7075b427726af21b4e8deac292a3e
|
| 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 / frozentype-0.6.0.1-cp36-cp36m-win_amd64.whl
| Download URL | frozentype-0.6.0.1-cp36-cp36m-win_amd64.whl |
|---|---|
| Size | 87.9 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8bf7fd7a4fb17d9d69ceb3946ec515cb0f6414a196d76cab452a7ef3f296c882
|
|
BLAKE2b-256 checksum How to use checksums |
798e16b31667e5877ea9a5e667810020e73243979756d76a3f86e2aaf345e7fc
|
| 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 / frozentype-0.6.0.1-cp36-cp36m-win32.whl
| Download URL | frozentype-0.6.0.1-cp36-cp36m-win32.whl |
|---|---|
| Size | 74.4 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
54a45a34f79e214c400c2401f647a0286a34d590a19ac0658e637c6af65a23d2
|
|
BLAKE2b-256 checksum How to use checksums |
5c926b116678215267c28ae1fd9acc11b5a34ab6b130ddb01cb104ece3ae574b
|
| 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 / frozentype-0.6.0.1-cp36-cp36m-macosx_10_9_x86_64.whl
| Download URL | frozentype-0.6.0.1-cp36-cp36m-macosx_10_9_x86_64.whl |
|---|---|
| Size | 86.4 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
e6da87038a908c5abe8c5e8f12382f49660f9cbf1d3be2f390d1b3fcf575ea07
|
|
BLAKE2b-256 checksum How to use checksums |
458ab1c7f3b037e15f3581aa053042c937dec47381843884c6c809cc58beb1dc
|
| 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 / frozentype-0.6.0.1-cp35-cp35m-win_amd64.whl
| Download URL | frozentype-0.6.0.1-cp35-cp35m-win_amd64.whl |
|---|---|
| Size | 86.9 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
596a0aa8bc79e8db1aefdb7b91c78ef11d0468c5f3ea7454266929b56c0370d1
|
|
BLAKE2b-256 checksum How to use checksums |
63ae98a0290d504fe73b802e8e0e6dbff4ae11fd00e7af714917183acc5a5028
|
| 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 / frozentype-0.6.0.1-cp35-cp35m-win32.whl
| Download URL | frozentype-0.6.0.1-cp35-cp35m-win32.whl |
|---|---|
| Size | 73.3 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
3e5920af056c5e8b556963ebed2bbc7f0d71ae464af2820d304fb8666eecc227
|
|
BLAKE2b-256 checksum How to use checksums |
39f267253a2ab7ccdc0580f9588600903df414b7b9f5938dfa0aad5eada2395d
|
| 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 / frozentype-0.6.0.1-cp35-cp35m-macosx_10_6_intel.whl
| Download URL | frozentype-0.6.0.1-cp35-cp35m-macosx_10_6_intel.whl |
|---|---|
| Size | 160.1 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc macOS 10.6+ Intel (x86-64, i386) |
|
SHA-256 checksum How to use checksums |
8fd56cdf7a02d800de2f8f3758c29f782b40247746d3dc21176427fec4534182
|
|
BLAKE2b-256 checksum How to use checksums |
7b7aef755f9c3c15b1ff02580c6b8ca4f171c72058f382a187b5e47bf37749f9
|
| 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 / frozentype-0.6.0.1-cp34-cp34m-win_amd64.whl
| Download URL | frozentype-0.6.0.1-cp34-cp34m-win_amd64.whl |
|---|---|
| Size | 80.7 kB |
| Tags | CPython 3.4 CPython 3.4 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
62f29efb8d492e810bef8c4a40f8a63f9b15e3eeea17a3585db4c1b421820be5
|
|
BLAKE2b-256 checksum How to use checksums |
c9c89ee0912e8529642aad44195ef1ac97138ac58ddbe7fa704db73c2be696f0
|
| 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 / frozentype-0.6.0.1-cp34-cp34m-win32.whl
| Download URL | frozentype-0.6.0.1-cp34-cp34m-win32.whl |
|---|---|
| Size | 70.3 kB |
| Tags | CPython 3.4 CPython 3.4 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
67d0c5c6ebbe1ec23928743ff7ee70585f77c98669dad4ef347a5422076f5ed5
|
|
BLAKE2b-256 checksum How to use checksums |
d19cb6e18e6f01fbd24d7aed19a19b6ed4491be75b6dc7ce912402a03a81e11f
|
| 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 / frozentype-0.6.0.1-cp34-cp34m-macosx_10_6_intel.whl
| Download URL | frozentype-0.6.0.1-cp34-cp34m-macosx_10_6_intel.whl |
|---|---|
| Size | 158.7 kB |
| Tags | CPython 3.4 CPython 3.4 pymalloc macOS 10.6+ Intel (x86-64, i386) |
|
SHA-256 checksum How to use checksums |
459555bc45bea1b2fd711998b538b1a1fb65472ed073ab51754a9becddede0f9
|
|
BLAKE2b-256 checksum How to use checksums |
67caa148f1eaa436ed0607c12badeab81302a2694b91af96c7e8b079e4f222c1
|
| 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 / frozentype-0.6.0.1-cp27-cp27m-win_amd64.whl
| Download URL | frozentype-0.6.0.1-cp27-cp27m-win_amd64.whl |
|---|---|
| Size | 79.8 kB |
| Tags | CPython 2.7 CPython 2.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6602fe437b85ef19b9c64483a701a9980a9fa6b2b5a3cf34e2d6c210b50767a1
|
|
BLAKE2b-256 checksum How to use checksums |
4d54b7212a2c577ec2e31d09f7f46f3aac5de3c7efacce649d117fdb8930c0bd
|
| 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 / frozentype-0.6.0.1-cp27-cp27m-win32.whl
| Download URL | frozentype-0.6.0.1-cp27-cp27m-win32.whl |
|---|---|
| Size | 69.9 kB |
| Tags | CPython 2.7 CPython 2.7 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
a77c5a7309995d54c41b56db732a5497088ab787eb2433db6c8e2ed5b3ca8fe7
|
|
BLAKE2b-256 checksum How to use checksums |
ac720a3ed6e87114dc71ab649e0778e76acf536a8b159b39840f1b5cadc7bf70
|
| 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 / frozentype-0.6.0.1-cp27-cp27m-macosx_10_9_x86_64.whl
| Download URL | frozentype-0.6.0.1-cp27-cp27m-macosx_10_9_x86_64.whl |
|---|---|
| Size | 84.9 kB |
| Tags | CPython 2.7 CPython 2.7 pymalloc macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
6af79018a4bce4ca3c0432854a8bbdec221afe28c34966b426b4d0f79ed6f113
|
|
BLAKE2b-256 checksum How to use checksums |
054cd786d6081aa1eb5bd63efcdd3b4e79e0f99ab18c9efa6430e577d299b2a8
|
| 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 frozentype 0.6.0.1
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.