itypes
Simple immutable types for python.
Decision gist · record as of 2026-08-14
No. The package is abandoned (last commit 2020-04-19, repository archived) with no active maintenance or security updates. While it has low install friction and permissive licensing, the lack of maintenance means it will not receive bug fixes or compatibility updates for modern Python versions. For immutable containers, consider actively maintained alternatives.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is straightforward with no runtime dependencies.
- However, the package is abandoned—last updated in April 2020, over 2308 days ago, with the repository archived.
- No active maintenance or security updates are being provided.
License · maintenance · safety
BSD (permissive) — Licensed under BSD (permissive), which allows use in most projects without restriction. No notable licensing constraints for adoption.
last release 2020-04-19 (2308 days) · last repo commit 2020-04-19 · 19 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,659,324 downloads/mo, #3,676 on PyPI
Alternatives
Verify before relying
pip install itypes
import itypes
d = itypes.Dict({'a': 1, 'b': 2})
l = itypes.List(['x', 'y', 'z'])
d2 = d.set('c', 3) # returns new Dict, original unchanged- Whether the package works reliably on Python versions released after 2020
- Whether nested immutability coercion handles all edge cases in modern Python
- Performance characteristics compared to alternatives for large data structures
What it is and what it does
itypes provides immutable versions of Python's dict and list that prevent accidental modification and automatically convert nested mutable structures to immutable equivalents. When you call methods like `set()` or `delete()`, they return new copies rather than modifying in place; direct assignment or deletion raises a TypeError. The package also supports nested lookups and updates via `get_in()`, `set_in()`, and `delete_in()` methods, and objects are hashable so they can be used as dictionary keys or in sets.
The library is designed for simplicity and code clarity rather than performance—it trades speed for readability in scenarios where immutability helps prevent bugs or makes intent clearer. You can subclass `itypes.Dict` or `itypes.Object` to create custom immutable types with restricted interfaces, using private attributes and `@property` decorators for controlled access.
Use it for
- Store configuration data that should not be accidentally modified during program execution
- Use immutable dicts as dictionary keys or in sets where hashability is required
- Create custom immutable domain objects by subclassing itypes.Object with property-based access
- Enforce immutability in nested data structures where both top-level and inner collections must be read-only
- Simplify reasoning about data flow in codebases where immutability prevents side effects
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last commit 2020-04-19, repository archived) with no active maintenance or security updates. While it has low install friction and permissive licensing, the lack of maintenance means it will not receive bug fixes or compatibility updates for modern Python versions. For immutable containers, consider actively maintained alternatives.
Install
itypes on PyPI
Before you install
Installation is straightforward with no runtime dependencies. However, the package is abandoned—last updated in April 2020, over 2308 days ago, with the repository archived. No active maintenance or security updates are being provided.
License in practice
Licensed under BSD (permissive), which allows use in most projects without restriction. No notable licensing constraints for adoption.
Quickstart
pip install itypes
import itypes
d = itypes.Dict({'a': 1, 'b': 2})
l = itypes.List(['x', 'y', 'z'])
d2 = d.set('c', 3) # returns new Dict, original unchanged
Verify before relying
- Whether the package works reliably on Python versions released after 2020
- Whether nested immutability coercion handles all edge cases in modern Python
- Performance characteristics compared to alternatives for large data structures
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,308 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 1,659,324 / month, #3,676 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Topic :: Internet :: WWW/HTTP |
Evidence: itypes-1.2.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “immutable dict and list”
- itypesProvides immutable container types (Dict and List) for Python that…
- pyrsistentPyrsistent provides immutable, persistent data structures (vectors,…
- constantdictProvides an immutable dictionary class that wraps Python's built-in…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also constantdict · ml-collections · optionaldict · pyrsistent · frozendict · immutabledict · rpds-py · immutables · lenses · sumtypes