pygithub

Typed interactions with the GitHub API v3

https://github.com/pygithub/pygithub

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    8 of 391 committers (2.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.6%) to scientific vocabulary

Keywords

github github-api pygithub python

Keywords from Contributors

distributed packaging closember asyncio pip deep-neural-networks pallets json-schema fuzzing notebook
Last synced: 6 months ago · JSON representation

Repository

Typed interactions with the GitHub API v3

Basic Info
Statistics
  • Stars: 7,492
  • Watchers: 114
  • Forks: 1,851
  • Open Issues: 350
  • Releases: 49
Topics
github github-api pygithub python
Created almost 14 years ago · Last pushed 6 months ago
Metadata Files
Readme Contributing Funding License Maintainers

README.md

PyGitHub

PyPI CI readthedocs License Slack Open Source Helpers codecov Code style: black

PyGitHub is a Python library to access the GitHub REST API. This library enables you to manage GitHub resources such as repositories, user profiles, and organizations in your Python applications.

Install

bash pip install PyGithub

Simple Demo

```python from github import Github

Authentication is defined via github.Auth

from github import Auth

using an access token

auth = Auth.Token("access_token")

First create a Github instance:

Public Web Github

g = Github(auth=auth)

Github Enterprise with custom hostname

g = Github(base_url="https://{hostname}/api/v3", auth=auth)

Then play with your Github objects:

for repo in g.getuser().getrepos(): print(repo.name)

To close connections after use

g.close() ```

Documentation

More information can be found on the PyGitHub documentation site.

Development

Contributing

Long-term discussion and bug reports are maintained via GitHub Issues. Code review is done via GitHub Pull Requests.

For more information read CONTRIBUTING.md.

Maintainership

We're actively seeking maintainers that will triage issues and pull requests and cut releases. If you work on a project that leverages PyGitHub and have a vested interest in keeping the code alive and well, send an email to someone in the MAINTAINERS file.

Owner

  • Name: PyGithub
  • Login: PyGithub
  • Kind: organization

GitHub Events

Total
  • Create event: 154
  • Release event: 3
  • Issues event: 122
  • Watch event: 538
  • Delete event: 139
  • Issue comment event: 402
  • Push event: 196
  • Pull request review comment event: 278
  • Pull request review event: 291
  • Pull request event: 361
  • Fork event: 111
Last Year
  • Create event: 154
  • Release event: 3
  • Issues event: 122
  • Watch event: 538
  • Delete event: 139
  • Issue comment event: 402
  • Push event: 196
  • Pull request review comment event: 278
  • Pull request review event: 291
  • Pull request event: 361
  • Fork event: 111

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 2,186
  • Total Committers: 391
  • Avg Commits per committer: 5.591
  • Development Distribution Score (DDS): 0.57
Past Year
  • Commits: 164
  • Committers: 44
  • Avg Commits per committer: 3.727
  • Development Distribution Score (DDS): 0.293
Top Committers
Name Email Commits
Vincent Jacques v****t@v****t 941
Steve Kowalik s****n@w****g 186
Enrico Minack g****b@e****v 163
Wan Liuyang t****e@g****m 110
Trim21 t****e@g****m 84
AKFish a****h@g****m 67
Jannis Gebauer j****b@m****m 27
martinqt m****2@l****t 18
Jirka Borovec 6****a 13
Jimmy Zelinskie j****e@g****m 10
Enix Yu e****3@1****m 10
Thialfihar t****i@t****g 7
Aaron Levine a****n@s****v 7
Adam Baratz a****z@g****m 6
Hugo h****k 6
Jonathan Leitschuh j****h@g****m 6
Anuj Bansal b****6@g****m 5
Florent Clarret f****t@g****m 5
Jacopo Notarstefano j****o@g****m 5
Maarten Fonville m****e 5
davidbrai d****i@g****m 5
Benjamin K 5****1 5
@tmshn t****n@r****p 5
Bill Napier n****r@p****m 4
Raihaan 3****e 4
Tim Gates t****s@i****m 4
dependabot[bot] 4****] 4
Chris de Graaf c****f@g****m 4
Jason White j****e 4
Huw Jones h****w@p****m 4
and 361 more...

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 345
  • Total pull requests: 809
  • Average time to close issues: 9 months
  • Average time to close pull requests: 3 months
  • Total issue authors: 303
  • Total pull request authors: 212
  • Average comments per issue: 2.29
  • Average comments per pull request: 1.92
  • Merged pull requests: 468
  • Bot issues: 1
  • Bot pull requests: 24
