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.0.8.tar.gz
(32.1 kB
view details)
Built Distribution
frid-0.0.8-py3-none-any.whl
(35.9 kB
view details)
File details
Details for the file frid-0.0.8.tar.gz
.
File metadata
- Download URL: frid-0.0.8.tar.gz
- Upload date:
- Size: 32.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2cfb5c73bbee126445c6a4dfca3c24a5dda2095a0deabed7e173eb962892a7a |
|
MD5 | d76910d4aa0eb7b61ebd81a6f6aa47da |
|
BLAKE2b-256 | abc4276f758efee3065c10b10aca27b5dcd336fd5f6766bedfb6203ed86b141b |
File details
Details for the file frid-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: frid-0.0.8-py3-none-any.whl
- Upload date:
- Size: 35.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb3eef7c734ead69dcc57efbca9dcb39c9b3032a9d09dfb76a49402e9017f962 |
|
MD5 | 907f989a2d0165651f584a5d53a5ac3d |
|
BLAKE2b-256 | c841a5f40ea0079972c0562e0ef7b805d5d82fa3c0a767f85c4e1d130552d792 |