Skip to main content

coconut-collector

CoconutLabs Burn Summary CLI — reads local Claude Code / Codex session logs and emits a cost summary for coconutlabs.xyz.

coconut-collector CLI demo

Security: only token counts, timestamps, and salted project hashes are read. Prompts, source code, and file contents are never read or uploaded. See coconutlabs-verification-model.md.

Install

pip install coconut-collector

Run

# Scan standard log paths (~/.claude, ~/.codex) — this week
coconut-collector

# Explicit home directory (same result for most users)
coconut-collector ~/

# All-time aggregate
coconut-collector --period all

# Output as JSON for upload
coconut-collector --json > burn-summary.json

Then upload burn-summary.json at coconutlabs.xyz to appear on the leaderboard.

Options

usage: coconut-collector [PATH] [--period {day,week,month,year,all}] [--json]

positional arguments:
  PATH        Root directory to scan for logs (default: standard install paths)

options:
  --period    Calendar window to aggregate (default: week)
  --json      Print envelope JSON instead of a human table
  --help      Show this message and exit

Metadata

Release files for coconut-collector 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coconut-collector 0.1.0
File Size Uploaded Provenance Actions
coconut_collector-0.1.0.tar.gz 26.6 kB Without provenance Details for coconut_collector-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for coconut-collector 0.1.0
File Interpreter ABI Platform Actions
coconut_collector-0.1.0-py3-none-any.whl Python 3 none any Details for coconut_collector-0.1.0-py3-none-any.whl

Total release size: 41.2 kB

Release files / coconut_collector-0.1.0.tar.gz

Download URL coconut_collector-0.1.0.tar.gz
Size 26.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d5fa1bd7e88b09175b8a6ec44e1130c3a07ce61ea76518fb850f39564431e26e
BLAKE2b-256 checksum
How to use checksums
720bb32d23cf31079bf01ea8f9b98d805c47411aeedd166f193d7796c8cf6350
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / coconut_collector-0.1.0-py3-none-any.whl

Download URL coconut_collector-0.1.0-py3-none-any.whl
Size 14.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b3fdccfc9ba9ba7b3e3ca1bbe5c34283e9d92d06c1783727a2cc10cfc149178
BLAKE2b-256 checksum
How to use checksums
5ecce143e4d600a0e45a4d2cd38b1fe0eb03fe4170da5facea1bd6645727485e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Security for coconut-collector 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page