Past Year
  • Issues: 79
  • Pull requests: 383
  • Average time to close issues: 27 days
  • Average time to close pull requests: 11 days
  • Issue authors: 69
  • Pull request authors: 65
  • Average comments per issue: 0.58
  • Average comments per pull request: 0.91
  • Merged pull requests: 256
  • Bot issues: 1
  • Bot pull requests: 12
Top Authors
Issue Authors
  • EnricoMi (14)
  • HugoPBrito (4)
  • webknjaz (4)
  • testworksau (3)
  • Xiaoven (3)
  • trim21 (3)
  • heitorPB (3)
  • IAmHughes (3)
  • jodelasur (3)
  • ahmad88me (2)
  • xtuchyna (2)
  • carlescufi (2)
  • Abe410 (2)
  • zhighleggett (2)
  • JLLeitschuh (2)
Pull Request Authors
  • EnricoMi (287)
  • trim21 (72)
  • dependabot[bot] (24)
  • uniswap-collab (18)
  • billnapier (13)
  • treee111 (12)
  • Borda (11)
  • xmo-odoo (10)
  • JLLeitschuh (7)
  • lazka (7)
  • jodelasur (6)
  • dblanchette (5)
  • minrk (4)
  • boomanaiden154 (4)
  • heitorpolidoro (4)
Top Labels
Issue Labels
stale (23) :star: top issue (11) feature request (9) good first issue (7) question (4) Call for Contribution (3) hackweek-20 (2) bug (2) documentation (2) improvement (2) Hacktoberfest (2) refactoring (1) GraphQL (1) :star: top issues dashboard (1)
Pull Request Labels
improvement (35) maintenance (35) OpenAPI (32) :star: top pull request (24) dependencies (24) bugfix (23) github_actions (15) feature (15) GraphQL (10) breaking (10) python (9) has conflicts (7) documentation (7) stale (3) ci (3) enterprise (2) hackweek-20 (1) refactoring (1)

Packages

  • Total packages: 24
  • Total downloads:
    • pypi 44,616,896 last-month
  • Total docker downloads: 26,322,060
  • Total dependent packages: 294
    (may contain duplicates)
  • Total dependent repositories: 3,022
    (may contain duplicates)
  • Total versions: 304
  • Total maintainers: 6
pypi.org: pygithub

Use the full Github API v3

  • Versions: 106
  • Dependent Packages: 269
  • Dependent Repositories: 2,964
  • Downloads: 44,616,812 Last month
  • Docker Downloads: 26,322,060
Rankings
Downloads: 0.1%
Dependent packages count: 0.1%
Dependent repos count: 0.2%
Average: 0.6%
Stargazers count: 0.7%
Docker downloads count: 1.3%
Forks count: 1.4%
Maintainers (3)
Last synced: 6 months ago
alpine-v3.18: py3-pygithub-pyc

Precompiled Python bytecode for py3-pygithub

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 1.0%
Forks count: 1.3%
Stargazers count: 2.6%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.18: py3-pygithub

Typed interactions with the GitHub API v3

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 1.0%
Forks count: 1.3%
Stargazers count: 2.6%
Maintainers (1)
Last synced: 6 months ago
alpine-edge: py3-pygithub

Typed interactions with the GitHub API v3

  • Versions: 12
  • Dependent Packages: 2
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.1%
Average: 1.8%
Stargazers count: 2.5%
Dependent packages count: 3.4%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.13: py3-pygithub

Typed interactions with the GitHub API v3

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.2%
Stargazers count: 2.0%
Average: 3.1%
Dependent packages count: 9.4%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.15: py3-pygithub

Typed interactions with the GitHub API v3

  • Versions: 1
  • Dependent Packages: 2
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.1%
Stargazers count: 2.0%
Average: 3.5%
Dependent packages count: 10.9%
Maintainers (1)
Last synced: 6 months ago
alpine-edge: py3-pygithub-pyc

