Skip to main content

A Python library to enforce static typing at runtime

Project description

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).

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rutyva-0.0.2.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rutyva-0.0.2-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file rutyva-0.0.2.tar.gz.

File metadata

  • Download URL: rutyva-0.0.2.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for rutyva-0.0.2.tar.gz
Algorithm Hash digest
SHA256 272a7cd0bde2f0c025c49ddcbe2a32ed23b04a6ed9fbf1674cec681592720623
MD5 53792881d60c6300cc5cdca520e5d00b
BLAKE2b-256 34c184a11cda22448dffaf7f6328082948787db145a181e5b77c3bfc26b95200

See more details on using hashes here.

File details

Details for the file rutyva-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: rutyva-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for rutyva-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ebf20fa686e17600360236c4c7d9270e54fb733edb51baddf55b4100596619ea
MD5 fa12e8111cee365eb42a94962f79d5c4
BLAKE2b-256 7751a63e1d04314a4b069055e86127663621c66e5ea2a626590b13f62e4100e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page