Add your description here
Project description
tinycrate
A minimal RO-Crate library in Python with an emphasis on working transparently with crates on disk and crates over the network.
Usage
from tinycrate.tinycrate import TinyCrate
tc_from_json = TinyCrate(jsonld)
tc_from_url = TinyCrate(url)
tc_from_disk = TinyCrate(crate_path)
r = tc_from_url.root()
for entity in tc_from_url.all():
for prop.value in entity.items():
print(f"{prop}: {value}"")
if entity.type == "File":
contents = entity.fetch()
print(contents)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tinycrate-0.1.0.tar.gz
(53.1 kB
view details)
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 tinycrate-0.1.0.tar.gz.
File metadata
- Download URL: tinycrate-0.1.0.tar.gz
- Upload date:
- Size: 53.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
374e3678cf91b02d00e2f7831f06318802a3bcb3056ff1d85847712b9389ff7b
|
|
| MD5 |
a56092527864a0e884136f2e826d2db3
|
|
| BLAKE2b-256 |
ca8e29b23b15d46b6ba0a865eb6764b860df2fed3d8b417a99d1e01b77b6d04d
|
File details
Details for the file tinycrate-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tinycrate-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e81d080d65f0860f39cf14616e107b2e23ccaacee940fde7ad551977564be0ea
|
|
| MD5 |
8cb62ccf5a08daf75d1bedefb9322b1f
|
|
| BLAKE2b-256 |
2f1058148c9252919464f3d6814b6c861bff973f5535dbea71f282d4f96b7631
|