Skip to main content

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.

Python license

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 a dataset:
ahorn_loader.download_dataset("dataset_name", "target_path")

# 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:
        ...

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ahorn_loader-0.3.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ahorn_loader-0.3.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file ahorn_loader-0.3.0.tar.gz.

File metadata

  • Download URL: ahorn_loader-0.3.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ahorn_loader-0.3.0.tar.gz
Algorithm Hash digest
SHA256 830c55f42e4ed870b718879dad2cc7228adacdf4f9b94df2fe78e24e648c5d09
MD5 9d5a4ab13a06538b1129073bf8b0d112
BLAKE2b-256 ec9b067e4b76eab29a99a7ca510754a48306b2a0843ac7d2444ee1a95fa31ca1

See more details on using hashes here.

Provenance

The following attestation bundles were made for ahorn_loader-0.3.0.tar.gz:

Publisher: publish.yml on netsci-rwth/ahorn-loader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ahorn_loader-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: ahorn_loader-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ahorn_loader-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3d9f1da49f911ed67e05fecebf3282839edbf3026570026bbce8d6c1d459f72
MD5 e3aca2799e76ae83cbfbea25ae5f2c78
BLAKE2b-256 73e6063a26c24db20070b6715680c9928646d1e68a5bb8b3317d78bdc877e9e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for ahorn_loader-0.3.0-py3-none-any.whl:

Publisher: publish.yml on netsci-rwth/ahorn-loader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page