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

uv tool install .

Quick Start

# Interactive config setup
sigil init

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

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

# Analyze usage
sigil analyze --period 30d
sigil analyze --format json
sigil analyze --format markdown

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

See sigil --help for full options.

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.0.0.tar.gz (124.1 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.0.0-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sigil_ai-1.0.0.tar.gz
  • Upload date:
  • Size: 124.1 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.0.0.tar.gz
Algorithm Hash digest
SHA256 4cf0df68254cc3bbed7bf449b9d05277386cbc9f3acb6b52e2c3d2c583706534
MD5 4eaaf22664d34c5c237a3f2860eb5e6e
BLAKE2b-256 782fbad7b00083348fca5388907d2f1599ee441c4159706823eb54b8a7ea7774

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sigil_ai-1.0.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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eabe8343769ab2e9c48682a652db024cce75bce668c692e10abd0804bc92a5d7
MD5 42824621c4e748203e4efeeae7814b2c
BLAKE2b-256 cf048a5da7f758a729006dd7f95f574414bc9e1e4c0f7c94513e65cb3aeca79f

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