rtoml
A TOML library for python implemented in rust.
Decision gist · record as of 2026-08-14
Yes, if you need TOML parsing on Python 3.10+ and have a supported platform with prebuilt wheels. The library is stable, has no runtime dependencies, passes all TOML compliance tests, and offers strong performance. However, note that maintenance is aging (last release 299 days ago), so verify that the package still meets your needs and check whether prebuilt wheels exist for your architecture before committing to it.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- If no prebuilt wheel is available for your platform, Rust stable must be installed to build from source.
- Medium install friction due to compiled wheels; prebuilt binaries are available for common platforms (Linux, macOS, Windows across multiple architectures), but installation from source requires Rust stable if no binary matches your system.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions—standard for open-source libraries.
last release 2025-10-19 (299 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 979,024 downloads/mo, #4,590 on PyPI
Alternatives
Verify before relying
pip install rtoml
import rtoml
# Parse TOML string
data = rtoml.loads('title = "Example"')
# Serialize to TOML
toml_str = rtoml.dumps({'title': 'Example'})- Current maintenance status and likelihood of future updates beyond the 299-day gap since last release.
- Whether prebuilt wheels cover all platforms you need (check PyPI files for your architecture).
What it is and what it does
rtoml is a TOML parser and serializer for Python, implemented in Rust for performance. It provides four main functions: load() and loads() to parse TOML from files or strings into Python dictionaries, and dump() and dumps() to serialize Python objects back to TOML format. The library includes flexible None-value handling—you can control which TOML values map to Python None and how None values are serialized back to TOML.
The package is built on the stable toml-rs Rust library and passes all standard TOML compliance tests. It offers no runtime dependencies and is available as prebuilt wheels for Python 3.10+ on Linux, macOS, and Windows across multiple architectures. Installation is straightforward on supported platforms; unsupported platforms require a Rust compiler.
Use it for
- Parse configuration files in TOML format into Python dicts for application settings.
- Serialize Python data structures to TOML and write them to disk for configuration storage.
- Handle TOML with None values by mapping a custom sentinel string (e.g., '@None') to represent nulls.
- Build tools or utilities that need fast, standards-compliant TOML parsing without external dependencies.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need TOML parsing on Python 3.10+ and have a supported platform with prebuilt wheels.
The library is stable, has no runtime dependencies, passes all TOML compliance tests, and offers strong performance. However, note that maintenance is aging (last release 299 days ago), so verify that the package still meets your needs and check whether prebuilt wheels exist for your architecture before committing to it.
Install
rtoml on PyPI
Before you install
Medium install friction due to compiled wheels; prebuilt binaries are available for common platforms (Linux, macOS, Windows across multiple architectures), but installation from source requires Rust stable if no binary matches your system. Last release was 299 days ago; maintenance status is aging.
Requires Python 3.10 or later. If no prebuilt wheel is available for your platform, Rust stable must be installed to build from source.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions—standard for open-source libraries.
Quickstart
pip install rtoml
import rtoml
# Parse TOML string
data = rtoml.loads('title = "Example"')
# Serialize to TOML
toml_str = rtoml.dumps({'title': 'Example'})
Verify before relying
- Current maintenance status and likelihood of future updates beyond the 299-day gap since last release.
- Whether prebuilt wheels cover all platforms you need (check PyPI files for your architecture).
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Aging 299 days since the last release |
| First released | |
| Downloads | 979,024 / month, #4,590 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: MacOS XIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseOperating System :: POSIX :: LinuxOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: InternetTopic :: Software Development :: Libraries :: Python Modules |
Evidence: rtoml-0.13.0-cp310-cp310-macosx_10_12_x86_64.whl; rtoml-0.13.0-cp310-cp310-macosx_11_0_arm64.whl; rtoml-0.13.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; rtoml-0.13.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; rtoml-0.13.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; rtoml-0.13.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl; rtoml-0.13.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; rtoml-0.13.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl; rtoml-0.13.0-cp310-cp310-musllinux_1_1_aarch64.whl; rtoml-0.13.0-cp310-cp310-musllinux_1_1_x86_64.whl; rtoml-0.13.0-cp310-cp310-win32.whl; rtoml-0.13.0-cp310-cp310-win_amd64.whl; rtoml-0.13.0-cp311-cp311-macosx_10_12_x86_64.whl; rtoml-0.13.0-cp311-cp311-macosx_11_0_arm64.whl; rtoml-0.13.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; rtoml-0.13.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; rtoml-0.13.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; rtoml-0.13.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl; rtoml-0.13.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; rtoml-0.13.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.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 serializer”
- rtomlrtoml parses and serializes TOML files and strings to and from Python…
- toml-rsA high-performance TOML parser and serializer for Python, written in…
- pytomlParses and writes TOML configuration files with a JSON-like…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also pytoml · toml · toml-rs · tomli · toml-sort · lkml · dom-toml · tomli-w · tomlrt · orjson