semvec/pypi-packages huggingface dataset:
knockr 0.0.2
A simple Python tool to quickly check if URLs are live and accessible.
Requires Python: >=3.10

# Knockr 🚪

<a href="https://pypi.org/project/knockr" target="_blank">
    <img src="https://img.shields.io/pypi/v/knockr?color=%2334D058&label=pypi%20package" alt="Package version">
</a>
<a href="https://github.com/valentincalomme/knockr/actions/workflows/ci.yml" target="_blank">
    <img src="https://github.com/valentincalomme/knockr/actions/workflows/ci.yml/badge.svg" alt="CI">
</a>
<a href="https://pypi.org/project/knockr" target="_blank">
    <img src="https://img.shields.io/pypi/pyversions/knockr.svg?color=%2334D058" alt="Supported Python versions">
</a>
<a href="https://github.com/astral-sh/uv" target="_blank">
    <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json" alt="uv">
</a>
<a href="https://github.com/astral-sh/ruff" target="_blank">
    <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="ruff">
</a>
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank">
    <img src="https://img.shields.io/badge/Material_for_MkDocs-526CFE?style=for-the-badge&logo=MaterialForMkDocs&logoColor=white" alt="Built with Material for MkDocs">
</a>

A simple Python tool to quickly check if URLs are live and accessible.
githubapiclient 0.2.0
A Python library to interact with the GitHub API
Requires Python: >=3.7


# GitHub API Client

GitHub API Client is a Python library for interacting with the GitHub API. It simplifies the process of fetching data about repositories, commits, contributors, pull requests, and README content.

## Features
- Fetch repository information
- Fetch commits by the repository owner
- Fetch contributors to a repository
- Fetch open pull requests
- Fetch and decode the README file content
- Process commit data to check if commits were made today
- Fetch repositories of a specific user

## Installation
   ```bash
   pip install githubapiclient
   ```

## Usage

### Example Code
```python
from githubapiclient import GitHubAPIClient
import json

if __name__ == "__main__":
    # Replace with your GitHub token and repository owner
    token = "your_personal_access_token"
    repo_owner = "repository_owner"

    client = GitHubAPIClient(token, repo_owner)

    # Example: Get commit data for a specific repository
    repo_name = "your_repository_name"
    result = client.fetch_repo_info(repo_name)
    print(json.dumps(result, indent=4))
```

### Available Methods
- `fetch_repo_info(repo_name)` - Fetch details of a specific repository.
- `fetch_commits(repo_name)` - Fetch commits by the repository owner.
- `fetch_contributors(repo_name)` - Fetch contributors to a repository.
- `fetch_pull_requests(repo_name)` - Fetch open pull requests.
- `fetch_readme(repo_name)` - Fetch and decode the README file content.
- `fetch_user_repos()` - Fetch all repositories of the user.
- `process_commits(commits)` - Process commit data for today's commits.
- `load_commit_data(repo_name)` - Load and process all repository data.

## Configuration
- Replace the placeholder values for `token` and `repo_owner` in your script with actual values.
- You can generate a personal access token from GitHub under Developer Settings.

## Requirements
- Python 3.6+
- `requests` library

## License
This project is licensed under the MIT License.