Rutyva - Runtime Type Validation for Python
Rutyva is a python library that enforces static typing at runtime using the type annotations of dataclasses.
It also allows dict parsing into classes, even with nested class objects (compositions).
Installation
Python version 3.9 or higher is required.
$ pip install rutyva
How to
At the moment, the classes need to be inherited from the BaseModel class, and need to be dataclasses, to have its type annotations enforced.
Metadata
Release files for rutyva 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rutyva-0.1.0.tar.gz | 4.8 kB | Without provenance | Details for rutyva-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rutyva-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for rutyva-0.1.0-py3-none-any.whl |
Total release size: 10.6 kB
Release files / rutyva-0.1.0.tar.gz
| Download URL | rutyva-0.1.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bbf93aaba26ab0f45213aeaa008e24cb51ad0493780361e16fa8bc232291c55d
|
|
BLAKE2b-256 checksum How to use checksums |
c37d487196e6ae9d7309fdaa000c7f9580f14d3581d1efd4414c6862840ccc5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Release files / rutyva-0.1.0-py3-none-any.whl
| Download URL | rutyva-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a7867d5e35e67d78f14121310932fae6b0e218b5ce507959a213031873ca687
|
|
BLAKE2b-256 checksum How to use checksums |
9b3d1281292d044c8eff855fe1ddfce06e6c118703a0ddddfab101389e475dd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Security for rutyva 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.