All Projects → kefir500 → ghstats

kefir500 / ghstats

Licence: MIT license
Python script to obtain GitHub Release download count and other statistics.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ghstats

OAD
Collection of tools and scripts useful to automate microscopy workflows in ZEN Blue using Python and Open Application Development tools and AI tools.
Stars: ✭ 90 (+190.32%)
Mutual labels:  python-script
pypi-tools
Command-line Python scripts to do things with PyPI
Stars: ✭ 18 (-41.94%)
Mutual labels:  python-script
PyStalker
Python script to see you what your friends are doing on Codeforces!
Stars: ✭ 12 (-61.29%)
Mutual labels:  python-script
FunUtils
Some codes i wrote to help me with me with my daily errands ;)
Stars: ✭ 43 (+38.71%)
Mutual labels:  python-script
heroku-flask-template
A simple, fast and easy-to-deploy Heroku ready flask web app template written in Python.
Stars: ✭ 26 (-16.13%)
Mutual labels:  python-script
Constole
Scan for and exploit Consul agents
Stars: ✭ 37 (+19.35%)
Mutual labels:  python-script
Video-to-audio-converter
A simple tool to convert video files into mp3 audio files
Stars: ✭ 40 (+29.03%)
Mutual labels:  python-script
py-problems-solutions
Implementations of various problems using Python. Dynamic Programming, BackTracking & Sorting algorithms 💻
Stars: ✭ 20 (-35.48%)
Mutual labels:  python-script
m3u8-downloader
Download the ts files according to the given m3u8 file.
Stars: ✭ 21 (-32.26%)
Mutual labels:  python-script
dra
A command line tool to download release assets from GitHub
Stars: ✭ 61 (+96.77%)
Mutual labels:  github-releases
my-libs-and-samples
☕️ Automated scripts for improving coding mood(Python/Shell)
Stars: ✭ 25 (-19.35%)
Mutual labels:  python-script
molenc
MolEnc: a molecular encoder using rdkit and OCaml.
Stars: ✭ 14 (-54.84%)
Mutual labels:  python-script
check nextcloud
Nagios/Centreon plugin for nextcloud serverinfo API (https://github.com/nextcloud/serverinfo)
Stars: ✭ 22 (-29.03%)
Mutual labels:  python-script
script.parsec
Launch Parsec from OSMC on your Raspberry Pi
Stars: ✭ 17 (-45.16%)
Mutual labels:  python-script
IoT
A repository dedicated to IoT(internet of things ) and python scripts
Stars: ✭ 24 (-22.58%)
Mutual labels:  python-script
chan
A Changelog CLI based on http://keepachangelog.com/
Stars: ✭ 74 (+138.71%)
Mutual labels:  github-releases
Awesome Python Scripts
🚀 Curated collection of Awesome Python Scripts which will make you go wow. Dive into this world of 360+ scripts. Feel free to contribute. Show your support by ✨this repository.
Stars: ✭ 198 (+538.71%)
Mutual labels:  python-script
cthulhu
Cthulhu is a simple python CLI application that streams torrents directly from various sources.
Stars: ✭ 26 (-16.13%)
Mutual labels:  python-script
tgcf
The ultimate tool to automate custom telegram message forwarding. Live-syncer, Auto-poster, backup-bot, cloner, chat-forwarder, duplicator, ... Call it whatever you like! tgcf can fulfill your custom needs.
Stars: ✭ 378 (+1119.35%)
Mutual labels:  python-script
Spydan
A web spider for shodan.io without using the Developer API.
Stars: ✭ 30 (-3.23%)
Mutual labels:  python-script

GitHub Download Stats

Build Status Code Quality Coverage Version Support License

Description

  • Python script to obtain GitHub Release download count and other statistics.
  • Can be used as both a standalone script and a Python module.

Installation

You can get ghstats using one of the following methods:

Usage

ghstats [user] [repo] [tag] [options]
ghstats [user/repo] [tag] [options]
  • Arguments:
Argument Description
user Repository owner. If not present, user will be prompted for input.
repo Repository title. If not present, user will be prompted for input.
tag Release tag name. If not present, prints the total number of downloads.
  • Options:
Option Description
-d, --detail Print detailed statistics for release(s).
-q, --quiet Print only resulting numbers and errors. Overrides -d option.
-l, --latest Get stats for the latest release. Tag argument will be ignored.
-h, --help Show help on script usage.
  • Environment Variables:
Environment Variable Description
GITHUB_TOKEN GitHub personal access token. Use to increase API request limit.

Examples

Examples for atom/atom repository:

ghstats atom atom            # Fetch download count for all releases.
ghstats atom/atom            # Fetch download count for all releases (alt. syntax).
ghstats atom atom -q         # Quiet mode (print only numerical result).
ghstats atom atom -d         # Detailed description for every release.
ghstats atom atom -l         # Fetch download count for the latest release.
ghstats atom atom -l -d      # Detailed description for the latest release.
ghstats atom atom -l -q      # Quiet mode for the latest release.
ghstats atom atom v1.0.0     # Fetch download count for "v1.0.0" release.
ghstats atom atom v1.0.0 -d  # Detailed description for "v1.0.0" release.
ghstats atom atom v1.0.0 -q  # Quiet mode for "v1.0.0" release.
ghstats                      # Get input for username and repository from user.
ghstats -h                   # Print help.

Changelog

v2.0.0

  • Add support for GitHub API pagination.
  • Drop support for Python 2.

v1.2.0

  • Fix error on empty release title (issue #5).

v1.1.1

v1.1.0

  • Fix error on Unicode titles (issue #1).
  • Fix error on draft release (issue #4).

v1.0.1

v1.0.0

  • Initial release.

License

MIT License

You are free to use, modify, distribute (including commercial purposes) as long as you credit the original author and include the license text.

License text: MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].