Precompiled Python bytecode for py3-pygithub

  • Versions: 8
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.2%
Stargazers count: 2.6%
Average: 4.3%
Dependent packages count: 13.4%
Maintainers (1)
Last synced: 6 months ago
conda-forge.org: pygithub
  • Versions: 24
  • Dependent Packages: 15
  • Dependent Repositories: 28
Rankings
Forks count: 3.2%
Dependent packages count: 4.2%
Stargazers count: 4.5%
Average: 4.7%
Dependent repos count: 7.0%
Last synced: 6 months ago
alpine-v3.16: py3-pygithub

Typed interactions with the GitHub API v3

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.1%
Stargazers count: 2.0%
Average: 5.4%
Dependent packages count: 18.7%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.17: py3-pygithub

Typed interactions with the GitHub API v3

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.2%
Stargazers count: 2.4%
Average: 5.6%
Dependent packages count: 19.0%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.14: py3-pygithub

Typed interactions with the GitHub API v3

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.1%
Stargazers count: 1.9%
Average: 6.2%
Dependent packages count: 21.7%
Maintainers (1)
Last synced: 6 months ago
proxy.golang.org: github.com/PyGithub/PyGithub
  • Versions: 63
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 7.0%
Average: 8.2%
Dependent repos count: 9.3%
Last synced: 6 months ago
proxy.golang.org: github.com/pygithub/pygithub
  • Versions: 62
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 7.0%
Average: 8.2%
Dependent repos count: 9.3%
Last synced: 6 months ago
pypi.org: pygithub-redux

Use the full Github API v3

  • Versions: 8
  • Dependent Packages: 0
  • Dependent Repositories: 2
  • Downloads: 74 Last month
Rankings
Stargazers count: 0.4%
Forks count: 1.0%
Dependent packages count: 10.1%
Average: 11.5%
Dependent repos count: 11.5%
Downloads: 34.4%
Maintainers (1)
Last synced: 6 months ago
anaconda.org: pygithub

PyGitHub is a Python library to access the GitHub REST API. This library enables you to manage GitHub resources such as repositories, user profiles, and organizations in your Python applications.

  • Versions: 5
  • Dependent Packages: 3
  • Dependent Repositories: 28
Rankings
Forks count: 8.8%
Stargazers count: 10.7%
Dependent packages count: 15.1%
Average: 16.0%
Dependent repos count: 29.5%
Last synced: 6 months ago
pypi.org: pygithubf

Use the full Github API v3

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 10 Last month
Rankings
Dependent packages count: 6.6%
Average: 26.7%
Forks count: 30.5%
Dependent repos count: 30.6%
Stargazers count: 39.1%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.20: py3-pygithub

Typed interactions with the GitHub API v3

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.20: py3-pygithub-pyc

Precompiled Python bytecode for py3-pygithub

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.21: py3-pygithub-pyc

Precompiled Python bytecode for py3-pygithub

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.22: py3-pygithub-pyc

Precompiled Python bytecode for py3-pygithub

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.22: py3-pygithub

Typed interactions with the GitHub API v3

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.21: py3-pygithub

Typed interactions with the GitHub API v3

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.19: py3-pygithub

Typed interactions with the GitHub API v3

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.19: py3-pygithub-pyc

Precompiled Python bytecode for py3-pygithub

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago

Dependencies

requirements.txt pypi
  • Deprecated *
  • pyjwt >=2.0
  • pynacl >=1.4.0
  • requests >=2.14.0
  • sphinx <3
  • sphinx-rtd-theme <1.1
setup.py pypi
  • deprecated *
  • pyjwt >=2.0
  • pynacl >=1.4.0
  • requests >=2.14.0
test-requirements.txt pypi
  • cryptography * test
  • httpretty >=1.0.3 test
  • pytest >=5.3 test
  • pytest-cov >=2.8 test
.github/workflows/ci.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • codecov/codecov-action v2.1.0 composite
.github/workflows/pypi-release.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v1 composite
.github/workflows/lint.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • liskin/gh-problem-matcher-wrap v2 composite
  • pre-commit/action v3.0.0 composite
requirements-types.txt pypi
  • mypy *
  • types-deprecated *
  • types-jwt *
  • types-python-dateutil *
  • types-requests *