Automatically update your GitHub README with your latest GitHub statistics
Project description
GitHub README Stats
Current Version: 0.1.1
Automatically update your GitHub README with your latest GitHub statistics.
Features
- Fetch and display key GitHub user statistics
- Automatically update your README file
- Customizable stat display
- Easy to integrate with GitHub Actions for automatic updates
Installation
pip install github-readme-stats
Quick Start
- Create a GitHub Personal Access Token with
repo
scope. - Add the following Python script to your project:
from github_readme_stats import GitHubStats, ReadmeUpdater
github_token = "your_github_token_here"
github_username = "your_github_username"
stats = GitHubStats(github_token, github_username)
user_stats = stats.get_stats()
updater = ReadmeUpdater("path/to/your/README.md")
updater.update(user_stats)
- Add a
<!-- GITHUB_STATS -->
placeholder in your README where you want the stats to appear.
Changelog
[0.1.1] - 2023-07-07
- Updated project description and README
- Minor bug fixes and improvements
[0.1.0] - 2023-07-06
- Initial release
- Basic GitHub stats fetching and README updating functionality
Roadmap
- Language statistics
- Contribution graph integration
- Customizable themes for stat display
- Organization-level statistics
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Links
Support
If you encounter any issues or have questions, please file an issue on the GitHub repository.
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
Built Distribution
File details
Details for the file github_readme_stats-0.1.1.tar.gz
.
File metadata
- Download URL: github_readme_stats-0.1.1.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 766c6b612f1f7e41aa81612b7003e1be09da293133290c25b3296c1824ed9d2a |
|
MD5 | 1f2954da613a80c61e9086264fe2a36e |
|
BLAKE2b-256 | 88cf8babe9fe9df8bb3eb810f4029fece4aa3f8f1e478c8e600c2be5d0b895cd |
File details
Details for the file github_readme_stats-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: github_readme_stats-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89ae176772443023122e4c44754635fdd6d636208f3d7971d092eb36db453271 |
|
MD5 | ad7434679c0a8b67a0ca6c20ecf54e51 |
|
BLAKE2b-256 | 1b60008aea782ae8d20c5f26240a66e460d0cf7bf01b2ca91807ec042dbb34ff |