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.1.tar.gz
(79.7 kB
view details)
Built Distribution
frid-0.2.1-py3-none-any.whl
(89.5 kB
view details)
File details
Details for the file frid-0.2.1.tar.gz
.
File metadata
- Download URL: frid-0.2.1.tar.gz
- Upload date:
- Size: 79.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a89cc641ef88f0b96dee7b9049e9a16e84507100f51971ab7dfb0cb66fd7e922 |
|
MD5 | 0a7ee91f887e1568de0e5bc32c7dc907 |
|
BLAKE2b-256 | 6be82853f943dc2f5939bcd1705dbd529db0014913a43ac426e26f0ef927d57d |
File details
Details for the file frid-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: frid-0.2.1-py3-none-any.whl
- Upload date:
- Size: 89.5 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 | 162673820d595c4ea51a6b863fdd1bbae191e135a613f6b10586d34ec9b95226 |
|
MD5 | 72b7eb1d3a6b4a77cfdabf5f2ab7c31e |
|
BLAKE2b-256 | 20c012a1b49e13e921a98f0ba7b51941b2142f09fd36a9e973baf9877b33076e |