Skip to main content

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

Metadata

Release files for libam 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for libam 1.0.0
File Size Uploaded Provenance Actions
libam-1.0.0.tar.gz 167.0 kB Without provenance Details for libam-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for libam 1.0.0
File Interpreter ABI Platform Actions
libam-1.0.0-py3-none-any.whl Python 3 none any Details for libam-1.0.0-py3-none-any.whl

Total release size: 383.6 kB

Release files / libam-1.0.0.tar.gz

Download URL libam-1.0.0.tar.gz
Size 167.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b9bf58d73bd8d5f4c9f0a2dbba639d5062bf85264abab2439caadbf2192816a6
BLAKE2b-256 checksum
How to use checksums
c02f2ed14053ba7c2111ad2531e0fbb19bd09b8ecc0a8c5754d8fdfb24303807
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / libam-1.0.0-py3-none-any.whl

Download URL libam-1.0.0-py3-none-any.whl
Size 216.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2b82a8f79dc76fa8bb6f0da8a8cc88447fd793b861b7e52f5c53d37aeb736be
BLAKE2b-256 checksum
How to use checksums
3a80f20cdfb91c093918edb277b4d6c84776369ec3f72796090fec63b21f916f
Upload date
Uploaded using Trusted Publishing?
What is 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}

Security for libam 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page