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.9.tar.gz
(82.4 kB
view details)
Built Distribution
frid-0.2.9-py3-none-any.whl
(92.3 kB
view details)
File details
Details for the file frid-0.2.9.tar.gz
.
File metadata
- Download URL: frid-0.2.9.tar.gz
- Upload date:
- Size: 82.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bd774d422695e81cd0680c593a193602470a58ba1a53776d7f9b3c03a109af5 |
|
MD5 | 9fdb39eb68a4a17698da07e59ec362b0 |
|
BLAKE2b-256 | 562177cb6a012620b8e6e83ccc8d88df5d2c8c1dffa250d32a448921b989122f |
File details
Details for the file frid-0.2.9-py3-none-any.whl
.
File metadata
- Download URL: frid-0.2.9-py3-none-any.whl
- Upload date:
- Size: 92.3 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 | 23f06313402d33653f8ae36d234b5f8c980873e5c20ee3fe08abfc8f8c02e0fd |
|
MD5 | 4f2b4e42001732d805539548e9d92989 |
|
BLAKE2b-256 | 89e9da57e195b70ea0b8326925559c95638327e3ed71a83a070f824c4beda775 |