pytoml
A parser for TOML-0.4.0
Decision gist · record as of 2026-08-14
No, unless you are maintaining legacy code already using pytoml. The project is explicitly deprecated and unmaintained since 2019. For new projects, use an actively maintained TOML parser instead. The package itself is stable and has no known vulnerabilities, but the lack of maintenance means no fixes for future TOML spec changes or Python compatibility issues.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 2.7+ or 3.5+; input bytes must be UTF-8 encoded with no BOM.
- Low install friction with no runtime dependencies.
- However, the project is no longer actively maintained—the last release was in 2019, and the maintainer explicitly recommends considering alternatives.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, requiring only attribution and inclusion of the license notice.
last release 2019-07-21 (2581 days) · last repo commit 2026-04-13 · 132 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 604,635 downloads/mo, #5,803 on PyPI
Alternatives
Verify before relying
pip install pytoml
import pytoml as toml
obj = toml.loads('a = 1')
print(obj)
with open('file.toml', 'rb') as fin:
obj = toml.load(fin)- Whether TOML 0.4.0 support is sufficient for current use cases or if newer TOML spec versions are needed
- How the package compares in correctness or performance to actively maintained alternatives
What it is and what it does
pytoml is a TOML file parser and serializer that mirrors the standard library's json module interface. It reads TOML configuration files into Python dictionaries and writes dictionaries back to TOML format. The library accepts both bytes (UTF-8 decoded) and unicode strings as input, making it straightforward to integrate into configuration-loading workflows.
The package is deprecated and no longer maintained. Its last release was in 2019, and the project's own documentation recommends using alternatives. While it remains functional for TOML 0.4.0 files and has no known vulnerabilities, new projects should consider more actively maintained options.
Use it for
- Loading application configuration from TOML files in legacy projects still using this library
- Reading TOML-formatted settings in Python 2.7 or early Python 3 codebases where migration is not yet planned
- Parsing TOML 0.4.0 files in environments where dependency updates are constrained
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are maintaining legacy code already using pytoml.
The project is explicitly deprecated and unmaintained since 2019. For new projects, use an actively maintained TOML parser instead. The package itself is stable and has no known vulnerabilities, but the lack of maintenance means no fixes for future TOML spec changes or Python compatibility issues.
Install
pytoml on PyPI
Before you install
Low install friction with no runtime dependencies. However, the project is no longer actively maintained—the last release was in 2019, and the maintainer explicitly recommends considering alternatives.
Requires Python 2.7+ or 3.5+; input bytes must be UTF-8 encoded with no BOM.
License in practice
MIT license permits commercial and private use with minimal restrictions, requiring only attribution and inclusion of the license notice.
Quickstart
pip install pytoml
import pytoml as toml
obj = toml.loads('a = 1')
print(obj)
with open('file.toml', 'rb') as fin:
obj = toml.load(fin)
Verify before relying
- Whether TOML 0.4.0 support is sufficient for current use cases or if newer TOML spec versions are needed
- How the package compares in correctness or performance to actively maintained alternatives
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 2,581 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 604,635 / month, #5,803 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Topic :: Software Development :: Libraries |
Evidence: pytoml-0.1.21-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “toml file reader”
- pytomlParses and writes TOML configuration files with a JSON-like…
- fhconfparserReads configuration files in INI, TOML, or JSON format through a…
- tomlrtReads and writes TOML files while preserving formatting, comments,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also rtoml · toml · tomlrt · tomli · tomlkit · types-toml · tomli-w · python-frontmatter · libconf · toml-rs