Get all releases URL from a github repo.
Project description
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)}")
Project details
Release history Release notifications | RSS feed
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 simple_github_releases-0.1.0.tar.gz.
File metadata
- Download URL: simple_github_releases-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.4.1 CPython/3.11.15 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63069a638d2cd67eb230d526e7a159d87fc65336b92e51e64c17d761f7c0a02d
|
|
| MD5 |
f8643bccecd772189e57dfae7ccd9b01
|
|
| BLAKE2b-256 |
2d7560482ba4868797f15f620a50e06db14ffc9dc72eaba781403522d92873e2
|
File details
Details for the file simple_github_releases-0.1.0-py3-none-any.whl.
File metadata
- Download URL: simple_github_releases-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.4.1 CPython/3.11.15 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e3b1531d6b8d16f5f35e2142a0d33e5061643b0dd08ff3fd70a807e30977c1b
|
|
| MD5 |
164b46b3ef4d134ce418e863d082f3eb
|
|
| BLAKE2b-256 |
c8d1ceae6f1e889ca2facded7d22d7aa4e094af547dd6560ea2df53b80cbfbfc
|