grite-cli
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:
- Detects your operating system and CPU architecture
- Downloads the matching pre-built binary from GitHub Releases
- Places the binary in a platform-specific directory within the package
- Creates entry-point scripts for
griteandgrite-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.
Metadata
Release files for grite-cli 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| grite_cli-0.5.1.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| grite_cli-0.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / grite_cli-0.5.1.tar.gz
| Download URL | grite_cli-0.5.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3dd67a0ff5be8c40b7a6327a80020db7783fb9522466af55a7226cc4242a6b0e
|
|
BLAKE2b-256 checksum How to use checksums |
e239f7170978104e6bf1da22ac87dedeafb428aea0059103d15b50ed345063af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / grite_cli-0.5.1-py3-none-any.whl
| Download URL | grite_cli-0.5.1-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a524feeab57158d2ff186e8f4a42fa43c3b0cbbeac78e50fb52fbdde0dd5e5e2
|
|
BLAKE2b-256 checksum How to use checksums |
3219c57fb857cf441526d10e55c3cabb4cdf0c621639ac5e9ca57904d0fa347c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|