simple_github_releases
Get all releases URL from a github repo.
Install
pip install simple_github_releases
Usage
from simple_github_releases import get_github_releases
REPO_OWNER = "gohugoio" # Username / Organization Name
REPO_NAME = "hugo" # Repository name
GITHUB_TOKEN = "" # Fill for private repos / rate limits, leave empty for public
# Set top_list=None to get all releases
try:
print("Fetching Release links...")
url_list = get_github_releases(REPO_OWNER, REPO_NAME, GITHUB_TOKEN, show_current_found=False, show_time=True, top_list=1)
print(f"- Total Releases found: {len(url_list)}")
print("- Latest ten releases")
for url in url_list[:10]:
print(" -", url)
except Exception as e:
print(f"Execution failed: {str(e)}")
Metadata
Release files for simple-github-releases 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| simple_github_releases-0.1.0.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| simple_github_releases-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.8 kB
Release files / simple_github_releases-0.1.0.tar.gz
| Download URL | simple_github_releases-0.1.0.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
63069a638d2cd67eb230d526e7a159d87fc65336b92e51e64c17d761f7c0a02d
|
|
BLAKE2b-256 checksum How to use checksums |
2d7560482ba4868797f15f620a50e06db14ffc9dc72eaba781403522d92873e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.11.15 Windows/10
|
Release files / simple_github_releases-0.1.0-py3-none-any.whl
| Download URL | simple_github_releases-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e3b1531d6b8d16f5f35e2142a0d33e5061643b0dd08ff3fd70a807e30977c1b
|
|
BLAKE2b-256 checksum How to use checksums |
c8d1ceae6f1e889ca2facded7d22d7aa4e094af547dd6560ea2df53b80cbfbfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.11.15 Windows/10
|