</>PackageGraphPackageGraph

tomli

PyPIv2.4.1

A 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.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

151 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Python
python >=3.8

Quick start

A usage example from the tomli README.

python
import tomli

toml_str = """
[[players]]
name = "Lehtinen"
number = 26

[[players]]
name = "Numminen"
number = 27
"""

toml_dict = tomli.loads(toml_str)
assert toml_dict == {
Example truncated — see the project README.

Used by

Popular packages that depend on tomli.

Relationship graph

Dependencies (left) and dependents (right) of tomli.

pytesttomli
tomli dependencies dependents

Frequently installed together

Release history

4 releases in the last two years, typically about 16 days apart.

Recent versions of tomli
VersionPublishedSizeLicense
2.3.15 months ago151 KB
2.4.1latest5 months ago151 KB
2.4.08 months ago150 KB
2.3.011 months ago150 KB
2.2.11 year ago128 KB
2.1.01 year ago13 KB
2.0.21 year ago13 KB
2.0.14 years ago12 KB
1.2.34 years ago12 KB
2.0.04 years ago12 KB
1.2.24 years ago12 KB
1.2.15 years ago12 KB
1.2.05 years ago12 KB
1.1.05 years ago11 KB
1.0.45 years ago11 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.