Skip to main content

Embedded prompt management, tracing, and evals for AI engineering teams.

Project description

artanis-gravel

The Python SDK for Gravel.

Status: v0.5.x, live on PyPI.

uvx artanis-gravel init    # or `pipx run artanis-gravel init`

See /STATUS.md for what's built and what's next.

Layout

src/artanis_gravel/
├── __init__.py             # GravelConfig, GravelUser, defineConfig
├── auto.py                 # the import-side-effect tracing entry point
├── types.py
├── schema.py               # SQLAlchemy schema (gravel_samples + gravel_feedback)
├── db/                     # connector + bootstrap
├── auth.py                 # HMAC sessions + password verify
├── _handler.py             # shared framework-agnostic route dispatcher
├── _rate_limit.py          # per-IP login rate-limit bucket
├── _github_state.py        # GRAVEL_GH_INSTALL_* env read + CP token mint
├── _github_api.py          # multi-file PR REST flow
├── _prompts_submit.py      # drafts -> manifest rewrite -> PR
├── _env_writer.py          # .env.local writer used by the install callback
├── _migrations_status.py   # /api/migrations/status helper
├── version_check.py        # /api/version helper (importlib.metadata + PyPI)
├── manifest/               # .gravel/manifest.json read/write/scan + hook
├── tracing/                # OpenAI / Anthropic / LangChain + fetch_patch
├── fastapi.py              # FastAPI adapter over _handler.dispatch_request
├── django.py               # Django gravel_urls over the same dispatcher
├── flask.py                # Flask mount_on_flask via a2wsgi (extra: flask)
├── asgi.py                 # GravelAsgiApp + gravel_wsgi_app
└── _cli.py                 # binary-downloader wrapper around the Go CLI

Schema parity

This package's SQLAlchemy schema is kept in lockstep with the TypeScript Drizzle schema in packages/sdk-ts/src/schema/. CI rejects drift.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

artanis_gravel-0.5.15-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

Details for the file artanis_gravel-0.5.15-py3-none-any.whl.

File metadata

File hashes

Hashes for artanis_gravel-0.5.15-py3-none-any.whl
Algorithm Hash digest
SHA256 6fd7e1edfd11b70c202257cdabe065a52ff31604d87d287a0bbe2b0790200f2d
MD5 e67ee1cb692e0fac857cc7bcf2e016d4
BLAKE2b-256 2a605c3d807c50d6d74d5e415a14a080cb4dd384ba54f9ff5d7e080e0932a8dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for artanis_gravel-0.5.15-py3-none-any.whl:

Publisher: publish-python.yml on artanis-ai/gravel

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