Skip to main content

Runtime SDK for the Caravan application-definition compiler. Pre-release placeholder.

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.0.1.tar.gz (6.2 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.0.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: caravan_rpc-0.0.1.tar.gz
  • Upload date:
  • Size: 6.2 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.0.1.tar.gz
Algorithm Hash digest
SHA256 d6f791d170a90137622036f368465a3587a6bae7de2e3a956854100293cab94c
MD5 9ccc1b251b1162295e24057bcacdff81
BLAKE2b-256 007a24767912f3cff69576aeed3e26984fc17a1c79b69d99aa60112c21024087

See more details on using hashes here.

Provenance

The following attestation bundles were made for caravan_rpc-0.0.1.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.0.1-py3-none-any.whl.

File metadata

  • Download URL: caravan_rpc-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.9 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.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3253f906180f281fd002e3020b46e70800febea9fe4b2057ccd3628f7aa22d94
MD5 b3f74aa94c8f8f333be29fafc117aded
BLAKE2b-256 6a3cae93a48568c2b6938ae2f3b8ef95d4fb305000d57f38f75d47412be09af3

See more details on using hashes here.

Provenance

The following attestation bundles were made for caravan_rpc-0.0.1-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