Asynchronous Python client for the GitHub API
Project description
aiogithubapi
Asynchronous Python client for the GitHub API
This is not a full client for the API (Have you seen it, it's huge), and will probably never be. Things are added when needed or requested.
If something you need is missing please raise a feature request to have it added or create a PR 🎉.
For examples on how to use it see the tests directory.
Install
python3 -m pip install aiogithubapi
Project transition
Note: This project is currently in a transition phase.
In august 2021 a new API interface was introduced (in #42). With that addition, all parts of the old interface is now considered deprecated. Which includes:
- The
aiogithubapi.common
module - The
aiogithubapi.legacy
module - The
aiogithubapi.objects
module - All classes starting with
AIOGitHub
- The
async_call_api
function in theaiogithubapi/helpers.py
file - The
sigstore_verify_release_asset
function in theaiogithubapi/helpers.py
file - The
GitHubDevice
class inaiogithubapi
, replaced withGitHubDeviceAPI
- The
GitHub
class inaiogithubapi
, replaced withGitHubAPI
Later this year (2024), warning logs will start to be emitted for deprecated code.
Early next year (2025), the old code will be removed.
Contribute
All contributions are welcome!
- Fork the repository
- Clone the repository locally and open the devcontainer or use GitHub codespaces
- Do your changes
- Lint the files with
make lint
- Ensure all tests passes with
make test
- Ensure 100% coverage with
make coverage
- Commit your work, and push it to GitHub
- Create a PR against the
main
branch
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aiogithubapi-25.5.0.tar.gz
.
File metadata
- Download URL: aiogithubapi-25.5.0.tar.gz
- Upload date:
- Size: 38.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
2f598ec387258ba818994400bfad781bba6315b263774bd1fd3dcfabec02ce51
|
|
MD5 |
2a394cc292ebb8e739a4b627a8dd158e
|
|
BLAKE2b-256 |
626872aad5efb54f72b95a866f658946262bd524398bc1df6d2907f69fc18848
|
Provenance
The following attestation bundles were made for aiogithubapi-25.5.0.tar.gz
:
Publisher:
release.yml
on ludeeus/aiogithubapi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
aiogithubapi-25.5.0.tar.gz
-
Subject digest:
2f598ec387258ba818994400bfad781bba6315b263774bd1fd3dcfabec02ce51
- Sigstore transparency entry: 219936635
- Sigstore integration time:
-
Permalink:
ludeeus/aiogithubapi@4b947e9830ba04387a4a5bcde19b0613197f87e2
-
Branch / Tag:
refs/tags/25.5.0
- Owner: https://github.com/ludeeus
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@4b947e9830ba04387a4a5bcde19b0613197f87e2
-
Trigger Event:
release
-
Statement type:
File details
Details for the file aiogithubapi-25.5.0-py3-none-any.whl
.
File metadata
- Download URL: aiogithubapi-25.5.0-py3-none-any.whl
- Upload date:
- Size: 71.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
9cf58553e2a849fac06f1cf99a67e293bd6aeb02e1aeea80376539aefa05b2e1
|
|
MD5 |
37cdd60e9e5f9bf8178d6ab28c99f454
|
|
BLAKE2b-256 |
20ead85692d036c3be4b18df41341d113ee6a897cf7b48dfeb60d22410511901
|
Provenance
The following attestation bundles were made for aiogithubapi-25.5.0-py3-none-any.whl
:
Publisher:
release.yml
on ludeeus/aiogithubapi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
aiogithubapi-25.5.0-py3-none-any.whl
-
Subject digest:
9cf58553e2a849fac06f1cf99a67e293bd6aeb02e1aeea80376539aefa05b2e1
- Sigstore transparency entry: 219936636
- Sigstore integration time:
-
Permalink:
ludeeus/aiogithubapi@4b947e9830ba04387a4a5bcde19b0613197f87e2
-
Branch / Tag:
refs/tags/25.5.0
- Owner: https://github.com/ludeeus
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@4b947e9830ba04387a4a5bcde19b0613197f87e2
-
Trigger Event:
release
-
Statement type: