Skip to main content

A CLI tool to list GitHub sponsors of a user/organization with specified format.

Project description

list-sponsors

Summary

A CLI tool to list GitHub sponsors of a user/organization with specified format.

Installation

pip install list-sponsors

Command help

usage: list-sponsors [-h] [-V] [--name GITHUB_LOGIN_NAME] [--token GITHUB_TOKEN] [--format {md,markdown,rst,restructuredtext,html}] [--avatar-size SIZE] [--debug | --quiet]

A CLI tool to list GitHub sponsors of a user/organization with specified format.

Require a GitHub personal access token either by
--token option or GITHUB_TOKEN environment variable.

optional arguments:
  -h, --help            show this help message and exit
  -V, --version         show program's version number and exit
  --name GITHUB_LOGIN_NAME
                        login name of a GitHub user. if this option is not specified, use the login name of the GitHub personal access token.
  --token GITHUB_TOKEN  GitHub personal access token.
  --format {md,markdown,rst,restructuredtext,html}
                        defaults to markdown.
  --avatar-size SIZE    avatar size will be SIZExSIZE defaults to 48.
  --debug               for debug print.
  --quiet               suppress execution log messages.

Issue tracker: https://github.com/thombashi/list-sponsors/issues

Usage

List your sponsors:

export GITHUB_TOKEN=<PAT>
list-sponsors

Output: raw

[![onetime: Dmitry Belyaev (b4tman)](https://avatars.githubusercontent.com/u/3658062?s=48&v=4 "onetime: Dmitry Belyaev (b4tman)")](https://github.com/b4tman)
[![Charles Becker (chasbecker)](https://avatars.githubusercontent.com/u/44389260?s=48&u=6da7176e51ae2654bcfd22564772ef8a3bb22318&v=4 "Charles Becker (chasbecker)")](https://github.com/chasbecker)
[![onetime: Arturi0](https://avatars.githubusercontent.com/u/46711571?s=48&u=57687c0e02d5d6e8eeaf9177f7b7af4c9f275eb5&v=4 "onetime: Arturi0")](https://github.com/Arturi0)

Output: rendered

onetime: Dmitry Belyaev (b4tman) Charles Becker (chasbecker) onetime: Arturi0

Dependencies

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

list-sponsors-0.0.1.tar.gz (9.2 kB view hashes)

Uploaded Source

Built Distribution

list_sponsors-0.0.1-py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 3

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