Skip to main content

Persistent storage, dedup, metadata queries, and semantic search for acatome bundles

Project description

acatome-store

Persistent storage, deduplication, metadata queries, and semantic search for scientific paper bundles.

Features

  • SQLAlchemy ORM — portable across SQLite, Postgres, MySQL
  • Refs + Papers split — identity table (refs) separate from ingested content (papers)
  • Citation graph — directed citing → cited edges, works for ingested + stub papers
  • Supplements — ingest supplementary PDFs with scoped block retrieval
  • Retractions — flag papers as retracted with notes
  • Vector search — ChromaDB (default) or pgvector (zero text duplication)
  • CLIacatome-store command for ingest, query, retract, and stats

Installation

uv pip install -e .

With Postgres support:

uv pip install -e ".[postgres]"

Usage

from acatome_store import Store

store = Store()
ref_id = store.ingest(bundle_path)
paper = store.get(ref_id)
results = store.search_text("transformer attention", top_k=5)
# hits include paper info, block summaries, and text

CLI

acatome-store ingest /path/to/bundle.acatome
acatome-store stats
acatome-store retract doi:10.1234/fake --note "Fabricated data"

Testing

uv run python -m pytest tests/ -v

License

LGPL-3.0-or-later — see LICENSE.

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

acatome_store-0.5.0.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

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

acatome_store-0.5.0-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file acatome_store-0.5.0.tar.gz.

File metadata

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

File hashes

Hashes for acatome_store-0.5.0.tar.gz
Algorithm Hash digest
SHA256 702377d864da6e9cf15926579cc785016b96d0cf61f6591459d4182df4a8a4b7
MD5 b830ab4e36d1c29a9fcb4b13cad762da
BLAKE2b-256 905420d8c68b0831adcbdd9d462b7bb095060cc74f3a51fc09665ebc92785981

See more details on using hashes here.

Provenance

The following attestation bundles were made for acatome_store-0.5.0.tar.gz:

Publisher: publish.yml on retospect/acatome-store

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

File details

Details for the file acatome_store-0.5.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for acatome_store-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 34427e857cd1a0015bcec04f11190f9ffb65220c292ca0f7951e0bae893530a9
MD5 6f0d460fd761289465f28a29c71142d5
BLAKE2b-256 5d2e5d80dffc10b3e3e156b4029ff4c1c4cb95fc2a68e52af8427a767e8ccbce

See more details on using hashes here.

Provenance

The following attestation bundles were made for acatome_store-0.5.0-py3-none-any.whl:

Publisher: publish.yml on retospect/acatome-store

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