Skip to main content

github-download-counts

Latest Version

Usage

usage: github_download_counts.py <arguments>

Display download statistics from GitHub repositories

* Access to the GitHub API is done using your personal access token (PAT).
  See https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens
  for information about PATs.

options:
  --verbose, -v         Increase verbosity (e.g., -v, -vv, etc.)
  -t <str>, --token <str>
                        GitHub API token
  --token-file <str>    GitHub API token (read from filename)
  -r [REPOS ...], --repo [REPOS ...]
                        One or more GitHub repository/repositories (e.g., org/repo)
  --date-from <str>     Human readable date expression for beginning of search time frame (default: Jan 1 1970)
  --date-to <str>       Human readable date expression for ending of search time frame (default: now)
  --release [RELEASEREGEXES ...]
                        List of regular expressions against which to match releases (e.g., ^v24\.10)
  -a [ASSETREGEXES ...], --asset [ASSETREGEXES ...]
                        List of regular expressions against which to match release assets (e.g., ^\w+.+\.iso\.01$, ^foobar_.*\.tar\.gz$
  -i [IMAGEREGEXES ...], --image [IMAGEREGEXES ...]
                        List of regular expressions against which to match container images (e.g., ^foobar/barbaz$)
  --image-tag [IMAGETAGREGEXES ...]
                        List of regular expressions against which to match container image tags (e.g., ^24\.10)

Installation

Using pip, to install the latest release from PyPI:

python3 -m pip install -U github-download-counts

Or to install directly from GitHub:

python3 -m pip install -U 'git+https://github.com/mmguero/github-download-counts'

Prerequisites

github-download-counts requires:

Contributing

If you'd like to help improve github-download-counts, pull requests will be welcomed!

Authors

License

This project is licensed under the MIT License - see the LICENSE file for 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_download_counts-1.1.1.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

github_download_counts-1.1.1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file github_download_counts-1.1.1.tar.gz.

File metadata

  • Download URL: github_download_counts-1.1.1.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for github_download_counts-1.1.1.tar.gz
Algorithm Hash digest
SHA256 b266335bbfa8f46c4b8ab5b44572933f1e07e06ab4af01fa0ec2a0bdc3ca277b
MD5 5555394cb90c9a17cc6d137544519f06
BLAKE2b-256 1d3bbf5e8700567ce094b28745a4ac59cd39e03716327786f3c18530b0a74497

See more details on using hashes here.

File details

Details for the file github_download_counts-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for github_download_counts-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 043f41927e03917a110f0561ea52ff18dc961aab34801af41339f4da3d80b78d
MD5 739953aa54a21d287e811b811274bc6e
BLAKE2b-256 e5c42703e872bdb6f2b5b6dc38519c030412df384c4371cdef2e3c466fd7b9d1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 files

1.1.0

2 files

1.0.4

2 files

1.0.3

2 files

1.0.1

2 files

1.0.0

2 files

Supported by

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