Skip to main content

recall-relay

recall-relay is a small, dependency-free Python client that checks a private Recall workspace before calling Gemini image generation. On a safe reuse match it returns the stored asset; on a miss it calls Gemini with the key in your local process, then captures the resulting bytes in Recall.

Install from GitHub

pip install "git+https://github.com/usv240/recall-generation-memory.git#subdirectory=sdk/python"

For local development:

pip install -e sdk/python

Configure

export RECALL_URL=https://recall-production-production.up.railway.app
export RECALL_WORKSPACE_ID=ws-...
export RECALL_WORKSPACE_KEY=save-the-one-time-key
export GEMINI_API_KEY=your-google-key

Use

recall-relay doctor
recall-relay gemini "Editorial cobalt glass product image" --tag launch --intent brand=Recall --intent format=1:1 --output hero.png

The CLI never prints credentials. gemini calls Google only after Recall?s private workspace returns a safe miss.

OpenAI image generation

Set OPENAI_API_KEY locally and run:

recall-relay openai "Editorial cobalt glass product image" --model gpt-image-1 --output hero.png

Publish to PyPI

The repository includes a secure GitHub Trusted Publishing workflow at .github/workflows/release.yml. Configure PyPI to trust usv240/recall-generation-memory, workflow release.yml, environment pypi, then publish a GitHub Release. No long-lived PyPI token is needed. Until then, the GitHub pip install command above installs the exact public source.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

recall_relay-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

recall_relay-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file recall_relay-0.1.0.tar.gz.

File metadata

  • Download URL: recall_relay-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for recall_relay-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8df9987b5b564adf97eaa3f135383fd54dbd384fdc0de1fa20ba119638686a53
MD5 44f5bac7d555d89bf32a55e5d05bbc40
BLAKE2b-256 d01bd4bf8ed875f2ac14920833ce3efb1d43b9fa821f585c813abb5dbf14169d

See more details on using hashes here.

Provenance

The following attestation bundles were made for recall_relay-0.1.0.tar.gz:

Publisher: release.yml on usv240/recall-generation-memory

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

File details

Details for the file recall_relay-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: recall_relay-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for recall_relay-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e4b98e40ba38e18e986b71e7c11f23b2378c3976c1249a6fce673494488bd345
MD5 7801a1a49a2c9edf9dafcffd54b60245
BLAKE2b-256 8cc9dfbd28d47872db1b27fe4aab5ba3ac7bc57ce05a3564e3cf24a7acc1dfb5

See more details on using hashes here.

Provenance

The following attestation bundles were made for recall_relay-0.1.0-py3-none-any.whl:

Publisher: release.yml on usv240/recall-generation-memory

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

Release history Release notifications | RSS feed

0.1.1

2 files

This release

0.1.0 This release

2 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