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.2.tar.gz
(108.5 kB
view details)
Built Distribution
frid-0.4.2-py3-none-any.whl
(123.0 kB
view details)
File details
Details for the file frid-0.4.2.tar.gz
.
File metadata
- Download URL: frid-0.4.2.tar.gz
- Upload date:
- Size: 108.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 044ba2fd0a39b73de2907c390190cc8672d017b7b8d3e533859a1eeeefcefb10 |
|
MD5 | 36b8b95189b5c8ea8b5d2038ba2856fd |
|
BLAKE2b-256 | 08560229667eb7b9526a679fedff27aeb0f0429e948f38c930b3af26f803a5b5 |
File details
Details for the file frid-0.4.2-py3-none-any.whl
.
File metadata
- Download URL: frid-0.4.2-py3-none-any.whl
- Upload date:
- Size: 123.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 | 3ace61b28bc2c4e69c9bc3f8a918aeaa26e591a959bb0b0314d7f4110927536c |
|
MD5 | 7ccfa031adb91f3bc543cc8678e8626a |
|
BLAKE2b-256 | b24c38b7d729762f3141107af724ce94bc82fd41800af848ab1a9a1947fffe3c |