30 Components & Libraries
Sortby
Warning jsonpickle can execute arbitrary Python code. Please see the Security section for more details. Data serialized with python's pickle (or cPickle or dill) is not easily readable outside of pyt…
... so better sign this Various helpers to pass data to untrusted environments and to get it back safe and sound. Data is cryptographically signed to ensure that a token has not been tampered with. I…
>>> mapper = UserMapper(data=response.json()) >>> mapper.marshal() User(id='one', name='Bruce Wayne', 'title'='CEO/Super Hero') >>> user_two = User.query.get('two') >>…
Install with pip. You may also install cython first to build cython extension locally. ThriftPy make it super easy to write server/client code with thrift. Let's checkout this simple pingpong service…
Generate code for your language(s) Serialize data Transmit/store/save Buffer Use your serialized buffer however you want. Send it to someone, save it for later, etc... Read the data Use the generated…
The [pyjson-tricks] package brings several pieces of functionality to python handling of json files: As well as compression and disallowing duplicate keys. Thanks for all the Github stars⭐! You can i…
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…
💗 this lib? Leave a ★ and tell your colleagues! Example of a model to serialize: Example of using jsons to serialize: Example of using jsons to deserialize: Special thanks to the following contributo…
Let's start with a toy example: So you add something like But you may get into a situation in which there is no useful static type information, because of values: Imagine your application receives a …
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 …
Install Use On python 3.7 it has no external dependencies outside of the Python standard library.
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 …
Or from conda via conda-forge: Alternatively, you can also compile the library from source. You'll need to make sure that you have a development environment with a Python distribution including heade…
Version : 2.3
python version >= 2.7 A Query is basically a template which tells dictfier what to extract from an object. It is defined as a list or tuple of Object's fields to be extracted. When a flat student …
Python is a flexible language that can be used for much more than just script development. By knowing how the Python RESTful APIs work, you can build a powerful backend for web applications and mobil…
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…
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
======================= Programmer & Developer Cook-Book | Covers Programming Languages, Databases, Linux Commands and more. Aggregate API Calls | API Mesh Interactive JavaScript Diagrams for the…
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…
--- 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…
Define your JSON schema as Python dataclasses It's kinda like Pydantic but better. Now with JSON-schema generation! This library was designed with extensibility in mind, so it relies on interfaces (f…
MCAP is a modular container format and logging library for pub/sub messages with arbitrary message serialization. It is primarily intended for use in robotics applications, and works well under vario…
Subscribe to our newsletter