Tiny library that parses and generates text containing lists of records.
Project description
Trivial Records
A tiny library to parse and generate text containing lists of records.
Why not just JSON?
It's a bit more convenient for the human; easier to write and read this:
Refactoring
author Martin Fowler
publisher Addison-Wesley
A Philosophy of Software Design
author John Ousterhout
publisher Yaknyam Press
than to write and read this:
{"Refactoring": {"author": "Martin Fowler", "publisher": "Addison-Wesley"}, "A Philosophy of Software Design": {"author": "John Ousterhout", "publisher": "Yaknyam Press"}}
or write this:
{
"Refactoring": {
"author": "Martin Fowler",
"publisher": "Addison-Wesley"
},
"A Philosophy of Software Design": {
"author": "John Ousterhout",
"publisher": "Yaknyam Press"
}
}
What does it offer?
Not much, it's really trivial.
Functions stream_to_record_dictionary and string_to_record_dictionary give you a Python dictionary.
Functions record_dictionary_to_string_generator and record_dictionary_to_string take the Python dictionary and give you a string.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trivial_records-0.0.4.tar.gz.
File metadata
- Download URL: trivial_records-0.0.4.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1617d894caa9855b0c59937730ace05651f18e1b01acc2247a6ae4b60a8c027
|
|
| MD5 |
abc6b25d0ec70878d48087a57c7d23f3
|
|
| BLAKE2b-256 |
d04c2ec42cbf5d8e0bdedf9579bcd4718b683678a432ee161a41c14fa39da65f
|
Provenance
The following attestation bundles were made for trivial_records-0.0.4.tar.gz:
Publisher:
publish.yml on leonardo-nobrega/trivial-records
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
trivial_records-0.0.4.tar.gz -
Subject digest:
c1617d894caa9855b0c59937730ace05651f18e1b01acc2247a6ae4b60a8c027 - Sigstore transparency entry: 769253861
- Sigstore integration time:
-
Permalink:
leonardo-nobrega/trivial-records@aea017e7667f719a868b58710bc9dd1baacb1eb7 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/leonardo-nobrega
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@aea017e7667f719a868b58710bc9dd1baacb1eb7 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file trivial_records-0.0.4-py3-none-any.whl.
File metadata
- Download URL: trivial_records-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ecfe0ccedf6651913627cd16ba0502900dcd6ace7f210d8d87fe714e71ae6df
|
|
| MD5 |
7b3acff5659a92e9fe013e75eb8ffcd9
|
|
| BLAKE2b-256 |
b28af319acb2a2939810eb557161ec6ca60fb13df77972d9899deb87fb0f1851
|
Provenance
The following attestation bundles were made for trivial_records-0.0.4-py3-none-any.whl:
Publisher:
publish.yml on leonardo-nobrega/trivial-records
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
trivial_records-0.0.4-py3-none-any.whl -
Subject digest:
0ecfe0ccedf6651913627cd16ba0502900dcd6ace7f210d8d87fe714e71ae6df - Sigstore transparency entry: 769253865
- Sigstore integration time:
-
Permalink:
leonardo-nobrega/trivial-records@aea017e7667f719a868b58710bc9dd1baacb1eb7 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/leonardo-nobrega
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@aea017e7667f719a868b58710bc9dd1baacb1eb7 -
Trigger Event:
workflow_dispatch
-
Statement type: