19 Components & Libraries
Sortby
It's very easy to get started. JSON letter case by convention is camelCase, in Python members are by convention snake_case. You can configure it to encode/decode from other casing schemes at both the…
Some common use cases include: and decorate it with a directory pattern to synchronize instances: Then, work with instances of the class as normal: Changes to the object are automatically saved to th…
It requires a bit of tweaking: A simple example to demonstrate adding extra code before the class list. Or you can build it from source: Arguments: - Test tools: Feel free to open pull re…
Install Use On python 3.7 it has no external dependencies outside of the Python standard library.
An extremely flexible and configurable data model conversion library. Adaptix is ready for production! The beta version only means there may be some backward incompatible changes, so you need to pin …
This library provides two fundamentally different approaches to converting your data to and from various formats. Each of them is useful in different situations: Codecs are represented by a set of de…
Its features and drawbacks compared to other Python JSON libraries: orjson supports CPython 3.8, 3.9, 3.10, 3.11, and 3.12. It distributes amd64/x86_64, aarch64/armv8, arm7, POWER/ppc64le, and s390x …
Other notable features include:
JSON (de)serialization, GraphQL and JSON schema generation using Python typing. This library fulfills the following goals: Once dependencies are installed, you can simply copy-paste examples and exec…
These are the supported Python and package versions. Older versions will probably work as well, but aren't tested. For example, define a dataclass as follows: The serializer for this dataclass can no…
Currently supported types are: The wrapped object is modified in-place: The following adapters are included by default: Stores the currently registered adapter classes. The returned value is taken fr…
Simple dataclasses configuration management for Python with hocon/json/yaml/properties/env-vars/dict/cli support. Requires at least Python 3.8. is equivalent to
Simple, light-weight and no dependency config handling through python data classes with to/from JSON serialization/deserialization. What I need from a ML configuration library... Fixing a general con…
Chili is an extensible library which provides a simple and efficient way to encode and decode complex Python objects to and from their dictionary representation. With support for nested data structur…
To build the project and run the style/linter checks, execute:
--- Contents Using the built-in JSON marshalling support for dataclasses: Here is an example to demonstrate the usage of these helper functions: Note Example below: Note This also results in more hel…
Pyrausta (also called pyrallis (πυραλλίς), pyragones) is a mythological insect-sized dragon from Cyprus. There are several key features to pyrallis but at its core pyrallis simply allows defining an …
Subscribe to our newsletter