Skip to main content

fairscape-graph-tools

Storage-agnostic core for FAIRSCAPE RO-Crate graph tools — provenance-graph condensation, evidence graph construction, and AI-driven interpretation.

Both mds_python (FastAPI server, MongoDB-backed) and fairscape-cli (local RO-Crate tool) consume this package and supply their own adapters for entity lookup, result persistence, progress tracking, and software fetching.

Contents of this package (by module):

  • fairscape_graph_tools.models — Pydantic models for AnnotatedComputation, AnnotatedEvidenceGraph, EvidenceGraph (plus assumption / error / evidence types).
  • fairscape_graph_tools.pipeline.graph_utils — @graph traversal helpers (type detection, DAG ordering, ARK ID matching).
  • fairscape_graph_tools.pipeline.condense — provenance-graph condensation (condense_graph for RO-Crate-level, condense_evidence_graph_cache for evidence-graph-level).
  • fairscape_graph_tools.pipeline.stats — dataset statistics prompt formatting.
  • fairscape_graph_tools.pipeline.github — GitHub source-code fetching.
  • fairscape_graph_tools.prompts — system + synthesis prompts per audience.
  • fairscape_graph_tools.runtime — async rate limiter, retry helper, Celery-safe event loop.
  • fairscape_graph_tools.ports — GraphSource / ResultSink / TaskTracker / SoftwareFetcher Protocol definitions.
  • fairscape_graph_tools.condenser — Condenser orchestrator.
  • fairscape_graph_tools.interpreter — Interpreter orchestrator.
  • fairscape_graph_tools.evidence_graph_builder — EvidenceGraphBuilder orchestrator.

This package was renamed from fairscape_interpret on 2026-04-21 to reflect the broader scope beyond AI interpretation. See MIGRATION.md and EVIDENCE_GRAPH_MIGRATION.md for migration history and pending work.

Release files for fairscape-graph-tools 0.2.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 fairscape-graph-tools 0.2.0
File Size Uploaded
fairscape_graph_tools-0.2.0.tar.gz 53.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fairscape-graph-tools 0.2.0
File Interpreter ABI Platform
fairscape_graph_tools-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 110.8 kB

Release files / fairscape_graph_tools-0.2.0.tar.gz

Download URL fairscape_graph_tools-0.2.0.tar.gz
Size 53.1 kB
Tags Source
SHA-256 checksum
How to use checksums
39e4300bcfd2ce032db3de7d830ec501c4a4eda16c6d25f80bbb79f0467b102b
BLAKE2b-256 checksum
How to use checksums
e9ff390303fb73fc24a4050f3f6671b25cbf86e5570deb34d736c4d25f12ff1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.7

Release files / fairscape_graph_tools-0.2.0-py3-none-any.whl

Download URL fairscape_graph_tools-0.2.0-py3-none-any.whl
Size 57.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
03bba285f475176186bcb5e2848d6154ca4cf56cf5b2ccca53165d6cd6f52368
BLAKE2b-256 checksum
How to use checksums
64f7939b4b3a719c84f1360288ea9fd519f5f7a82c072b1773d149afd32ef194
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.7

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

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