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.1.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.1-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rutyva-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 352cd4d74d569ccad8f16a2608e863d5349ace0874c02eed42b52d9db66020c4
MD5 818fd40567fdc181407f09964dd7217c
BLAKE2b-256 3f1d083accad40bf257a5add7b3e9f6e9e4a02bcc18178939c38bfb80c0cee7b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rutyva-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4e98c14ce1b594d1f674a98a97bd0ee79f7fd9c74c018c5da1fd950d1b9e771a
MD5 794395f57da177927e13e77e26b5d572
BLAKE2b-256 ee7e4d6871aba6ec1b2b9948742fc4eaf7ff3da2f5c79289c6dc391281609271

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