Skip to main content

Dfiance: Partial Serialization and Validation for Python

Dfiance is a tool for building serializers, deserializers, and validators for python types.

Dfiance does not fully serialize things, because you deserve control over the format of the data you pass around. Instead, it serializes python objects into ‘dictified’ objects, which are either basic types - strings, ints, floats, and bools - or lists/dictionaries whose keys and values are all dictified objects.

The resulting objects are trivially serializable in JSON, YAML, XML, or pretty much any other serialization protocol you like.

At the moment the majority of the documentation is embedded in the code. You can browse it on github at <https://github.com/dplepage/dfiance>.

Metadata

Release files for dfiance 0.1.3

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

Source distribution (sdist)

Source distribution for dfiance 0.1.3
File Size Uploaded Provenance Actions
dfiance-0.1.3.tar.gz 16.9 kB Without provenance Details for dfiance-0.1.3.tar.gz

Release files / dfiance-0.1.3.tar.gz

Download URL dfiance-0.1.3.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fe5ffa2325b21aa7ba60bb85e9224472fde1d91ffe0498895c9d25e61b55812b
BLAKE2b-256 checksum
How to use checksums
90bc64445704074c6d378839b150c2645f520730a5ec9cb18da0106f84b5f06a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for dfiance 0.1.3

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