◀️اینجا با تمرین و چالش با هم پایتون رو یاد می گیریم
⏮بانک اطلاعاتی پایتون
پروژه / code/ cheat sheet
+ویدیوهای آموزشی
+کتابهای پایتون
تبلیغات:
@alloadv
🔁ادمین :
@maryam3771
Post #1264
3.19K

🖥 Githubkit
When you call the GitHub API, you manually process HTTP requests, tokens, and JSON responses, which is time-consuming and error-prone.
githubkit, a Python library, provides a clean, typed interface for interacting with the GitHub API
Example:
▪ Github
▪ Documentation
🆔 @Python4all_pro
When you call the GitHub API, you manually process HTTP requests, tokens, and JSON responses, which is time-consuming and error-prone.
githubkit, a Python library, provides a clean, typed interface for interacting with the GitHub API
pip install githubkit
# or, use poetry
poetry add githubkit
# or, use pdm
pdm add githubkit
# or, use uv
uv add githubkit
Example:
from githubkit import Response
from githubkit.versions.latest.models import FullRepository
resp: Response[FullRepository] = github.rest.repos.get("owner", "repo")
repo: FullRepository = resp.parsed_data
print(repo.full_name)
▪ Github
▪ Documentation
🆔 @Python4all_pro
- 👍 1















