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
Release files for repols 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| repols-1.1.2.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| repols-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.8 kB
Release files / repols-1.1.2.tar.gz
| Download URL | repols-1.1.2.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab94d3265eb0f97f2817f23bdb8b2c62daae7dc5295941cca48a3d4f2eb565da
|
|
BLAKE2b-256 checksum How to use checksums |
e5f539fb1689e6ba21b61b881919aefc825e97692c9c68d3b80fe60101c8fa6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / repols-1.1.2-py3-none-any.whl
| Download URL | repols-1.1.2-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ebfed95fdcb9b9e3e4918551272ef6ab2f848673762a85eb3625db35f546bc5c
|
|
BLAKE2b-256 checksum How to use checksums |
bb29b93fd718ec6393a010aa944f78693d45c23f41fc582f7d023589672a3a4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|