Skip to main content

github-rest-cli

PyPI Python CI License: MIT

A Python CLI for common GitHub REST API operations—list and inspect repositories, create or delete them, manage Dependabot security settings, and create deployment environments.

Installation

With pip:

pip install github-rest-cli

With uv:

uv pip install github-rest-cli

Requires Python 3.11.5 or newer.

Authentication

See Authentication for PAT scopes and how to set GITHUB_AUTH_TOKEN (or .secrets.toml).

For API URL overrides, settings files, and Dynaconf environments, see Configuration.

Quick start

github-rest-cli --version
github-rest-cli --help
github-rest-cli repo list
github-rest-cli repo get --name my-repo
github-rest-cli repo create --name my-new-repo --private

Commands

Full command reference: CLI guide.

github-rest-cli repo --help
github-rest-cli dependabot --help
github-rest-cli environment --help

Contributing

See CONTRIBUTING.md for local development, testing, linting, and Dynaconf tooling.

Metadata

Release files for github-rest-cli 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for github-rest-cli 2.0.0
File Size Uploaded Provenance Actions
github_rest_cli-2.0.0.tar.gz 30.1 kB Without provenance Details for github_rest_cli-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for github-rest-cli 2.0.0
File Interpreter ABI Platform Actions
github_rest_cli-2.0.0-py3-none-any.whl Python 3 none any Details for github_rest_cli-2.0.0-py3-none-any.whl

Total release size: 39.2 kB

Release files / github_rest_cli-2.0.0.tar.gz

Download URL github_rest_cli-2.0.0.tar.gz
Size 30.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a8289cecbf519d7603b01a8e260ac29286171b85428c396f21689c3a78900fb0
BLAKE2b-256 checksum
How to use checksums
f286b00f5156ed2c0c65b85c09932d9d5fb92ed442e5c1c0aa85e1cdd41a7bdc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.30 {"installer":{"name":"uv","version":"0.11.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / github_rest_cli-2.0.0-py3-none-any.whl

Download URL github_rest_cli-2.0.0-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1eedc49452905711b7c625edfbe80fb1ed79cb05b4ed464c410404d946ee90d9
BLAKE2b-256 checksum
How to use checksums
11583ee6380cb0dd6911664c6c1bea0fa9800c4ec1e4e0c28fd900ac41cbd074
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.30 {"installer":{"name":"uv","version":"0.11.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for github-rest-cli 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page