Skip to main content

Runtime Dataclass Enforcer

from rtdce import enforce 

from dataclasses import dataclass
from typing import Dict

@dataclass
class Test:
    hello: Dict[str, int]

t = Test(hello={'world': 123})

enforce(t)

Metadata

Release files for rtdce 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rtdce 1.0.1
File Size Uploaded Provenance
rtdce-1.0.1.tar.gz 14.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for rtdce 1.0.1
File Interpreter ABI Platform
rtdce-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 29.8 kB

Release files / rtdce-1.0.1.tar.gz

Download URL rtdce-1.0.1.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
beb442c46fb08fa7c5bc07750b4b1c738247c1a3ca331bd8ff7afbc930a192a6
BLAKE2b-256 checksum
How to use checksums
1082e81e9c86c4aaa402b11964762caa375904c979f2a343e29a5cd72780c7c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.4

Release files / rtdce-1.0.1-py3-none-any.whl

Download URL rtdce-1.0.1-py3-none-any.whl
Size 14.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43d00dcee73430ad682693b24bf2f3ca1ec7acbf68b8d83b076cb43cb0c811ae
BLAKE2b-256 checksum
How to use checksums
c22139b963e3316efa4581ce3a273a44d9d05892cbf2cd622296a2e3fefae205
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.4

Security for rtdce 1.0.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page