Skip to main content

Automatically update your GitHub README with your latest GitHub statistics

Project description

GitHub README Stats

Current Version: 0.1.1

PyPI version License: MIT

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

  1. Create a GitHub Personal Access Token with repo scope.
  2. 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)
  1. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

github_readme_stats-0.1.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

github_readme_stats-0.1.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

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

Hashes for github_readme_stats-0.1.1.tar.gz
Algorithm Hash digest
SHA256 766c6b612f1f7e41aa81612b7003e1be09da293133290c25b3296c1824ed9d2a
MD5 1f2954da613a80c61e9086264fe2a36e
BLAKE2b-256 88cf8babe9fe9df8bb3eb810f4029fece4aa3f8f1e478c8e600c2be5d0b895cd

See more details on using hashes here.

File details

Details for the file github_readme_stats-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for github_readme_stats-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 89ae176772443023122e4c44754635fdd6d636208f3d7971d092eb36db453271
MD5 ad7434679c0a8b67a0ca6c20ecf54e51
BLAKE2b-256 1b60008aea782ae8d20c5f26240a66e460d0cf7bf01b2ca91807ec042dbb34ff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page