A CLI tool to fetch GitHub repository statistics
Project description
RepoStats
A CLI tool to fetch GitHub repository statistics.
Installation
pip install repostats
Usage
# Basic usage
repostats python/cpython
# With GitHub token for higher rate limits
export GITHUB_TOKEN=your_token_here
repostats python/cpython
# Or pass token directly
repostats python/cpython --token your_token_here
Features
- Fetch repository statistics including stars, forks, issues, and more
- Support for GitHub API token authentication
- Clean, formatted output
- Cross-platform compatibility
Development
# Clone the repository
git clone https://github.com/yourusername/repostats.git
cd repostats
# Create virtual environment
uv venv
source .venv/bin/activate
# Install in development mode
uv pip install -e ".[dev]"
# Run tests
pytest
# Format code
black .
isort .
# Type checking
mypy src
License
MIT
Much of the code was written by Claude 4 LLM. The code is provided under the MIT License, allowing for free use, modification, and distribution.
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
repostats-0.1.0.tar.gz
(4.7 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
File details
Details for the file repostats-0.1.0.tar.gz.
File metadata
- Download URL: repostats-0.1.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2730b2eaa0440a1fefa001932e02d2fdc4e5d831c40029a25c523cd327c4b3b
|
|
| MD5 |
e721cba307f0d340ae2a031f5a178755
|
|
| BLAKE2b-256 |
959b980e20d61ace49fcc86e05d0af0a48cc399f3a97cb732968d19d2049bbc1
|
File details
Details for the file repostats-0.1.0-py3-none-any.whl.
File metadata
- Download URL: repostats-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfe24e1df79d1a98edf339b9d10412b8d4f192209a3bf5198c6f7caf013b60f7
|
|
| MD5 |
293cd97783195cb215fc144c06e2c024
|
|
| BLAKE2b-256 |
442563007bb5527fdfa0d6f0f84bc6cb49baf53903adc41d825a33b9e7e27356
|