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.3.tar.gz
(80.1 kB
view details)
Built Distribution
frid-0.2.3-py3-none-any.whl
(90.0 kB
view details)
File details
Details for the file frid-0.2.3.tar.gz
.
File metadata
- Download URL: frid-0.2.3.tar.gz
- Upload date:
- Size: 80.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6378f83a9bd227258846fb9e2fa7dc5ef093a2c23044b97def263a27dd99ffc3 |
|
MD5 | 97473e2a3e1bfd2e92dade9e5deca12f |
|
BLAKE2b-256 | 1b132e07e626cfe8e9981fbf1e28cebd5c9dad048888e4db76afdb0e2af9556f |
File details
Details for the file frid-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: frid-0.2.3-py3-none-any.whl
- Upload date:
- Size: 90.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 | 2f02396107a6d0c29a646b54d288da354cb4c40153afd0cbfce4d3a8bb1b4100 |
|
MD5 | 917c4ab3f2d5fc8841cde04b85b8dca8 |
|
BLAKE2b-256 | 086bb54d4f754412085f786ab9185c8cff8cfba24921dc0fd70f34bb280c73ab |