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.0.tar.gz
(79.2 kB
view details)
Built Distribution
frid-0.2.0-py3-none-any.whl
(88.9 kB
view details)
File details
Details for the file frid-0.2.0.tar.gz
.
File metadata
- Download URL: frid-0.2.0.tar.gz
- Upload date:
- Size: 79.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 | 80d252f8b137d29695e0dfb17297de6bacb7c58fc51cddf6afa2009ac0de5f03 |
|
MD5 | 2aae8448096cb8257c7bcd24b42a4d7b |
|
BLAKE2b-256 | 8178e1de94bf67c0dd922b0eb1fc03d388fb4247794679c3385c42ef0d87bfc1 |
File details
Details for the file frid-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: frid-0.2.0-py3-none-any.whl
- Upload date:
- Size: 88.9 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 | 8351b41fd229a993347a5bf737d7504576a3ca43d13fcd98b150e3f2beb9fa2d |
|
MD5 | 781c851171060b18e4b5c4ce187bad30 |
|
BLAKE2b-256 | e960c0b46f15714095bbe7a1756cf4773438ef92879f72c10d21cbfc47c2a453 |