Flexibly Represented Interactive Data
Project description
FRID: Flexibly Represented Interactive Data
This Python package is a tool for data manipulation.
Supported data types include:
- All JSON types: string, integer, floating point, boolean, null, array (as Python lists), and object (as Python dictionaries).
- Additional data types: binary types (bytes/bytearray/memoryview) and date types (date/time/datetime).
- Base classes are provided for user-extensible data structures, allowing users to convert between any customized data structures and string representations.
Current key features include:
- Data can be dumped into and loaded from a string representation that is more concise than the JSON format.
- The library is capable of encoding data in fully JSON- or JSON5-compatible formats, including escape sequences in strings to support additional data types.
- Comparison of two data trees using a highly flexible comparator.
- Web application support tools, such as:
- Converting data from HTTP request bodies based on content type.
- Converting data types to HTTP requests and setting the correct headers.
- Sending streaming responses if the data of the body comes from an asynchronous iterator.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
frid-0.2.5.tar.gz
(80.2 kB
view details)
Built Distribution
frid-0.2.5-py3-none-any.whl
(90.0 kB
view details)
File details
Details for the file frid-0.2.5.tar.gz
.
File metadata
- Download URL: frid-0.2.5.tar.gz
- Upload date:
- Size: 80.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 829fa8a289eda29021dfa07a7625ec86b18d50a7edd1c11325569b57c4ae7d35 |
|
MD5 | 903b33101aec35b98b20ba5af6bda2ad |
|
BLAKE2b-256 | b1ef712227ca750b0ee0bf3ea385a893153f98b41eafd36ca48ad1e0af57c0f7 |
File details
Details for the file frid-0.2.5-py3-none-any.whl
.
File metadata
- Download URL: frid-0.2.5-py3-none-any.whl
- Upload date:
- Size: 90.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eabc0bc9251c0cea0cfe7040b55371db398e56627fa27a41980f6b3f7d5d4fa2 |
|
MD5 | 181b5f0e3c81f4130d6389e4d1371f69 |
|
BLAKE2b-256 | 3dcbbb8a8e167b9153759b2a4b9e82437fc7823f6745a83bb247d3d725432647 |