Metadata-Version: 2.4
Name: simple-github-releases
Version: 0.1.0
Summary: Get all releases URL from a github repo.
License-Expression: MIT
License-File: LICENSE
Author: GGN_2015
Author-email: neko@jlulug.org
Requires-Python: >=3.10
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: live_chrono
Requires-Dist: requests
Description-Content-Type: text/markdown

# simple_github_releases
Get all releases URL from a github repo.

## Install

```bash
pip install simple_github_releases
```

## Usage

```python
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)}")
```

