Library and command-line application to interact with datasets in the Aachen Higher-Order Repository of Networks.
Project description
ahorn-loader
Library and command-line application to interact with datasets in AHORN.
Usage
ahorn-loader is both a command-line application and a Python package to interact with the AHORN repository for higher-order datasets.
Command-Line Usage
To install and use ahorn-loader from the command line, you can run the following command:
uvx ahorn-loader [command] [args]
Commands include:
ls: List available datasets in AHORN.download: Download a dataset from AHORN.validate: Validate a specific dataset file (e.g., before adding it to AHORN).
To get a full help of available commands and options, run ahorn-loader --help.
Python Package Usage
To use ahorn-loader as a Python package, you can install it via pip (or some other package manager of your choice):
pip install ahorn-loader
Then, you can use it in your Python scripts:
import ahorn_loader
# Download the latest revision of a dataset:
ahorn_loader.download_dataset("dataset_name", "target_path")
# Download a specific revision of a dataset:
ahorn_loader.download_dataset("dataset_name", "target_path", revision=3)
# Download and read a dataset:
# The dataset will be stored in your system's cache. For a more permanent storage
# location, use `ahorn_loader.download_dataset` instead.
with ahorn_loader.read_dataset("dataset_name") as dataset:
for line in dataset:
...
# Validate a specific dataset (e.g., before adding it to AHORN):
ahorn_loader.validate_dataset("path_to_dataset_file")
Funding
Funded by the European Union (ERC, HIGH-HOPeS, 101039827). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.
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 ahorn_loader-0.7.0.tar.gz.
File metadata
- Download URL: ahorn_loader-0.7.0.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5180b4946401ee6a1db92db016ce172aa382bcf457ece8d5ce574a12eef34db
|
|
| MD5 |
aca6107e99e313f77fb2bb19c7059c67
|
|
| BLAKE2b-256 |
a8259bb71a58e159d764cb294e9bb31598d5eb442c0074cd4e561150750ad058
|
Provenance
The following attestation bundles were made for ahorn_loader-0.7.0.tar.gz:
Publisher:
publish.yml on netsci-rwth/ahorn-loader
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ahorn_loader-0.7.0.tar.gz -
Subject digest:
d5180b4946401ee6a1db92db016ce172aa382bcf457ece8d5ce574a12eef34db - Sigstore transparency entry: 1188981118
- Sigstore integration time:
-
Permalink:
netsci-rwth/ahorn-loader@1ee9568eb0070f3189cf97e97c74e32649031c08 -
Branch / Tag:
refs/tags/0.7.0 - Owner: https://github.com/netsci-rwth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1ee9568eb0070f3189cf97e97c74e32649031c08 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ahorn_loader-0.7.0-py3-none-any.whl.
File metadata
- Download URL: ahorn_loader-0.7.0-py3-none-any.whl
- Upload date:
- Size: 12.2 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 |
323f8f1139ce197cf4e33169d61363833b58a8d272e3734c887f2b3cb1337329
|
|
| MD5 |
e7d7133a97430f56b06db0fdbe5aaa22
|
|
| BLAKE2b-256 |
55b19c4edde14372b9d2c64f3eb015f7e40bd09a672bb91361fe39e6cf83d807
|
Provenance
The following attestation bundles were made for ahorn_loader-0.7.0-py3-none-any.whl:
Publisher:
publish.yml on netsci-rwth/ahorn-loader
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ahorn_loader-0.7.0-py3-none-any.whl -
Subject digest:
323f8f1139ce197cf4e33169d61363833b58a8d272e3734c887f2b3cb1337329 - Sigstore transparency entry: 1188981120
- Sigstore integration time:
-
Permalink:
netsci-rwth/ahorn-loader@1ee9568eb0070f3189cf97e97c74e32649031c08 -
Branch / Tag:
refs/tags/0.7.0 - Owner: https://github.com/netsci-rwth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1ee9568eb0070f3189cf97e97c74e32649031c08 -
Trigger Event:
push
-
Statement type: