Skip to main content

🔌 Tomili

Tomili is a simple library for interacting with toml files, without the need open context, with 'with' and open file.

📦 Installation

If you are using pip, you can install Tomili by running the following command:

pip install tomili

If you are using poetry, you can install Tomili by running the following command:

poetry add tomili

If you are using UV, you can install Tomili by running the following command:

uv add tomili

📖 Usage

# Import function rtoml from tomili library
from tomili import rtoml

# Import Path from pathlib library
from pathlib import Path

# Read toml file, parameter is path to file (Path)
toml = rtoml(Path("path/to/file.toml"))

# Print toml file in dictionary format
print(toml)

Metadata

Release files for tomili 0.1.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 tomili 0.1.0
File Size Uploaded Provenance
tomili-0.1.0.tar.gz 11.5 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 13.3 kB

Release files / tomili-0.1.0.tar.gz

Download URL tomili-0.1.0.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cd6a7dbdaaa948ab5887bec47f6f8b75085941baaa4fdf0271fff6ce8ee0f65a
BLAKE2b-256 checksum
How to use checksums
4c70f8aefbe4902d52fb80bb2a3d670e12b7e8b5a6c4c28b88a9f4dbd1111eff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.5

Release files / tomili-0.1.0-py3-none-any.whl

Download URL tomili-0.1.0-py3-none-any.whl
Size 1.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7ef20071220ef5747d5d595f5301a3a4fa6a0bee15517e35114bbd9d886377d
BLAKE2b-256 checksum
How to use checksums
fa32279ee139d19a48e5daaa5203340a8a3d26aca67b2589b06a721a16862fc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.5

Security for tomili 0.1.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.1.0 This release

2 release files 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