Skip to main content

TOML_file

TOML file reader - python module to read/write toml configuration files

  • Files can be loaded and saved completed with comments and formating
  • Configuration files can be templated and values validated on load or value changes

Two interfaces:

Simple dictionaries {key: value} - data dictionary with nested dictionary with {key: value} - template dictionary with comments/type information - template allows type, min/max and other validators to be set and stores comments - use load/save functions to open/save to file. - use loads/dumps functions to load/convert to string

Config object interface: - allows seamless use of template/data via custom dictlike interface - use cfg = Config(filename) to open - access subtables/keys via exteneded key indexing e.g. cfg['Table1.subtable.key'] = 1 - if a template has been set any value will be validated when it is set. - if a template has been set any missing values will return the defualt and be created. - use cfg.save(filename) to save

Metadata

Release files for toml-file 1.0.9.2

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

Source distribution (sdist)

Source distribution for toml-file 1.0.9.2
File Size Uploaded Provenance Actions
toml_file-1.0.9.2.tar.gz 22.0 kB Without provenance Details for toml_file-1.0.9.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for toml-file 1.0.9.2
File Interpreter ABI Platform Actions
toml_file-1.0.9.2-py3-none-any.whl Python 3 none any Details for toml_file-1.0.9.2-py3-none-any.whl

Total release size: 44.8 kB

Release files / toml_file-1.0.9.2.tar.gz

Download URL toml_file-1.0.9.2.tar.gz
Size 22.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bcd3ebb9d1d871d4c67d9ce46af9a78fdf1dd6d5beab431b71162340342c761e
BLAKE2b-256 checksum
How to use checksums
1352cb91baecd2501721e29e73ec49dc18062569f5d326753d142802324274cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / toml_file-1.0.9.2-py3-none-any.whl

Download URL toml_file-1.0.9.2-py3-none-any.whl
Size 22.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71c1cf6ec207031215048eae4c25e91f157e742cf6197a6d06a410fc7f429281
BLAKE2b-256 checksum
How to use checksums
d513003306c4eb7e64ec613c72efb4e3b722e4b24224d91b6d7f4d73b1a68adb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Security for toml-file 1.0.9.2

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