On this page
  1. parse-toml
  2. Role
  3. Install
  4. Quickstart
  5. When to Reach for It
  6. Gotchas & Pitfalls
  7. Pairs With
  8. Metadata

parse-toml

Prev: parse-yaml | Up: projects | Next: backpack-store
Rel: wispsy, Foundation, parse-yaml, parse-xml1
Ref: wispsy on GitHub
Tags: #public #wispsy #project #foundation #tier/standard


Role

Typed, bounded TOML 1.0 parser for Python 3.14+ (0.1.0, zero runtime deps)—backed by stdlib tomllib, preserving the original source alongside the parsed value (parse(), loads(), ParseOptions, and structured ParseError line/column/code diagnostics).

Install

python -m pip install parse-toml

Quickstart

from parse_toml import parse

document = parse('name = "Ada"\nactive = true\n')
assert document.value["name"] == "Ada"
assert document.to_toml() == 'name = "Ada"\nactive = true\n'

When to Reach for It

Gotchas & Pitfalls

Pairs With


Metadata

type: project-card
slug: parse-toml
org: wispsy
repo: wispsy/parse-toml
package: parse-toml
import_name: parse_toml
version: 0.1.0
requires_python: ">=3.14"
layer: foundation
topic: wispsy-foundation
status: active
language: python
source_docs: README.md, docs/

Linked from

Related notes