Skip to main content

Collect, store, and analyze AI usage data across modalities

Project description

sigil

Collect, store, and analyze your AI usage data from Claude Code and OpenAI Codex CLI.

Install

pip install sigil-ai

Quick Start

# See all available commands
uvx --from sigil-ai sigil --help

# Interactive config setup
uvx --from sigil-ai sigil init

# Push session data (auto-detects ~/.claude/projects/ and ~/.codex/sessions/)
uvx --from sigil-ai sigil push

# Incremental push is the default — use --full to re-push everything
uvx --from sigil-ai sigil push --full

Storage Backends

Configure via sigil init or ~/.sigil/config.toml. Three backends are supported:

Backend Use case Config key
local (default) Parquet files in ~/.sigil/rows/
iceberg Apache Iceberg via REST catalog [iceberg]
clickhouse ClickHouse Cloud/self-hosted [clickhouse]

Environment variables (SIGIL_*) can override any config value. See .env.template for the full list.

Configuration

# ~/.sigil/config.toml
storage_backend = "clickhouse"

[iceberg]
catalog_name = "default"
catalog_uri = "http://localhost:8181"
warehouse = "s3://bucket/warehouse"

[clickhouse]
host = "localhost"
database = "sigil"
user = "default"
password = ""

Development

uv run pytest              # Run tests
uv run ruff check src/     # Lint
uv run sigil --help        # CLI help

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

sigil_ai-1.1.0.tar.gz (121.0 kB view details)

Uploaded Source

Built Distribution

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

sigil_ai-1.1.0-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file sigil_ai-1.1.0.tar.gz.

File metadata

  • Download URL: sigil_ai-1.1.0.tar.gz
  • Upload date:
  • Size: 121.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for sigil_ai-1.1.0.tar.gz
Algorithm Hash digest
SHA256 72aa32a614d7b05d01e548ca4e2a64b8049d396bd18ec0b056aeb427cb1069fd
MD5 0065375603ee1f1e671a690ef968ffd0
BLAKE2b-256 3156f4105a786ba14c2fb6ea8f0b27aa69adedfcdbcafc5a68bffca97299bf0a

See more details on using hashes here.

File details

Details for the file sigil_ai-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: sigil_ai-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for sigil_ai-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 456a89d68d42d62dba997fe5e59499251788deb5ae6977fa322b2a534eb3d4f8
MD5 50b0d633e7d86b74245b61fb40b32d89
BLAKE2b-256 a71497c2eb5569a1978e4133982dcd9983a964e789de5c9736e6ff904db688cc

See more details on using hashes here.

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