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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file artanis_gravel-0.5.20-py3-none-any.whl.
File metadata
- Download URL: artanis_gravel-0.5.20-py3-none-any.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eea6efaf52d23d7ecc6d846a917525b665388a204d9d996facf6ad4d646b4740
|
|
| MD5 |
538a880d45f7739a847394039a1e49e7
|
|
| BLAKE2b-256 |
f19402c5bc3c1d4dc055e3b5726bb0245123456ca97597a085cdb6e80bdcc301
|
Provenance
The following attestation bundles were made for artanis_gravel-0.5.20-py3-none-any.whl:
Publisher:
publish-python.yml on artanis-ai/gravel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
artanis_gravel-0.5.20-py3-none-any.whl -
Subject digest:
eea6efaf52d23d7ecc6d846a917525b665388a204d9d996facf6ad4d646b4740 - Sigstore transparency entry: 1526364290
- Sigstore integration time:
-
Permalink:
artanis-ai/gravel@2bad62495f35689c0df03aed00fe93c01f14fe64 -
Branch / Tag:
refs/tags/v0.5.20 - Owner: https://github.com/artanis-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@2bad62495f35689c0df03aed00fe93c01f14fe64 -
Trigger Event:
push
-
Statement type: