tomli
PyPIv2.4.1A lil' TOML parser
Not recommended for new projects
No — tomli should not be adopted for new projects. No license declared — you have no explicit right to use this code.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- BMaintenance: grade B, Good.
Last published 168 days ago. 7 releases in the last 2 years.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 151 KB installed.
- BSupply chain: grade B, Good.
This package lists no maintainer.
- FLicense: grade F, Failing.
No license declared — you have no explicit right to use this code.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding tomli to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Python
- python >=3.8
Quick start
A usage example from the tomli README.
import tomli
toml_str = """
[[players]]
name = "Lehtinen"
number = 26
[[players]]
name = "Numminen"
number = 27
"""
toml_dict = tomli.loads(toml_str)
assert toml_dict == {Used by
Popular packages that depend on tomli.
Relationship graph
Dependencies (left) and dependents (right) of tomli.
Frequently installed together
Cross-platform colored terminal text.
Backport of PEP 654 (exception groups)
brain-dead simple config-ini parsing
Core utilities for Python packages
plugin and hook calling mechanisms for python
Release history
4 releases in the last two years, typically about 16 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 2.3.1 | 5 months ago | 151 KB | — |
| 2.4.1latest | 5 months ago | 151 KB | — |
| 2.4.0 | 8 months ago | 150 KB | — |
| 2.3.0 | 11 months ago | 150 KB | — |
| 2.2.1 | 1 year ago | 128 KB | — |
| 2.1.0 | 1 year ago | 13 KB | — |
| 2.0.2 | 1 year ago | 13 KB | — |
| 2.0.1 | 4 years ago | 12 KB | — |
| 1.2.3 | 4 years ago | 12 KB | — |
| 2.0.0 | 4 years ago | 12 KB | — |
| 1.2.2 | 4 years ago | 12 KB | — |
| 1.2.1 | 5 years ago | 12 KB | — |
| 1.2.0 | 5 years ago | 12 KB | — |
| 1.1.0 | 5 years ago | 11 KB | — |
| 1.0.4 | 5 years ago | 11 KB | — |
Overview
tomli is an PyPI package that a lil' TOML parser. It has 1 known dependents in the graph. The latest version is 2.4.1.
Who should use it
Teams working in the PyPI ecosystem who need a lil' TOML parser and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your PyPI stack.
Pros
- Zero runtime dependencies — minimal footprint.
Cons
- No license detected — review usage terms before adopting.
Auto-generated from collected registry metadata. No external claims are inferred.
Keywords
Frequently asked questions
Should I use tomli?
No — tomli should not be adopted for new projects. No license declared — you have no explicit right to use this code.
How do I install tomli?
Run `pip install tomli` to add tomli to your PyPI project.
What license is tomli released under?
No license was detected in tomli's metadata; review the repository before use.
How popular is tomli?
PyPI does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on tomli.
Is tomli still maintained?
The most recent release of tomli (v2.4.1) was published 5 months ago.