Ecosystem

Tools

Tools for downloading, loading, and analyzing AHORN datasets from code.

Start from AHORN

Use the loader for everyday downloads and Python scripts. If you are building services around the repository, consume the Datasets JSON API for machine-readable metadata.

ahorn-loader

Python / CLI

Download datasets from the command line or load them in Python.

View guide

Download a dataset

bash
uvx ahorn-loader download karate-club

Read from Python

python
import ahorn_loader

with ahorn_loader.read_dataset(
    "karate-club",
) as dataset:
    for line in dataset:
        print(line)

AHORN Integration

Libraries that provide a direct path from AHORN datasets into analysis workflows.

  • Open

    TopoNetX

    A Python library for higher-order network analysis, supporting simplicial and cell complexes.

    import toponetx as tnx
    
    SC = tnx.datasets.load_ahorn_dataset("karate-club")
    B1 = SC.incidence_matrix(1)

HIF Support

Libraries that align with the Hypergraph Interchange Format for exchanging higher-order network data.

  • Open

    HyperNetX

    A Python library for hypergraph analysis and visualization.

    import ahorn_loader
    import hypernetx as hnx
    
    hif_path = "cooking.hif.json.gz"
    ahorn_loader.download_dataset("cooking", hif_path, format="hif")
    
    H = hnx.from_hif(filename=hif_path)
    print(H)
  • Open
    XGI

    XGI

    A Python package for higher-order network analysis with support for hypergraphs, simplicial complexes, and related structures.

    import ahorn_loader
    import xgi
    
    hif_path = "cooking.hif.json.gz"
    ahorn_loader.download_dataset("cooking", hif_path, format="hif")
    
    H = xgi.read_hif(hif_path)
    H.cleanup()
  • Open
    Hyp

    Hypergraphx

    A library for modeling and analyzing higher-order systems, including directed, temporal, and multiplex hypergraphs.

    import ahorn_loader
    from hypergraphx.readwrite import read_hif
    
    hif_path = "cooking.hif.json.gz"
    ahorn_loader.download_dataset("cooking", hif_path, format="hif")
    
    H = read_hif(hif_path)
    print(H)

Broader Ecosystem

Related packages for simplicial complexes, topology, and adjacent higher-order analysis workflows.

  • Open
    PyT

    PyTSPL

    A Python library for topological signal processing and learning on simplicial complexes and higher-order domains.

  • Open
    GUD

    GUDHI

    A topological data analysis library with extensive support for simplicial complexes and related computational topology workflows.