libpythonpro-mlpdf
Este README tem como propósito registrar e documentar os conceitos aprendidos durante o Curso Pytools da comunidade DevPro.
libpythonpro-mlpdf é uma biblioteca Python disponível no PyPI, projetada para facilitar a busca e recuperação do avatar de qualquer usuário do GitHub. Com esta biblioteca, você pode acessar rapidamente as imagens de perfil dos usuários do GitHub utilizando apenas o nome de usuário.
Instalação
Instale a biblioteca usando o gerenciador de pacotes pip:
pip install libpythonpro-mlpdf
Como Usar
Siga estes passos simples:
-
Criar um Ambiente Virtual:
python -m venv venv
-
Ativar o Ambiente Virtual:
-
Windows:
venv\Scripts\activate
-
macOS e Linux:
source venv/bin/activate
-
-
Instalar a Biblioteca:
pip install libpythonpro-mlpdf
-
Iniciar o Console do Python:
python
-
Buscar o Avatar:
Execute os seguintes comandos:
from libpythonpro_mlpdf.github_api import buscar_avatar avatar_url = buscar_avatar("matheuspdf") # Exemplo com meu usuário
Exemplo de Saída
O comando acima retorna um link para o seu avatar:
Saída: 'https://avatars.githubusercontent.com/u/96511087?v=4'
Clique na imagem ou no link para visualizar o seu avatar.
Licença
Este projeto é licenciado sob a MIT License.
Metadata
Release files for libpythonpro-mlpdf 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| libpythonpro_mlpdf-0.3.tar.gz | 43.6 kB | Without provenance | Details |
Release files / libpythonpro_mlpdf-0.3.tar.gz
| Download URL | libpythonpro_mlpdf-0.3.tar.gz |
|---|---|
| Size | 43.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a214d1b6640c1d349a9791de2a3f520f45a6fe7717940a35a7eae824543009a0
|
|
BLAKE2b-256 checksum How to use checksums |
8a68ecc7cd2add747eabce4d9236ec447abab7deb6cc35b5f60416bd32973c72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Security for libpythonpro-mlpdf 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.