Skip to main content

LIbAM - A Standardized Graph Alignment Library

Project description

LIbAM

LIbAM

A Standardized Graph Alignment Library

Documentation · MIT License


Install

uv add libam        # or: pip install libam

Requires Python >= 3.12. Wheels target Linux x86-64.

Access datasets simply with zero setup

Bundled datasets fetch themselves the first time you touch them.

Algorithms

Every algorithm below can be constructed from libam.algorithms and run with the same .align() call. Names link to the source research.

Algorithm Source
FUGAL - Feature-fortified Unrestricted Graph Alignment link
GRAMPA - Spectral graph matching by pairwise eigen-alignments link
GRAMPA-S - spectral variant of GRAMPA link
CONE-Align - Consistent Network Alignment with proximity-preserving embeddings link
GWL - Gromov-Wasserstein Learning link
S-GWL - Scalable Gromov-Wasserstein Learning link
Path - A Path Following Algorithm for graph matching link
IsoRank - Global alignment of protein interaction networks link
NSD - Network Similarity Decomposition link
MMNC - Multi-order Matched Neighborhood Consistent alignment link
DS++ - A tight relaxation for matching problems link
FGOT - Graph distances based on filters and optimal transport link
GOT - An Optimal Transport framework for graph comparison link
GRASP - Scalable Graph Alignment by spectral corresponding functions link
KLAUS - A graph-based method for pairwise global network alignment link
LREA - Low Rank Spectral Network Alignment link
MDS - Unsupervised Manifold Alignment with joint multidimensional scaling link
Net-Align - Message-passing algorithms for sparse network alignment link
PARROT - Position-Aware Regularized Optimal Transport link
REGAL - Representation Learning-based Graph Alignment link
Grad-Align+ - Gradual network alignment with attribute augmentation (restricted) link
JOENA - Joint Optimal Transport and Embedding for Network Alignment (restricted) link
HTC - Higher-order Topological Consistency for unsupervised alignment (restricted) link
SlotA (restricted) link
Alpine - Partial Unlabeled Graph Alignment (restricted) link

next_align is present but raises NotImplementedError (DGL compatibility), so it is not currently constructible.

Development

uv run example/quickstart.py            # run the quickstart end-to-end
uv run pytest -n auto                   # test suite (parallel)
uv run ruff check --output-format=concise   # lint
uv run ty check --output-format=concise     # type-check
uv build                                # build wheels into dist/
uv run --group docs make -C docs html   # build the docs

License

MIT

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

libam-1.0.0.tar.gz (167.0 kB view details)

Uploaded Source

Built Distribution

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

libam-1.0.0-py3-none-any.whl (216.6 kB view details)

Uploaded Python 3

File details

Details for the file libam-1.0.0.tar.gz.

File metadata

  • Download URL: libam-1.0.0.tar.gz
  • Upload date:
  • Size: 167.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Zorin OS","version":"18","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for libam-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b9bf58d73bd8d5f4c9f0a2dbba639d5062bf85264abab2439caadbf2192816a6
MD5 74dd9a04805563659323b2eebc1cb87c
BLAKE2b-256 c02f2ed14053ba7c2111ad2531e0fbb19bd09b8ecc0a8c5754d8fdfb24303807

See more details on using hashes here.

File details

Details for the file libam-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: libam-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 216.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Zorin OS","version":"18","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for libam-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f2b82a8f79dc76fa8bb6f0da8a8cc88447fd793b861b7e52f5c53d37aeb736be
MD5 ab8f4214ae1a80cc8866efafd532a7d3
BLAKE2b-256 3a80f20cdfb91c093918edb277b4d6c84776369ec3f72796090fec63b21f916f

See more details on using hashes here.

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