runtype 0.5.3-1
Package Information
| Description | collection of run-time type utilities for Python - Provides a smarter alternative to "isinstance" and "issubclass", with support for the "typing" module, and type constraints. - Adds run-time type validation to the built-in dataclass. - Improves dataclass ergonomics. - Supports most mypy constructs, like "typing" and forward-references ("foo: 'Bar'"). - Supports automatic value casting, Pydantic-style. (Optional, off by default) - Supports types with constraints. (e.g. "String(max_length=10)") - Supports optional sampling for faster validation of big lists and dicts. - Twice faster than Pydantic-v1 with pure Python - Provides fast multiple-dispatch for functions and methods, via a decorator. - Dispatch on multiple arguments - Full specificity resolution - Supports mypy, by utilizing the "@overload" decorator - Inspired by Julia. - Provides a set of classes to implement your own type-system. - Supports generics, constraints, phantom types - Used by runtype itself, to emulate the Python type-system. |
|---|---|
| Maintainer | Debian Python Team <team+python@tracker.debian.org> |
| Changed By | Dima Kogan <dkogan@debian.org> |
| Sponsor | dkogan@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/python-team/packages/runtype.git (browse) |
| Closes | #1152133 |
| Tracker | https://tracker.debian.org/pkg/runtype |
| Uploaded | 4 hours ago |
New Package Report
.changes
| Architecture | source all |
|---|---|
| Distribution | unstable |
| Date | Sun, 25 Oct 2026 15:46:44 -0700 |
| Source | runtype |
| Version | 0.5.3-1 |
| Changed-By | Dima Kogan <dkogan@debian.org> |
Changelog
runtype (0.5.3-1) unstable; urgency=medium . * New upstream release (Closes: #1152133)
.dsc
| Package-List | python3-runtype deb python optional arch=all |
|---|---|
| Section | python |
| Priority | optional |
| Component | main |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: https://github.com/erezsh/runtype Upstream-Contact: Erez Shinan <erezshin@gmail.com> Upstream-Name: runtype Files: * Copyright: 2020, Erez Shinan <erezshin@gmail.com> License: MIT License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.