Skip to main content

CLI tool to track your GitHub contribution streaks

Project description

ghstreak

A simple CLI tool to track your GitHub contribution streaks.

Installation

pip install ghstreak

Usage

ghstreak <github_username>

Example:

ghstreak deven367

Authentication

For higher API rate limits, set your GitHub token as an environment variable:

export GITHUB_TOKEN=your_token_here

You can create a personal access token at: https://github.com/settings/tokens

Output

The tool displays:

  • Your current contribution streak (consecutive days with contributions)
  • Your previous streak (if applicable) and when it ended

Requirements

  • Python >= 3.7
  • requests >= 2.25.0
  • python-dotenv >= 0.19.0

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_streak-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

github_streak-0.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file github_streak-0.1.0.tar.gz.

File metadata

  • Download URL: github_streak-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.12

File hashes

Hashes for github_streak-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e6938efd79200bedad10936f0c892ba7d1bee3830f98552da1f9df0889b6276f
MD5 67d67ccf64c066989518d7f177eee9a4
BLAKE2b-256 0816cfa654c7221a2a8e3fa767c2dcde0a333772b6832ed78d2593a59d8854c8

See more details on using hashes here.

File details

Details for the file github_streak-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: github_streak-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.12

File hashes

Hashes for github_streak-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cfe66b51d9f1b30959d153ed4cb3a3816d5609a174edbbdb0ac6b742be480c3e
MD5 0c04991db987d0f6faa8b0ddf2612f06
BLAKE2b-256 f2f7dc4f1ae99ba4c3d98777d0208d75d4311006b3eeeb53a6c4dff81a24496f

See more details on using hashes here.

Supported by

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