izulu
The exceptional library
Decision gist · record as of 2026-08-14
Yes. izulu is actively maintained, has no dependencies, installs easily, and solves a real problem—centralizing exception message templates and structuring exception data. It's particularly valuable in codebases with many custom exceptions or where exception attributes need to be accessed programmatically. The permissive license and stable API make it safe for production use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or higher; earlier Python versions must install izulu[compatibility].
- Low friction: pure Python wheel with no runtime dependencies.
- Active maintenance with recent commits and stable release cadence since initial release.
License · maintenance · safety
permissive license (permissive) — Permissive license (MIT) allows use in commercial and proprietary projects with minimal restrictions.
last release 2026-02-10 (185 days) · last repo commit 2026-03-12 · 19 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 662,319 downloads/mo, #5,438 on PyPI
Alternatives
Verify before relying
pip install izulu
from izulu.root import Error
class ValidationError(Error):
__template__ = "Data is invalid: {reason}"
raise ValidationError(reason="no data")- Whether template field validation or type checking occurs at exception instantiation time
- Performance characteristics when raising many exception instances in tight loops
- Compatibility with exception chaining and traceback preservation across Python versions
What it is and what it does
izulu is a library for defining exception classes with template-based message formatting and typed instance attributes. Instead of manually constructing error messages with string formatting scattered throughout your code, you define an exception class once with a `__template__` attribute and provide only the variable data as keyword arguments when raising it. The library automatically populates annotated instance attributes from those kwargs, allowing you to access structured error data programmatically rather than parsing strings.
The package targets developers who want to centralize exception message logic and treat exceptions as first-class data objects with fields. It supports class-level defaults, instance-level defaults (both static and dynamic via a `factory` helper), and inheritance hierarchies for exception specialization. With no runtime dependencies and support for modern Python versions, it integrates into existing projects with minimal friction.
Use it for
- Validation error hierarchies where different validation failures need distinct messages and carry specific context.
- API error responses where you want to serialize exception attributes into JSON without parsing the message string.
- Logging systems where structured exception data should be captured as attributes, not extracted from text.
- Domain-specific exception frameworks where each error type has a fixed message template but variable context parameters.
- Testing and debugging where you need to inspect exception state programmatically rather than relying on string matching.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
izulu is actively maintained, has no dependencies, installs easily, and solves a real problem—centralizing exception message templates and structuring exception data. It's particularly valuable in codebases with many custom exceptions or where exception attributes need to be accessed programmatically. The permissive license and stable API make it safe for production use.
Install
izulu on PyPI
Before you install
Low friction: pure Python wheel with no runtime dependencies. Active maintenance with recent commits and stable release cadence since initial release.
Requires Python 3.9 or higher; earlier Python versions must install izulu[compatibility].
License in practice
Permissive license (MIT) allows use in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install izulu
from izulu.root import Error
class ValidationError(Error):
__template__ = "Data is invalid: {reason}"
raise ValidationError(reason="no data")
Verify before relying
- Whether template field validation or type checking occurs at exception instantiation time
- Performance characteristics when raising many exception instances in tight loops
- Compatibility with exception chaining and traceback preservation across Python versions
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 185 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 662,319 / month, #5,438 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed |
Evidence: izulu-0.75.0-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 › “exception class templates”
- izuluizulu provides a template-based, object-oriented approach to defining…
- msgfyConverts Python Exception instances into formatted, human-readable…
- essentialsEssentials provides reusable core classes and utility functions for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries 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.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also overrides · Mako · retry2 · Jinja2 · wirerope · flake8-plugin-utils · zope.pagetemplate · msgfy · pyobjc-framework-ExceptionHandling · zope.schema