Skip to main content

List GitHub repositories filtered by team

Project description

repols is a CLI application that lists GitHub repositories and optionally repository metadata.

Installation

Create a GitHub personal access token. The application reads the value of your token from standard input each time you run it.

The application is available at PyPI. Install it from there using the following command:

pip install repols

You can also install directly from the source code by issuing the following command in the project root:

pip install .

Usage

By default, the application simply outputs a list of repository names. The following command will pipe the list to a file:

repols ORGANISATION TEAM > CSV_FILE

If the include option is used, the application outputs the fields indicated by the user instead. The following example, for instance, will display a list containing the repository names and information on whether the repositories have been archived.

repols  --include name --include archived ORGANISATION TEAM > CSV_FILE

Any of the following fields can be included: "archived", "created_at", "description", "name".

The application reads the personal access token from standard input. In the following example the password is piped from a password manager:

pass git-pat | repols ...

Type the following command for more documentation:

repols --help

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

repols-1.1.2.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

repols-1.1.2-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file repols-1.1.2.tar.gz.

File metadata

  • Download URL: repols-1.1.2.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for repols-1.1.2.tar.gz
Algorithm Hash digest
SHA256 ab94d3265eb0f97f2817f23bdb8b2c62daae7dc5295941cca48a3d4f2eb565da
MD5 8a0daa87666cc29171923ef4fe15e971
BLAKE2b-256 e5f539fb1689e6ba21b61b881919aefc825e97692c9c68d3b80fe60101c8fa6b

See more details on using hashes here.

File details

Details for the file repols-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: repols-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for repols-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ebfed95fdcb9b9e3e4918551272ef6ab2f848673762a85eb3625db35f546bc5c
MD5 436b382e95dc85f2d27e8e87e3af3424
BLAKE2b-256 bb29b93fd718ec6393a010aa944f78693d45c23f41fc582f7d023589672a3a4e

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