Skip to main content

Python companion for HoloRepo: plug-and-play sovereign DB + HoloScript KS for agent frameworks.

Project description

holoscript-holorepo

Python companion for HoloRepo: a plug-and-play sovereign GitHub + database + HoloScript knowledge store for high-volume agent frameworks.

The Python client covers the DB/KS guest surface. It reads any Postgres reachable by psql, or an explicitly configured owned node over SSH + Docker. No host, IP, or container is assumed by default.

Install

pip install holoscript-holorepo

Config

Use holorepo.config.json or env:

export HOLOREPO_DATABASE_URL="postgres://user@host:5432/app"
export PGPASSWORD="..."

For an owned node over SSH, use the jetsonExample profile as an example and set HOLOREPO_SSH, HOLOREPO_SSH_KEY, and HOLOREPO_POSTGRES_CONTAINER.

Use

holorepo-py db read knowledge "select count(*) from memory_entries"
holorepo-py ks query "storage lanes" 8
from holoscript_holorepo import query_ks, read_db

hits = query_ks("sovereign backbone", limit=5)["rows"]

Reads refuse mutations. Writes are staged by the npm client as holorepo.storage-proof.v1 and admitted by the configured operator route.

Native delivery planning, manifest generation, installer templates, and admission proofs live in the npm CLI:

holorepo delivery plan --class native-service --rail oci --rail compose
holorepo delivery manifest --class native-app --rail web-bundle --rail holoqr
holorepo delivery readback --rail pypi --name holoscript-holorepo --version 0.3.6
holorepo delivery admit --manifest delivery.manifest.json --receipt pypi-readback.json
holorepo delivery promote --admission delivery.admission.json --custody-receipt holokey:lease
holorepo delivery import --promotion-import delivery.promotion-import.json --source offline-tarball=./dist/app.tgz
holorepo delivery import --storage-adapter owned-metal --promotion-import delivery.promotion-import.json --source offline-tarball=./dist/app.tgz --destination offline-tarball=ssh://node/mnt/nvme/app.tgz --destination-digest offline-tarball=sha256:...
holorepo delivery import --storage-adapter owned-metal --promotion-import delivery.promotion-import.json --source offline-tarball=./dist/app.tgz --destination offline-tarball=scp://node/mnt/nvme/app.tgz --copy-executor scp --write

Python frameworks can consume the emitted manifest JSON while the package keeps DB/KS reads dependency-free.

Release Boundary

holoscript-holorepo is distributed under the MIT license. The compatibility label is still v0-preview: the Python companion supports config/env-driven DB/KS reads for agent frameworks, while write admission remains in the npm client and HoloGate/HoloKey operator lane. The npm client also writes delivery promotion import receipts, filesystem storage-import byte receipts, object/owned-metal destination digest proof receipts, and opt-in provider copy receipts that bind admitted mirrors back to HoloRepo custody.

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

holoscript_holorepo-0.3.6.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

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

holoscript_holorepo-0.3.6-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file holoscript_holorepo-0.3.6.tar.gz.

File metadata

  • Download URL: holoscript_holorepo-0.3.6.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for holoscript_holorepo-0.3.6.tar.gz
Algorithm Hash digest
SHA256 6bbfb79d1ef13f0a8fdc3034b3622fe1bd3ffec78d336efac04948348b08bcfb
MD5 f4d83fcc0c2bb2ded7c472eb04f0b534
BLAKE2b-256 4ab373585d995337ccfd5bc552ba3ce138b1569b0233ccf4985a832846c20d77

See more details on using hashes here.

File details

Details for the file holoscript_holorepo-0.3.6-py3-none-any.whl.

File metadata

File hashes

Hashes for holoscript_holorepo-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3b25a525977e2a21f9cfa399131d011324850eb75398781bbd39d4fd7518ff67
MD5 cccf41a3f4ccaf601fc570257d9a7541
BLAKE2b-256 cc880cc475222ad4514aa2ff4242ce5633e0a45a1c931b806478dc15e3363d0e

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