ruamel.yaml
Advanced YAML parser preserving comments, key order and formatting while supporting roundtrip serialization.
Forms, validation and schemas PyPI MIT
Used in agent projects
22
0.2% of 12,697 public repos built with AI coding agents
Rank in forms, validation and schemas
#20 of 22
by use in those projects
Downloads
37.3M
PyPI, last 7 days, ruamel-yaml
GitHub stars
—
no public repo found
How ruamel.yaml is used
ruamel.yaml is a dependency in 22 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #20 of 22 in forms, validation and schemas. The most used alternative there is Zod. Projects that use it most often also use Pydantic (90.9%), Rich (86.4%), PyYAML (81.8%).
Often used with ruamel.yaml
| Pydantic | 90.9% of ruamel.yaml projects · 17.8× more than average |
|---|---|
| Rich | 86.4% of ruamel.yaml projects · 45.1× more than average |
| PyYAML | 81.8% of ruamel.yaml projects · 27.0× more than average |
| python-dotenv | 72.7% of ruamel.yaml projects · 11.2× more than average |
| Click | 68.2% of ruamel.yaml projects · 38.8× more than average |
| NumPy | 63.6% of ruamel.yaml projects · 16.6× more than average |
| Jinja2 | 59.1% of ruamel.yaml projects · 42.9× more than average |
| Requests | 59.1% of ruamel.yaml projects · 11.1× more than average |
By coding agent
| Claude Code | 0.4% of projects set up for it |
|---|---|
| GitHub Copilot | 0.4% of projects set up for it |
| Cursor | 0.4% of projects set up for it |
Share of public repos configured for each agent that list ruamel.yaml as a dependency.
Install
| Package | pip install ruamel-yaml |
|---|---|
| Packages counted | ruamel.yaml, ruamel-yaml |
| Main stacks | Python (21), Next.js (1) |
| Example projects | owid/etl, Beneficial-AI-Foundation/vericoding, zloeber/SecretZero, nihilistau/CosySim, iterorganization/IMAS-Codex |
Alternatives to ruamel.yaml
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Zod npm TypeScript-first schema validation library with static type inference. |
2,153 (17.0%) | 326M | 44.1K | MIT |
| React Hook Form npm Performant form state library using React Hooks with minimal rerenders. |
1,021 (8.0%) | 54.7M | 44.9K | MIT |
| React Hook Form Resolvers npm Validation resolvers for React Hook Form supporting Zod, Yup, and others. |
885 (7.0%) | 45.1M | 2,264 | MIT |
| Pydantic pypi Data validation and parsing library using Python type hints. |
649 (5.1%) | 222M | 29K | — |
| Ajv npm Fast JSON Schema validator for runtime schema validation and serialization. |
131 (1.0%) | 391M | 14.9K | MIT |
| jsonschema pypi Python implementation of JSON Schema validation for structured data. |
129 (1.0%) | 125M | 4,989 | — |
| Protocol Buffers pypi Serialization format and code generator for structured data. |
75 (0.6%) | 154M | — | 3-Clause BSD License |
| drizzle-zod npm Generate Zod validation schemas automatically from Drizzle ORM database schemas. |
68 (0.5%) | 3.2M | 36K | Apache-2.0 |