PYTHONL Telegram 4524
🖥 Githubkit

Когда вы вызываете API GitHub вы вручную обрабатываете HTTP-запросы, токены и JSON-ответы, чтозанимает много времени и чреватым ошибками.

githubkit, библиотека Python, предлагает чистый, типизированный интерфейс для взаимодействия с API GitHub.


pip install githubkit
# or, use poetry
poetry add githubkit
# or, use pdm
pdm add githubkit
# or, use uv
uv add githubkit



Пример:

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
Документация

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM
👍187🔥4😁1



tgoop.com/pythonl/4524
Create:
Last Update:

🖥 Githubkit

Когда вы вызываете API GitHub вы вручную обрабатываете HTTP-запросы, токены и JSON-ответы, чтозанимает много времени и чреватым ошибками.

githubkit, библиотека Python, предлагает чистый, типизированный интерфейс для взаимодействия с API GitHub.


pip install githubkit
# or, use poetry
poetry add githubkit
# or, use pdm
pdm add githubkit
# or, use uv
uv add githubkit



Пример:

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
Документация

@pythonl

BY Python/ django




Share with your friend now:
tgoop.com/pythonl/4524

View MORE
Open in Telegram


Telegram News

Date: |

SUCK Channel Telegram Telegram channels enable users to broadcast messages to multiple users simultaneously. Like on social media, users need to subscribe to your channel to get access to your content published by one or more administrators. Hui said the messages, which included urging the disruption of airport operations, were attempts to incite followers to make use of poisonous, corrosive or flammable substances to vandalize police vehicles, and also called on others to make weapons to harm police. Ng, who had pleaded not guilty to all charges, had been detained for more than 20 months. His channel was said to have contained around 120 messages and photos that incited others to vandalise pro-government shops and commit criminal damage targeting police stations. The SUCK Channel on Telegram, with a message saying some content has been removed by the police. Photo: Telegram screenshot.
from us


Telegram Python/ django
FROM American