GitHub REST API cli
Project description
GitHub REST API
Usage
Set up python package dependencies in pyproject.toml:
uv sync
After sync the project, activate virtualenv in .venv directory:
source .venv/bin/activate
To list all installed packages, run:
uv pip list
Export your GitHub PAT as environment variable:
export GITHUB_AUTH_TOKEN="<github-auth-token>"
Run cli:
github-rest-cli -h
Dynaconf
This python cli app uses dynaconf to manage secrets and environment variables.
So that you can use your secrets and environment variables declared in settings.toml or .settings.toml, use the GITHUB prefix value of envvar_prefix declared in config.py.
List all defined parameters:
just dl
Validate all defined parameters:
just dv
NOTE: To run dynaconf validate dynaconf_validators.toml should exist.
Ruff
Run lint:
just lint
Run format:
just fmt
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file github_rest_cli-1.0.0.tar.gz.
File metadata
- Download URL: github_rest_cli-1.0.0.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e15fd4051ce171a0a6ca1b7dd19966b0e67720cbecb664f899a1cc69a627cf10
|
|
| MD5 |
a709f59179f7641f90ab3e85f8c0da7d
|
|
| BLAKE2b-256 |
93c01c29de12f09a24cb398b66091220614ee8ab0e0b328289c5465a87c26cc1
|
File details
Details for the file github_rest_cli-1.0.0-py3-none-any.whl.
File metadata
- Download URL: github_rest_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b214513006082c4cfee69a80daab3e4cdf1da0c61b5307bdac353a520f35ba26
|
|
| MD5 |
8cbff507c34500d0bbf20d5fdf776ca4
|
|
| BLAKE2b-256 |
45acf45346bf31617624834e568f9b71b16df6f1d04e196d7729b3b457eeff31
|