Skip to main content

tdx: small tools for working with datatypes, data, and exceptions

In collections.py there are some tools for working with lists, sets, dicts, and iterables more declaratively.

In data.py there are some functiions to more concisely read and write yaml in the most common use cases.

In exceptions.py there are some error handling tools. They are all callback-oriented, so not necessarily user-friendly; mostly they are intended for use in decorators.py.

In decorators.py there are some general decorator tools, in particular one to wrap a function in a debugger call on error and one to attach context to exception messages. There’s also a wraptify function that will convert decorators that use functools.wraps (and therefore clobber a lot of metadata from the target) into decorators which preserve metadata using wrapt.decorator.

In validation.py there are some general validation checks that seem to come in handy in lots of contexts. For example, making sure that a dict has all of a set of required keys, and all other keys are part of some optional set.

Metadata

Release files for tdx 0.1.7

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

Source distribution (sdist)

Source distribution for tdx 0.1.7
File Size Uploaded Provenance Actions
tdx-0.1.7.tar.gz 14.7 kB Without provenance Details for tdx-0.1.7.tar.gz

Release files / tdx-0.1.7.tar.gz

Download URL tdx-0.1.7.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cd3f7e9ead865ec019e516c3613f5730817ecaccce2839dbf8ea7e5d09fdd267
BLAKE2b-256 checksum
How to use checksums
f733bf01f44a89fcccf3d9d1ce2a06a79de2f2e0830c16bc5e730d29334a0901
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for tdx 0.1.7

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