cels
pyserde
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cels
-
Interactive Examples for Learning Jq
Not a 1:1 replacement, but I created https://github.com/pacha/cels because I wanted to have a more intuitive way of working with JSON and YAML files
-
That's a Lot of YAML
I agree. I find working with templated YAML so cumbersome that I ended up creating a tool (Cels - https://github.com/pacha/cels) because of it. I like Jsonnet and Starlark but in practice I don’t usually need a new programming language for most use cases. Most of the time I just want to create a base document and apply patches to do modifications. That simplifies everything a lot.
- Show HN: Cels – A bit less YAML/JSON struggle
pyserde
- Pyserde
- pyserde: Serialization library on top of dataclasses, inspired by serde-rs
- Pyserde: Serialization library on top of dataclasses, inspired by serde-rs
-
RE: If you had to pick a library from another language (Rust, JS, etc.) that isn’t currently available in Python and have it instantly converted into Python for you to use, what would it be?
Love serde. Another option I've seen is pyserde.
What are some alternatives?
python-benedict - :blue_book: dict subclass with keylist/keypath support, built-in I/O operations (base64, csv, html, ini, json, pickle, plist, query-string, toml, xls, xml, yaml), s3 support and many utilities.
dataconf - Simple dataclasses configuration management for Python with hocon/json/yaml/properties/env-vars/dict/cli support.
click-extra - 🌈 Extra colorization and configuration loading for Click.
srsly - 🦉 Modern high-performance serialization utilities for Python (JSON, MessagePack, Pickle)
remarshal - Convert between CBOR, JSON, MessagePack, TOML, and YAML
pymonad - PyMonad implements data structures typically available in pure functional or functional first programming languages like Haskell and F#. Included are Monad and Monoid data types with several common monads included - such as Maybe and State - as well as some useful tools such as the @curry decorator for defining curried functions. PyMonad 2.x.x represents an almost complete re-write of the library with a simpler, more consistent interface as well as type annotations to help ensure correct usage.
msgspec - A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
parametrize_from_file - Read unit test parameters from config files
nestedtextto - CLI to convert between NestedText and JSON, YAML, or TOML, with explicit type casting
spanned-toml - A lil' TOML parser, but with span
mashumaro - Fast and well tested serialization library
backtick - A tiny fixed-point task scheduling app built on top of rq