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.2.tar.gz
(79.7 kB
view details)
Built Distribution
frid-0.2.2-py3-none-any.whl
(89.5 kB
view details)
File details
Details for the file frid-0.2.2.tar.gz
.
File metadata
- Download URL: frid-0.2.2.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 | 89e42fad3ebdf8c5a9e2b01e3852c293ed82a093f9592769f44ace93d65cf81f |
|
MD5 | 46d4dd245457bca5ff8488aab166f119 |
|
BLAKE2b-256 | 54529e8f9f11e44d71ca4371af6c205b2acba10a053c5964f5efbd7b7dc8e509 |
File details
Details for the file frid-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: frid-0.2.2-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 | bb5868dafff5766ea49f229d7f1d67bcafd2670f28ff90cfdf262728bc443a26 |
|
MD5 | 86657e45bac0c4faaeb8fc0a4ad41b9c |
|
BLAKE2b-256 | 84ae245339e28882857a1a01073cdd7af8a02b8e80c416742bd10d80eaa6a6cc |