23 Components & Libraries
Sortby
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 …
To install DocArray from the CLI, run the following command: New to DocArray? Depending on your use case and background, there are multiple ways to learn about DocArray: This is particularly benefici…
You can generate models from a local file. These OSS projects use datamodel-code-generator to generate many models. See the following linked projects for real world examples and inspiration. You can …
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…
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…
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…
To build the project and run the style/linter checks, execute:
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 …
xsData is a complete data binding library for python allowing developers to access and use XML and JSON documents as simple objects rather than using DOM. The code generator supports XML schemas, DTD…
Other notable features include:
Load and dump json-like data into typed data structures in Python3, enforcing a schema on the data. This module provides an API to load dictionaries and lists (usually loaded from json) into Python's…
Install Use On python 3.7 it has no external dependencies outside of the Python standard library.
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…
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…
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 …
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…
--- 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…
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…
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
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…
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…
Subscribe to our newsletter