Skip to main content

Git-backed issue tracking for coding agents and humans

Project description

grite-cli

License: MIT PyPI Build Status

Git-backed issue tracking for coding agents and humans — distributed via PyPI.

This package provides the grite and grite-daemon binaries as a pip-installable Python package. It is a thin wrapper around the native Rust binaries, automatically downloading the correct platform-specific binary during installation.


Installation

# Install globally
pip install grite-cli

# Or install in a virtual environment
python -m venv .venv
source .venv/bin/activate
pip install grite-cli

Usage

Once installed, the grite and grite-daemon commands are available in your PATH:

# Initialize grite in a git repository
grite init

# Create an issue
grite issue create --title "Fix race condition" --label bug

# List issues
grite issue list

# Add a comment
grite issue comment <issue-id> --body "Working on this"

# Close an issue
grite issue close <issue-id>

# Sync with remote
grite sync

Supported Platforms

Platform Architecture Status
macOS x86_64, ARM64, Universal Supported
Linux x86_64, ARM64 (glibc + musl) Supported
Windows x86_64, ARM64 Planned

The install script automatically detects your platform and downloads the appropriate binary.

Requirements

  • Python 3.8 or later
  • Git 2.38 or later

How It Works

This Python package contains a post-install hook that runs during pip install. It:

  1. Detects your operating system and CPU architecture
  2. Downloads the matching pre-built binary from GitHub Releases
  3. Places the binary in a platform-specific directory within the package
  4. Creates entry-point scripts for grite and grite-daemon

No compilation is required. The binaries are pure native code with zero runtime dependencies.

Python API

While this package primarily provides CLI binaries, you can also invoke grite programmatically from Python:

import subprocess
import json

# List issues as JSON
result = subprocess.run(
    ["grite", "issue", "list", "--json"],
    capture_output=True,
    text=True,
    check=True,
)
issues = json.loads(result.stdout)
for issue in issues:
    print(f"{issue['id']}: {issue['title']}")

For deeper integration, consider using the Rust library libgrite-cli via PyO3 or calling the JSON CLI interface.

Documentation

For full documentation, including architecture, API reference, and advanced usage, see the main project:

License

MIT — see LICENSE for details.

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

grite_cli-0.5.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

grite_cli-0.5.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file grite_cli-0.5.1.tar.gz.

File metadata

  • Download URL: grite_cli-0.5.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","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 grite_cli-0.5.1.tar.gz
Algorithm Hash digest
SHA256 3dd67a0ff5be8c40b7a6327a80020db7783fb9522466af55a7226cc4242a6b0e
MD5 33ea7906e9929b9b7dd92fbe79157432
BLAKE2b-256 e239f7170978104e6bf1da22ac87dedeafb428aea0059103d15b50ed345063af

See more details on using hashes here.

File details

Details for the file grite_cli-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: grite_cli-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","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 grite_cli-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a524feeab57158d2ff186e8f4a42fa43c3b0cbbeac78e50fb52fbdde0dd5e5e2
MD5 fa507eddaddad41d1b18a8e27238908a
BLAKE2b-256 3219c57fb857cf441526d10e55c3cabb4cdf0c621639ac5e9ca57904d0fa347c

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