Registry / type-stubs / types-frozendict

types-frozendict

JSON →
library2.0.9pypypiunverified

Typing stubs for the frozendict library, providing type hints for frozen dictionaries. Currently version 2.0.9, maintained as part of the typeshed project with updates aligned to Python and frozendict releases.

pip install types-frozendict
INSTALL
IMPORT
SIG · TYPES-FROZENDICT
T
types-frozendict
type-stubspythonv2.0.9
Install
1.6s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.0.9 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.8MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.6s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

frozendict
from frozendict-stubs import frozendict
from frozendict import frozendict

Basic usage of frozendict and type hints provided by types-frozendict.

from frozendict import frozendict # Create a frozen dict fd = frozendict({"key": "value"}) print(fd["key"]) # Output: value # Type hint example def process(d: frozendict[str, int]) -> None: for k, v in d.items(): print(k, v) process(frozendict({"a": 1, "b": 2}))
Debug
Known issues
deprecatedtypes-frozendict is part of typeshed and may be deprecated in favor of inline types if the frozendict project adds its own types.
fix
Monitor frozendict releases; if inline types are added, remove types-frozendict dependency and use frozendict directly.
affects: 2.0.x
gotchaThe stubs only cover frozendict's public API. Custom subclasses or advanced features may not be typed.
fix
Add custom type stubs if using advanced features not covered by types-frozendict.
affects: all
gotchafrozendict is hashable only if all its values are hashable. The stubs do not enforce this at type-check time.
fix
Use mypy or pyright with custom checks if needed, or ensure values are hashable at runtime.
affects: all
Upgrade
Version history
2.0.9latest on PyPI · released Jun 9, 2022
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
28
OpenAI (training)
1
Resources
types-frozendict — pip install types-frozendict · libregistry