Skip to main content

Runtime SDK for the Caravan application-definition compiler.

Project description

caravan-rpc (Python) — Pre-release placeholder

Runtime SDK for the Caravan application-definition compiler.

Status: 0.0.1 pre-release placeholder. This release reserves the PyPI name. The functional SDK lands at 0.1.0.

What is Caravan?

Caravan is an application-definition compiler. The same source code deploys across packaging (inproc / container / lambda) × placement (compose / Fargate / Lambda / Batch) × composition (oss-local / cloud-managed) axes by yaml-line changes alone — no source-code edits.

Read the thesis for the full pitch and the PoC RPC SDK spec for what this package will become.

When 0.1.0 ships

from caravan_rpc import wagon, provide, client

@wagon
class LLMExtraction:
    def extract(self, ocr_text: str) -> dict: ...

# provider side
class GeminiExtractor(LLMExtraction):
    def extract(self, ocr_text):
        ...

provide(LLMExtraction, GeminiExtractor())

# caller side — dispatches inproc / http / lambda per CARAVAN_RPC_PEERS
extractor = client(LLMExtraction)
result = extractor.extract(text)

The 0.0.1 placeholder provides import-clean stubs but client() raises NotImplementedError — it's not functional yet.

Roadmap

  • 0.0.1 (this release): reserve PyPI name, import-clean stubs.
  • 0.1.0: functional runtime. @wagon, provide, client work with CARAVAN_RPC_PEERS env-var dispatch. See development_plan.md milestones B0–M3.

License

Apache-2.0. 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

caravan_rpc-0.1.0.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

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

caravan_rpc-0.1.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for caravan_rpc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1197d76ebeef77e512512ec8657ce3a5a2b6e05dc57381e1b02f108122a6556a
MD5 6303849696517d1a8a8bcb53464a49b6
BLAKE2b-256 aaafb890076d5693facb0e5872b5207a30bc06e923348efd9f95ffb47ec2a221

See more details on using hashes here.

Provenance

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

Publisher: publish-py-sdk.yml on paulxiep/caravan

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

File details

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

File metadata

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

File hashes

Hashes for caravan_rpc-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b31e07ba910400a302d8b6f902df7178e1094f2c01c462f7f89928cdec834557
MD5 7f8d165482659ec2eb70fbcc4cc605e9
BLAKE2b-256 d1dfea60b56b67ec45682dd6edce07ec7e90f4c7597b12ad330c5ef3cd9030e0

See more details on using hashes here.

Provenance

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

Publisher: publish-py-sdk.yml on paulxiep/caravan

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