types-toml
Typing stubs for toml
Install
types-toml on PyPI
pip
pip install types-tomluv
uv add types-tomlpoetry
poetry add types-tomlPackage facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 87 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: types_toml-0.10.8.20260518-py3-none-any.whl
About types-toml
from the package's own PyPI description — quoted content, verbatim
Typing stubs for toml
This is a type stub package
for the toml package. It can be used by type checkers
to check code that uses toml. This version of
types-toml aims to provide accurate annotations for
toml==0.10.*.
This package is part of the typeshed project.
All fixes for types and metadata should be contributed there.
See the README
for more details. The source for this package can be found in the
stubs/toml
directory.
This package was tested with the following type checkers: * mypy 2.1.0 * pyright 1.1.409
It was generated from typeshed commit
3402466d17144ed7edfc92940c6973167ba285af.
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Provides type stubs for the toml package, enabling static type checkers like mypy and pyright to validate code that uses toml==0.10.*.
Low friction: pure Python type stubs with zero runtime dependencies, distributed as a wheel. Actively maintained with latest release 2026-05-18 and no known vulnerabilities.
Apache-2.0 permissive license allows free use, modification, and distribution in both open and closed projects with minimal restrictions.
Usage
pip install types-toml==0.10.8.20260518
Requires Python 3.10 or later; stubs are for toml==0.10.* only.
Verdict: A lightweight, actively maintained type stub package with no dependencies and no security issues. Recommended for projects using toml==0.10.* that want static type checking support.
Needs verification
- Whether the stubs cover all toml==0.10.* APIs or have known gaps in annotation coverage.
- Compatibility with type checkers beyond mypy 2.1.0 and pyright 1.1.409 mentioned in the description.
Similar packages
permissive · top 1,000 on PyPI
types-protobufpermissive · top 1,000 on PyPI
types-PyYAMLpermissive · top 1,000 on PyPI
types-pytzpermissive · top 1,000 on PyPI
types-paramikopermissive · top 1,000 on PyPI
types-cachetoolspermissive · top 1,000 on PyPI
types-requestspermissive · top 1,000 on PyPI
types-python-dateutilpermissive · top 1,000 on PyPI
types-setuptoolspermissive · top 1,000 on PyPI
types-certifipermissive · top 1,000 on PyPI