Source: runtype
Section: python
Priority: optional
Build-Depends: debhelper-compat (= 14), dh-python,
               python3-setuptools,
               python3,
               mypy
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Uploaders: Dima Kogan <dkogan@debian.org>
Standards-Version: 4.6.1
Homepage: https://github.com/erezsh/runtype
Vcs-Git: https://salsa.debian.org/python-team/packages/runtype.git
Vcs-Browser: https://salsa.debian.org/python-team/packages/runtype

Package: python3-runtype
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Provides: ${python3:Provides}
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.
