Skip to content

v1.0.0

Choose a tag to compare

@d-oit d-oit released this 31 Dec 21:44
· 12 commits to main since this release
28123ba

Release: GitHub Repository Filter Script v1.0.0

Highlights

This initial release introduces the GitHub Repository Filter Script, a Python-based tool to list and filter public repositories based on specific criteria:

Creation year: Filters repositories created in the year specified.

Single update only: Includes repositories where created_at equals updated_at.

Public repositories only: Focuses solely on public repositories.

Features

Fetch and filter repositories using the GitHub API.

Environment variable configuration for secure access.

User-friendly output showing repository name, description, URL, and creation date.

Pagination support for handling large numbers of repositories.

Prerequisites

Python 3.7+

GitHub Personal Access Token with public_repo scope.

Python packages: requests, python-dotenv.

Setup

Clone the repository.

Configure your .env file with:

GITHUB_USERNAME

GITHUB_TOKEN

FILTER_YEAR

Run the script using:

python script_name.py

Example Output

Repositories created in 2024 with no updates:

Known Limitations

Currently supports only repositories belonging to the authenticated user.

Filters repositories with no updates after creation.

Full Changelog: https://github.com/d-oit/github-repo-summary/commits/v1.0.0