$npx skillfedfor your agent

strictyaml

Strict, typed YAML parser

With conditionsPyPI LibrariesReleased Mar 202331.5M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — strictyaml-1.7.3-py3-none-any.whl
v1.7.3 · released 2023-03-10 · Python >=3.7.0 · 1 runtime deps: python-dateutil

Yes, if you need safe, schema-validated YAML parsing with clear errors. The low install friction, permissive MIT license, and wide adoption make it a solid choice. However, note the aging maintenance status—last release was 2023-03-10—so verify compatibility with your Python version and consider whether the lack of recent updates matters for your use case.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.7.0 or later.
  • Low install friction with a single runtime dependency.
  • Maintenance status is aging—last release was 2023-03-10, though the repository remains active and the package is widely used.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

last release 2023-03-10 (1253 days) · last repo commit 2025-05-23 · 1,622 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 31,485,597 downloads/mo, #786 on PyPI

Verify before relying

pip install strictyaml

from strictyaml import load, Map, Str, Int, Seq

schema = Map({"name": Str(), "age": Int(), "items": Seq(Str())})
person = load("name: Ford\nage: 42\nitems:\n- Towel", schema)
print(person.data)
  • Whether the aging maintenance status affects compatibility with current Python versions or ecosystem changes.
  • Performance characteristics compared to standard YAML parsers for large documents or high-throughput scenarios.
Same gist for agents: .md · .json

What it is and what it does

StrictYAML is a YAML parser that enforces a restricted, safer subset of the YAML specification and validates parsed data against a schema you define. Unlike standard YAML parsers, it rejects implicit type coercion, anchors, aliases, and other features that make YAML hard to read or potentially unsafe. It parses YAML into strings, lists, and OrderedDicts by default, then casts to typed values only when you provide a schema using validators like Str(), Int(), Seq(), and Map().

The parser provides detailed error messages with line numbers and code snippets when validation fails. It also supports round-tripping: you can read YAML, modify it programmatically, and write it back out with comments and formatting preserved. This makes it useful for configuration files, data validation, and any scenario where you want predictable, type-safe YAML handling without the surprising behavior of standard YAML.

Use it for

  • Parsing application configuration files with schema validation to catch typos or missing required keys early.
  • Reading and modifying YAML documents while preserving comments and structure for round-trip editing.
  • Building CLI tools that accept YAML input and need clear, line-numbered error messages for invalid data.
  • Validating structured data such as test fixtures or deployment manifests against a predefined schema.
  • Replacing standard YAML parsers in projects where implicit type coercion causes bugs or security concerns.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need safe, schema-validated YAML parsing with clear errors.

The low install friction, permissive MIT license, and wide adoption make it a solid choice. However, note the aging maintenance status—last release was 2023-03-10—so verify compatibility with your Python version and consider whether the lack of recent updates matters for your use case.

Install

strictyaml on PyPI

Before you install

Low install friction with a single runtime dependency. Maintenance status is aging—last release was 2023-03-10, though the repository remains active and the package is widely used.

Requires Python 3.7.0 or later.

License in practice

MIT license is permissive, allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

pip install strictyaml

from strictyaml import load, Map, Str, Int, Seq

schema = Map({"name": Str(), "age": Int(), "items": Seq(Str())})
person = load("name: Ford\nage: 42\nitems:\n- Towel", schema)
print(person.data)

Verify before relying

  • Whether the aging maintenance status affects compatibility with current Python versions or ecosystem changes.
  • Performance characteristics compared to standard YAML parsers for large documents or high-throughput scenarios.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.7.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
python-dateutil
MaintenanceAging 1,253 days since the last release
Last repo commit
First released
Downloads31,485,597 / month, #786 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Topic :: Software Development :: LibrariesTopic :: Text Processing :: Markup

Evidence: strictyaml-1.7.3-py3-none-any.whl

Tags

Capabilities
yaml parser with schema validationtype-safe yaml parsingstrict yaml validatorsafe yaml configurationyaml with type checkingyaml schema validationrestricted yaml subset parser
Topics
configuration-parsingschema-validationtype-safe
PyPI keywords
yaml

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 › “yaml parser with schema validation”

  • strictyamlStrictYAML parses and validates YAML documents against a schema,…
  • annotatedyamlParses and validates YAML files with support for embedded secrets and…
  • anyconfigLoads, dumps, and merges configuration files in multiple formats…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

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.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

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.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

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.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

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.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

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.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also rapidyaml · yamale · yaml-rs · pykwalify · annotatedyaml · parse-errors · schema · ruyaml · ruamel.yaml · yamlcore