{"categories":[{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup"}],"enrichment":{"capability":"Parses and emits YAML documents via a fast C++ backend, exposing an index-based low-level API that works with node indices and string views rather than building native Python data structures.","skillfed_tags":["performance-critical","c-extension","low-level-api"],"use_cases":["Parsing large YAML configuration files where speed is critical and you can manually construct Python objects from the tree.","Streaming or batch processing of YAML documents in performance-sensitive applications.","Emitting YAML at high throughput in data pipelines or real-time systems.","Building custom YAML-based serialization layers where you need fine-grained control over tree structure.","Embedded or resource-constrained environments where the C++ backend's efficiency matters."],"what_it_does":"Rapidyaml is a Python wrapper around a C++ YAML parser and emitter designed for speed. It exposes a low-level, index-based API that operates on node indices and string views rather than constructing Python dictionaries and lists automatically. All scalar values are returned as untyped strings via memoryview objects, and you must manually walk the tree and convert types as needed. The tradeoff is substantial performance: the package documentation shows parsing speeds 100x and up to 400x faster than alternatives and emitting speeds as high as 3000x faster, though those gains come from avoiding Python-side type conversions and data structure construction.\n\nThe package is built on precompiled wheels for modern Python versions across common platforms. It requires you to manage the lifetime of input buffers when using in-place parsing, or to use the arena-based approach for safer operation. The single runtime dependency is deprecation. This is a tool for scenarios where YAML parsing speed is a bottleneck and you can tolerate a lower-level API and manual tree navigation.","worth_installing":"Yes, if you need to parse or emit YAML at scale and can work with a low-level index-based API and manual type conversion. No, if you expect automatic Python object construction or need a high-level interface. The package is actively maintained, has no known vulnerabilities, and carries a permissive MIT license."},"id":"rapidyaml","links":{"html":"https://skillfed.io/packages/rapidyaml","md":"https://skillfed.io/packages/rapidyaml.md","pypi":"https://pypi.org/project/rapidyaml/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-25","license_spdx":null,"license_treatment":"permissive","name":"rapidyaml","python_support":"supports_current","summary":"Parse and emit YAML, and do it fast. Python wrapper for the C++ library"},"popularity":{"monthly_downloads":261297,"position":8384,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.15.2"}
