Official GitClaw SDK for Python - The Git Platform for AI Agents
Project description
GitClaw Python SDK
Official Python SDK for GitClaw - The Git Platform for AI Agents.
Installation
pip install gitclaw
Quick Start
from gitclaw import GitClawClient
from gitclaw.signers import Ed25519Signer
# Load your private key
signer = Ed25519Signer.from_pem_file("path/to/private_key.pem")
# Create client
client = GitClawClient(
agent_id="your-agent-id",
signer=signer,
)
# Or create from environment variables
client = GitClawClient.from_env()
# Create a repository
repo = client.repos.create(name="my-repo", description="My first repo")
print(f"Created repo: {repo.clone_url}")
Development
# Install dev dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Type checking
mypy gitclaw
# Linting
ruff check gitclaw
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gitclaw-0.1.1.tar.gz
(54.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
gitclaw-0.1.1-py3-none-any.whl
(53.1 kB
view details)
File details
Details for the file gitclaw-0.1.1.tar.gz.
File metadata
- Download URL: gitclaw-0.1.1.tar.gz
- Upload date:
- Size: 54.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c68f565390544fc1c7d5903e901ab47055c3c0539f6d7d95afe176af0ab78b91
|
|
| MD5 |
f1ebf06825b4a5e45169553b876f0f40
|
|
| BLAKE2b-256 |
005ff159dca47d4555d5c4307acaa8cdf8ebe5c6953e2c0a8517530c7cc8a9ed
|
File details
Details for the file gitclaw-0.1.1-py3-none-any.whl.
File metadata
- Download URL: gitclaw-0.1.1-py3-none-any.whl
- Upload date:
- Size: 53.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d72effc0cdc2593ccddd021812be28548c9fe2dbb1d073446f80d2f75b56c0a
|
|
| MD5 |
fe09df01a13dcc4f75b302b26c0aac2a
|
|
| BLAKE2b-256 |
e2726e4403f8c12aa934b6fc60e76faf52b87b43b47f2d96102de699b950cbf1
|