Skip to main content

Tomul

Tomul is a small python library for reading and writing TOML files.

Why?

Tomli-W is the mainstream way of writing TOML in Python. This module is derived from it, and I am grateful for the original.

I think that the rationale presented by Tomli-W for not defaulting to multiline strings is erroneous: a '\r' character can just as easily be emitted by the multiline renderer. This module does that, and simplifies some other aspects of the implementation. It also changes the indent default to two spaces and the line wrap to 128 chars, which is unconventional but my preference.

Additionally, I am trying to minimize my third party dependencies given the rise in software supply chain attacks. Since TOML output is a required part of the development process for this project it made sense to eliminate a dependency here.

Metadata

Release files for tomul 0.0.0

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

Source distribution (sdist)

Source distribution for tomul 0.0.0
File Size Uploaded Provenance Actions
tomul-0.0.0.tar.gz 40.2 kB Without provenance Details for tomul-0.0.0.tar.gz

Release files / tomul-0.0.0.tar.gz

Download URL tomul-0.0.0.tar.gz
Size 40.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d650eca1837de36cb5956deacfd415490bb66df07b347bcb737fb674431b1a61
BLAKE2b-256 checksum
How to use checksums
3bcdd797bac670c921080881fcb96a5f14e31a2377f659d4ec728b66d78827d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for tomul 0.0.0

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.

Release history Release notifications | RSS feed

This release

0.0.0 This release

1 release file No provenance

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