Metadata-Version: 2.2
Name: followers_github
Version: 0.1.1
Summary: Uma biblioteca para listar seguidores ou perfis seguidos no GitHub.
Author-email: Ricardo7c <ricardo7c@hotmail.com>
License: MIT License
        
        Copyright (c) 2025 Ricardo Silva
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.31.0
Requires-Dist: urllib3>=1.26.0

# followers_github

![GitHub](https://img.shields.io/badge/GitHub-API-blue?style=flat-square)
![License](https://img.shields.io/badge/license-MIT-green?style=flat-square)

Uma biblioteca Python para listar seguidores e perfis seguidos no GitHub.

## 🚀 Instalação

```bash
pip install followers_github
```

## 🛠 Uso

### Importação

```python
from followers_github import followers, following
```

### Obtendo seguidores de um usuário

```python
print(followers("torvalds"))
```

### Obtendo perfis seguidos por um usuário

```python
print(following("torvalds"))
```

### Uso com Token de Autenticação
Para evitar limites de requisição na API do GitHub, você pode fornecer um **token de acesso pessoal**:

```python
MEU_TOKEN = "seu_token_aqui"
print(followers("torvalds", MEU_TOKEN))
```

## 📜 Estrutura do Projeto

```
followers_github/
│── followers_github/      # Pacote principal
│   ├── __init__.py        # Exposição das funções principais
│   ├── api.py             # Implementação das funções
│── pyproject.toml         # Configuração do pacote
│── README.md              # Documentação do projeto
│── LICENSE                # Licença
│── .gitignore             # Arquivos a serem ignorados
```

## 📄 Licença

Este projeto está sob a licença **MIT**. Sinta-se livre para contribuir! 🚀

