latest_tag


Namelatest_tag JSON
Version 1.0.4 PyPI version JSON
download
home_pageNone
SummaryTag fetcher for GitHub releases with optional asset filtering
upload_time2025-07-09 12:45:52
maintainerNone
docs_urlNone
authorMunywele Sammy Barasa
requires_python>=3.12
licenseMIT
keywords github releases cli automation tags
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # GitHub Release Tag Fetcher

A lightweight Python utility to fetch the **latest GitHub release tag** from a repository, with optional filtering to **exclude releases that contain specific file types** (e.g., `.apk`, `.aab`).  
Ideal for deployment pipelines or automation scripts where only clean releases are required.

---

## ✅ Features

- Fetch the latest release from any GitHub repository.
- Skip releases that include disallowed asset types.
- Write the valid release tag to a file.
- Configurable via environment variables.
- Clean logging with [loguru](https://github.com/Delgan/loguru).

---

## 🧱 Project Setup (Poetry)

### 1. Clone the Repository

```bash
  git clone https://github.com/your-org/your-repo.git
```
```bash
  cd your-repo
```

### 2. Activate the Virtual Environment

```bash
  poetry shell
```

### 3. Install Dependencies
```bash
  poetry install
```


### 4. Run
```bash
  poetry run fetch-tag
```


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "latest_tag",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": null,
    "keywords": "github, releases, cli, automation, tags",
    "author": "Munywele Sammy Barasa",
    "author_email": "sammy@munywele.co.ke",
    "download_url": "https://files.pythonhosted.org/packages/24/3e/cb3ceb60fda8363e40474b041c5655358bea8c4ad8cd0b283ec9a5bb5a60/latest_tag-1.0.4.tar.gz",
    "platform": null,
    "description": "# GitHub Release Tag Fetcher\n\nA lightweight Python utility to fetch the **latest GitHub release tag** from a repository, with optional filtering to **exclude releases that contain specific file types** (e.g., `.apk`, `.aab`).  \nIdeal for deployment pipelines or automation scripts where only clean releases are required.\n\n---\n\n## \u2705 Features\n\n- Fetch the latest release from any GitHub repository.\n- Skip releases that include disallowed asset types.\n- Write the valid release tag to a file.\n- Configurable via environment variables.\n- Clean logging with [loguru](https://github.com/Delgan/loguru).\n\n---\n\n## \ud83e\uddf1 Project Setup (Poetry)\n\n### 1. Clone the Repository\n\n```bash\n  git clone https://github.com/your-org/your-repo.git\n```\n```bash\n  cd your-repo\n```\n\n### 2. Activate the Virtual Environment\n\n```bash\n  poetry shell\n```\n\n### 3. Install Dependencies\n```bash\n  poetry install\n```\n\n\n### 4. Run\n```bash\n  poetry run fetch-tag\n```\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Tag fetcher for GitHub releases with optional asset filtering",
    "version": "1.0.4",
    "project_urls": null,
    "split_keywords": [
        "github",
        " releases",
        " cli",
        " automation",
        " tags"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "86bcf950b6c38cc73af2b44d8753b3a6dc629a79312f8c00058cde11f0a82a94",
                "md5": "927cf73933631ffb2a3cf1ee894b9ea5",
                "sha256": "4a0ab0fe041f0fbe3a8290d07e4d48ff342ba4453ddfb4dd7950de830104b677"
            },
            "downloads": -1,
            "filename": "latest_tag-1.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "927cf73933631ffb2a3cf1ee894b9ea5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 3879,
            "upload_time": "2025-07-09T12:45:51",
            "upload_time_iso_8601": "2025-07-09T12:45:51.541848Z",
            "url": "https://files.pythonhosted.org/packages/86/bc/f950b6c38cc73af2b44d8753b3a6dc629a79312f8c00058cde11f0a82a94/latest_tag-1.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "243ecb3ceb60fda8363e40474b041c5655358bea8c4ad8cd0b283ec9a5bb5a60",
                "md5": "070edeb47891151c1532fa86c5378720",
                "sha256": "856e719ff844a266c6cb0aae6c6c10d502db08bf90656c6c2209082dcdfa7e80"
            },
            "downloads": -1,
            "filename": "latest_tag-1.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "070edeb47891151c1532fa86c5378720",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 3074,
            "upload_time": "2025-07-09T12:45:52",
            "upload_time_iso_8601": "2025-07-09T12:45:52.502270Z",
            "url": "https://files.pythonhosted.org/packages/24/3e/cb3ceb60fda8363e40474b041c5655358bea8c4ad8cd0b283ec9a5bb5a60/latest_tag-1.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-09 12:45:52",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "latest_tag"
}
        
Elapsed time: 2.03763s