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.4.11.tar.gz
(111.2 kB
view details)
Built Distribution
frid-0.4.11-py3-none-any.whl
(126.2 kB
view details)
File details
Details for the file frid-0.4.11.tar.gz
.
File metadata
- Download URL: frid-0.4.11.tar.gz
- Upload date:
- Size: 111.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 | c271ebaecbb56a0142db0c0bc56532c13c87a11fe3353b31ab7b87d96e025e55 |
|
MD5 | 1ab3cbb0d64ec192a264ef3f5df97931 |
|
BLAKE2b-256 | 1bb88f180f96848ce087641fb6c0bc7120b4f240fd0d1f9d6ffd2636d1b48522 |
File details
Details for the file frid-0.4.11-py3-none-any.whl
.
File metadata
- Download URL: frid-0.4.11-py3-none-any.whl
- Upload date:
- Size: 126.2 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 | 833cdf781af619deadc8527fad0ceaa8c04f77ad75179568388049825547fdd6 |
|
MD5 | b896fca39619178a2a707a3850e33b75 |
|
BLAKE2b-256 | 9014845506c84c7b4693287cc744fca71d661350f629991ddbe3263d8bf919ce |