PyGithub

Typed interactions with the GitHub API v3

LGPL-3.0 License

Downloads
47.9M
Stars
6.7K
Committers
368

Bot releases are visible (Hide)

PyGithub - v2.3.0 Latest Release

Published by github-actions[bot] 7 months ago

New features

  • Support oauth for enterprise @EnricoMi (#2780)
  • Support creation of Dependabot Organization and Repository Secrets @thomascrowley (#2874)

Improvements

  • Create release with optional name and message when generate_release_notes is true @heitorpolidoro (#2868)
  • Add missing attributes to WorkflowJob @xvega (#2921)
  • Add created and check_suite_id filter for Repository Workflow runs @treee111 (#2891)
  • Assert requester argument type in Auth @EnricoMi (#2912)

Bug Fixes

  • Revert having allowed values for add_to_collaborators @jodelasur (#2905)

Maintenance

  • Fix imports in authentication docs @wurstbrot (#2923)
  • CI: add docformatter to precommit @Borda (#2614)
  • Add .swp fils to .gitignore @boomanaiden154 (#2903)
  • Fix instructions building docs in CONTRIBUTING.md @wakamex (#2900)
  • Explicitly name the modules built in pyproject.toml @treee111 (#2894)
PyGithub - v2.2.0

Published by EnricoMi 9 months ago

Breaking Changes

The github.Comparison.Comparison instance returned by Repository.compare provides a commits property that used to return a list[github.Commit.Commit], which has now been changed to PaginatedList[github.Commit.Commit]. This breaks user code that assumes a list:

commits = repo.compare("v0.6", "v0.7").commits
no_of_commits = len(commits)  # will raise a TypeError

This will raise a TypeError: object of type 'PaginatedList' has no len(), as the returned PaginatedList
does not support the len() method. Use the totalCount property instead:

commits = repo.compare("v0.6", "v0.7").commits
no_of_commits = commits.totalCount

New features

  • Add support to call GraphQL API

Improvements

Bug Fixes

Maintenance

Full Changelog: https://github.com/PyGithub/PyGithub/compare/v2.1.1...v2.2.0

PyGithub - v2.1.1

Published by EnricoMi about 1 year ago

Bug Fixes

  • Require urllib 1.26.0 or greater (#2774) (001c0852)

Maintenance

  • Fix pypi-release workflow, allow for manual run (#2771) (035c88f1)
PyGithub - v2.1.0.post0

Published by EnricoMi about 1 year ago

Important

Request throttling

This release introduces a default throttling mechanism to mitigate secondary rate limit errors and comply with Github's best practices:
https://docs.github.com/en/rest/guides/best-practices-for-integrators?apiVersion=2022-11-28#dealing-with-secondary-rate-limits

The default throttling of 1 second between writes and 0.25 second between any requests can be configured
for github.Github and github.GithubIntegration:

g = github.Github(seconds_between_requests=0.25, seconds_between_writes=1)

Set these parameters to None to disable throttling and restore earlier behavior.

Request retry

This release introduces a default retry mechanism to retry retry-able 403 responses (primary and secondary rate limit errors only) and any 5xx response.

Class github.GithubRetry implements this behavior, and can be configured via the retry argument of github.Github and github.GithubIntegration.
Retry behavior is configured similar to urllib3.Retry: https://urllib3.readthedocs.io/en/stable/reference/urllib3.util.html

g = github.Github(retry=github.GithubRetry())

Set this parameter to None to disable retry mechanism and restore earlier behaviour.

Breaking Changes

Timestamps

Any timestamps returned by this library are datetime with timezone information, usually UTC.
Before this release, timestamps used to be naive datetime instances without timezone.
Comparing (other than ==) these timestamps with naive datetime instances used to work but will now break.
Add a timezone information to your datetime instances before comparison:

if g.get_repo("PyGithub/PyGithub").created_at < datetime(2012, 2, 26, tzinfo=timezone.utc):
  ...

Netrc authentication

A Netrc file (e.g. ~/.netrc) does not override PyGithub authentication, anymore.
If you require authentication through Netrc, then this is a breaking change.
Use a github.Auth.Netrc instance to use Netrc credentials:

>>> auth = Auth.Netrc()
>>> g = Github(auth=auth)
>>> g.get_user().login
'login'

Repository.create_pull

Merged overloaded create_pull methods

def create_pull(self, issue, base, head)
def create_pull(self, title, body, base, head, maintainer_can_modify=NotSet, draft=False)

into

def create_pull(self, base, head, *, title=NotSet, body=NotSet, maintainer_can_modify=NotSet, draft=NotSet, issue=NotSet)

Please update your usage of Repository.create_pull accordingly.

New features

  • Throttle requests to mitigate RateLimitExceededExceptions (#2145) (99155806)
  • Retry retryable 403 (rate limit) (#2387) (0bb72ca0)
  • Close connections after use (#2724) (73236e23)

Improvements

  • Make datetime objects timezone-aware (#2565) (0177f7c5)
  • Make Branch.edit_* functions return objects (#2748) (8dee53a8)
  • Add license attribute to Repository (#2721) (26d353e7)
  • Add missing attributes to Repository (#2742) (65cfeb1b)
  • Add is_alphanumeric attribute to Autolink and Repository.create_autolink (#2630) (b6a28a26)
  • Suppress requests fallback to netrc, provide github.Auth.Netrc (#2739) (ac36f6a9)
  • Pass Requester arguments to AppInstallationAuth.__integration (#2695) (8bf542ae)
  • Adding feature for enterprise consumed license (#2626) (a7bfdf2d)
  • Search Workflows by Name (#2711) (eadc241e)
  • Add Secret and Variable classes (#2623) (bcca758d)
  • Add Autolink API link (#2632) (aedfa0b9)
  • Add required_linear_history attribute to BranchProtection (#2643) (7a80fad9)
  • Add retry issue to GithubException, don't log it (#2611) (de80ff4b)
  • Add message property to GithubException (#2591) (f087cad3)
  • Add support for repo and org level actions variables (#2580) (91b3f40f)
  • Add missing arguments to Workflow.get_runs() (#2346) (766df993)
  • Add github.Rate.used field (#2531) (c4c2e527)

Bug Fixes

  • Fix Branch.bypass_pull_request_allowances failing with "nil is not an object" (#2535) (c5542a6a)
  • Fix required_conversation_resolution assertion (#2715) (54f22267)
  • Fix assertion creating pull request review comment (#2641) (2fa568b6)
  • Safely coerce responseHeaders to int (#2697) (adbfce92)
  • Fix assertion for subject_type in creating pull request review comment (#2642) (4933459e)
  • Use timezone-aware reset datetime in GithubRetry.py (#2610) (950a6949)
  • Fix Branch.bypass_pull_request_allowances failing with "nil is not an object" (#2535) (c5542a6a)

Maintenance

  • Epic mass-merge .pyi type stubs back to .py sources (#2636)
  • Move to main default branch (#2566) (e66c163a)
  • Force Unix EOL (#2573) (094538e1)
  • Close replay test data file silently when test is failing already (#2747) (6d871d56)
  • CI: Make CI support merge queue (#2644) (a91debf1)
  • CI: Run CI on release branches (#2708) (9a88b6b1)
  • CI: remove conflict label workflow (#2669) (95d8b83c)
  • Fix pip install command in README.md (#2731) (2cc1ba2c)
  • Update add_attribute.py to latest conding style (#2631) (e735972e)
  • CI: Improve ruff DX (#2667) (48d2009c)
  • CI: Increase wait and retries of labels action (#2670) (ff0f31c2)
  • Replace flake8 with ruff (#2617) (42c3b47c)
  • CI: update labels action name and version (#2654) (c5c83eb5)
  • CI: label PRs that have conflicts (#2622) (1d637e4b)
  • Unify requirements files location & source in setup.py (#2598) (2edc0f8f)
  • Enable mypy disallow_untyped_defs (#2609) (294c0cc9)
  • Enable mypy check_untyped_defs (#2607) (8816889a)
  • Set line length to 120 characters (#2599) (13e178a3)
  • CI: Build and check package before release (#2593) (3c880e76)
  • Use typing_extensions for TypedDict (#2592) (5fcb0c7d)
  • CI: Update action actions/setup-python (#2382) (2e5cd31e)
  • Add more methods and attributes to Repository.pyi (#2581) (72840de4)
  • CI: Make pytest color logs (#2597) (73241102)
  • precommit: move flake8 as last (#2595) (11bb6bd7)
  • Test on Windows and macOS, don't fail fast (#2590) (5c600894)
  • Remove symlinks from test data (#2588) (8d3b9057)
PyGithub - v2.0.1-preview

Published by EnricoMi about 1 year ago

Bug Fixes

  • Safely coerce responseHeaders to int (#2697) (64705bfd)
PyGithub - v1.59.1

Published by EnricoMi about 1 year ago

Bug Fixes

  • Safely coerce responseHeaders to int (#2697) (adbfce92)
PyGithub - v2.0.0-preview.1

Published by EnricoMi over 1 year ago

Bug Fixes

  • Add retry issue to GithubException, don't log it (#2611) (3f0c1a6b)
  • Use timezone-aware reset datetime in GithubRetry.py (#2610) (0a7b7bac)
PyGithub - v2.0.0-preview

Published by github-actions[bot] over 1 year ago

Important

Request throttling

This release introduces a default throttling mechanism to mitigate secondary rate limit errors and comply with Github's best practices:
https://docs.github.com/en/rest/guides/best-practices-for-integrators?apiVersion=2022-11-28#dealing-with-secondary-rate-limits

The default throttling of 1 second between writes and 0.25 second between any requests can be configured for github.Github and github.GithubIntegration:

g = github.Github(seconds_between_requests=0.25, seconds_between_writes=1)

Set these parameters to None to disable throttling and restore earlier behavior.

Request retry

This release introduces a default retry mechanism to retry retry-able 403 responses (primary and secondary rate limit errors only) and any 5xx response.

Class github.GithubRetry implements this behavior, and can be configured via the retry argument of github.Github and github.GithubIntegration. Retry behavior is configured similar to urllib3.Retry: https://urllib3.readthedocs.io/en/stable/reference/urllib3.util.html

g = github.Github(retry=github.GithubRetry())

Set this parameter to None to disable retry mechanism and restore earlier behaviour.

Breaking Changes

Any timestamps returned by this library are datetime with timezone information, usually UTC. Before this release, timestamps used to be naive datetime instances without timezone. Comparing (other than ==) these timestamps with naive datetime instances used to work but will now break. Add a timezone information to your datetime instances before comparison:

if g.get_repo("PyGithub/PyGithub").created_at < datetime(2012, 2, 26, tzinfo=timezone.utc):
    ...

New features

  • Throttle requests to mitigate RateLimitExceededExceptions (#2145) (99155806)
  • Retry retryable 403 (rate limit) (#2387) (0bb72ca0)

Improvements

  • Make datetime objects timezone-aware (#2565) (0177f7c5)

Bug Fixes

  • Fix Branch.bypass_pull_request_allowances failing with "nil is not an object" (#2535) (c5542a6a)

Maintenance

  • Move to main default branch (#2566) (e66c163a)
  • Force Unix EOL (#2573) (094538e1)
  • Merge Artifact type stub back to source (#2553)
PyGithub - v1.59.0

Published by github-actions[bot] over 1 year ago

Important

This release introduces new way of authentication. All authentication-related arguments github.Github(login_or_token=…, password=…, jwt=…, app_auth=…) and github.GithubIntegration(integration_id=…, private_key=…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…) are replaced by a single auth=… argument. Module github.Auth provides classes for all supported ways of authentication: Login, Token, AppAuth, AppAuthToken, AppInstallationAuth, AppUserAuth. Old arguments are deprecated but continue to work. They are scheduled for removal for version 2.0 release.

This project has decided to move all typing information from .pyi files into the respective .py source files. This will happen gradually over time.

Breaking Changes

  • The position argument in github.PullRequest.create_review_comment(position=…) has been renamed to line.
    This breaks user code that calls create_review_comment with keyword argument position. Call with line=… instead.
    Calling this method with positional arguments is not breaking.
  • The jwt_expiry, jwt_issued_at and jwt_algorithm arguments in github.GithubIntegration() have changed their position.
    User code calling github.GithubIntegration(…) with these arguments as positional arguments breaks.
    Please use keyword arguments: github.GithubIntegration(…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…).
  • The since argument in github.PullRequest.get_review_comments(…) has changed position.User code callinggithub.PullRequest.get_review_comments(…)with this argument as positional argument breaks. Please use keyword argument:github.PullRequest.get_review_comments(since=…)`.

Deprecations

  • The use of github.Github(login_or_token=…) is deprecated, use github.Github(auth=github.Auth.Login(…)) or github.Github(auth=github.Auth.Token(…)) instead.
  • The use of github.Github(password=…) is deprecated, use github.Github(auth=github.Auth.Login(…)) instead.
  • The use of github.Github(jwt=…) is deprecated, use github.Github(auth=github.AppAuth(…)) or github.Github(auth=github.AppAuthToken(…)) instead.
  • The use of github.Github(app_auth=…) is deprecated, use github.Github(auth=github.Auth.AppInstallationAuth(…)) instead.
  • The use of github.GithubIntegration(integration_id=…, private_key=…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…) is deprecated, use github.GithubIntegration(auth=github.Auth.AppAuth(…)) instead.
  • The use of github.GithubIntegration.create_jwt is deprecated, use github.Github(auth=github.Auth.AppAuth), github.Auth.AppAuth.token or github.Auth.AppAuth.create_jwt(expiration) instead.
  • The use of AppAuthentication is deprecated, use github.Auth.AppInstallationAuth instead.
  • The use of github.Github.get_app() without providing argument slug is deprecated, use github.GithubIntegration(auth=github.Auth.AppAuth(…)).get_app().

Bug Fixes

  • Test and fix UTC issue with AppInstallationAuth (#2561) (ff3b80f8)
  • Make Requester.__createException robust against missing message and body (#2159) (7be3f763)
  • Fix auth issues with Installation.get_repos (#2547) (64075120)
  • Fix broken urls in docstrings (#2393) (f82ad61c)
  • Raise error on unsupported redirects, log supported redirects (#2524) (17cd0b79)
  • Fix GithubIntegration that uses expiring jwt (#2460) (5011548c)
  • Add expiration argument back to GithubIntegration.create_jwt (#2439) (822fc05c)
  • Add crypto extras to pyjwt, which pulls in cryptogaphy package (#2443) (554b2b28)
  • Remove RLock from Requester (#2446) (45f3d723)
  • Move CI to Python 3.11 release and 3.12 dev (#2434) (e414c322)
  • Pass Requester base URL to integration (#2420) (bdceae2f)

Improvements

  • Add Webhook Deliveries (#2508) (517ad336)
  • Add support for workflow jobs and steps (#1951) (804c3107)
  • Add support for get_app() with App authentication (#2549) (6d4b6d14)
  • Allow multiline comments in PullRequest (#2540) (6a21761e)
  • Implement AppUserAuth for Github App user tokens (#2546) (f291a368)
  • Add support for environments (#2223) (0384e2fd)
  • Add support for new RepositoryAdvisories API 🎉 (#2483) (daf62bd4)
  • Make MainClass.get_app return completed GithubApp when slug is given (#2543) (84912a67)
  • Add authentication classes, move auth logic there (#2528) (fc2d0e15)
  • Add sort order and direction for getting comments (#2544) (a8e7c423)
  • Add name filter to Repository.get_artifacts() (#2459) (9f52e948)
  • Add name, display_title and path attributes to WorkflowRun (#2397) (10816389)
  • Add new create_fork arguments (#2493) (b94a83cb)
  • add ref to Deployment (#2489) (e8075c41)
  • Add query check_suite_id integer to Workflow.get_runs (#2466) (a4854519)
  • Add generate_release_notes parameter to create_git_release and create_git_tag_and_release (#2417) (49b3ae16)
  • Add example for Pull Request comments to documentation (#2390) (c2f12bdc)
  • Add allow_auto_merge support to Repository (#2477) (8c4b9465)
  • Add artifact_id argument to Repository.get_artifact() (#2458) (4fa0a5f3)
  • Add missing attributes to Branch (#2512) (e296dbdb)
  • Add allow_update_branch option to Organization (#2465) (bab4180f)
  • Add support for Issue.state_reason #2370 (#2392) (5aa544a1)
  • Add parameters to Repository.get_workflow_runs (#2408) (4198dbfb)

Maintenance

  • Add type stub for MainClass.get_project_column (#2502) (d514222c)
  • Sync GithubIntegration init arguments with github.Github (#2556) (ea45237d)
  • Update MAINTAINERS (#2545) (f4e9dcb3)
  • Link to stable docs, update introduction in package used by pypi, move auth arg front (#2557) (006766f9)
  • Merge PaginatedList.pyi back to source (#2555) (cb50dec5)
  • Merge GithubObject.pyi/Requester.pyi stubs back to source (#2463) (b6258f4b)
  • [CI] Moving linting into separate workflow (#2522) (52fc1077)
  • Merging 1.58.x patch release notes into master (#2525) (217d4241)
  • Merge AppAuthentication.pyi to source (#2519) (8e8cfb30)
  • Merge GithubException.pyi stubs back to source (#2464) (03a2f696)
  • Add missing fields from GithubCredentials.py to CONTRIBUTING.md (#2482) (297317ba)
  • Update docstring and typing for allow_forking and allow_update_branch (Repository) (#2529) (600217f0)
  • Bump actions/checkout from 2 to 3.1.0 (#2327) (300c5015)
  • RTD: install current project (def5223c)
  • Add current dir sys.path as well (9c96faa7)
  • Use use_scm_version to get current version from git tag (#2429) (3ea91a3a)
PyGithub - v1.58.2

Published by EnricoMi over 1 year ago

Fixes

  • Fix GithubIntegration that uses expiring jwt @EnricoMi (#2460)
PyGithub - v1.58.1

Published by github-actions[bot] over 1 year ago

Changes

  • Bump actions/checkout from 2 to 3.1.0 @dependabot (#2327)
  • Add crypto extras to pyjwt, which pulls in cryptogaphy package @EnricoMi (#2443)
  • Move CI to Python 3.11 release and 3.12 dev @EnricoMi (#2434)

Bug Fixes

  • Add expiration argument back to GithubIntegration.create_jwt @EnricoMi (#2439)
  • Remove RLock from Requester @EnricoMi (#2446)
  • Pass requester base URL to integration (#2420) @bluek1te (#2425)
  • Use use_scm_version to get current version from git tag @sfdye (#2429)
PyGithub - v1.58.0

Published by github-actions[bot] over 1 year ago

Bug Fixes & Improvements

  • Add unarchiving support @Tsuesun (#2391)
  • Support full GitHub app authentication @dblanchette (#1986)
  • Continue the PR #1899 @Felixoid (#2386)
  • feat: add allow_forking to Repository @IbrahimAH (#2380)
  • Add code scanning alerts @eric-nieuwland (#2227)
PyGithub - v1.57

Published by sfdye almost 2 years ago

Breaking Changes

  • Add support for Python 3.11, drop support for Python 3.6 (#2332) (1e2f10dc)

Bug Fixes & Improvements

  • Speed up get requested reviewers and teams for pr (#2349) (6725eceb)
  • [WorkflowRun] - Add missing attributes (run_started_at & run_attempt), remove deprecated unicode type (#2273) (3a6235b5)
  • Add support for repository autolink references (#2016) (0fadd6be)
  • Add retry and pool_size to typing (#2151) (784a3efd)
  • Fix/types for repo topic team (#2341) (db9337a4)
  • Add class Artifact (#2313) (#2319) (437ff845)
PyGithub -

Published by sfdye about 2 years ago

Important

This is the last release that will support Python 3.6.

Bug Fixes & Improvements

  • Create repo from template (#2090) (b50283a7)
  • Improve signature of Repository.create_repo (#2118) (001970d4)
  • Add support for 'visibility' attribute preview for Repositories (#1872) (8d1397af)
  • Add Repository.rename_branch method (#2089) (6452ddfe)
  • Add function to delete pending reviews on a pull request (#1897) (c8a945bb)
  • Cover all code paths in search_commits (#2087) (f1faf941)
  • Correctly deal when PaginatedList's data is a dict (#2084) (93b92cd2)
  • Add two_factor_authentication in AuthenticatedUser. (#1972) (4f00cbf2)
  • Add ProjectCard.edit() to the type stub (#2080) (d417e4c4)
  • Add method to delete Workflow runs (#2078) (b1c8eec5)
  • Implement organization.cancel_invitation() (#2072) (53fb4988)
  • Feat: Add html_url property in Team Class. (#1983) (6570892a)
  • Add support for Python 3.10 (#2073) (aa694f8e)
  • Add github actions secrets to org (#2006) (bc5e5950)
  • Correct replay for Organization.create_project() test (#2075) (fcc12368)
  • Fix install command example (#2043) (99e00a28)
  • Fix: #1671 Convert Python Bool to API Parameter for Authenticated User Notifications (#2001) (1da600a3)
  • Do not transform requestHeaders when logging (#1965) (1265747e)
  • Add type to OrderedDict (#1954) (ed7d0fe9)
  • Add Commit.get_pulls() to pyi (#1958) (b4664705)
  • Adding headers in GithubException is a breaking change (#1931) (d1644e33)
PyGithub -

Published by s-t-e-v-e-n-k over 3 years ago

Breaking Changes

  • Remove client_id/client_secret authentication (#1888) (901af8c8)
  • Adjust to Github API changes regarding emails (#1890) (2c77cfad)
    • This impacts what AuthenticatedUser.get_emails() returns
  • PublicKey.key_id could be int on Github Enterprise (#1894) (ad124ef4)
  • Export headers in GithubException (#1887) (ddd437a7)

Bug Fixes & Improvements

  • Do not import from unpackaged paths in typing (#1926) (27ba7838)
  • Implement hash for CompletableGithubObject (#1922) (4faff23c)
  • Use property decorator to improve typing compatibility (#1925) (e4168109)
  • Fix :rtype: directive (#1927) (54b6a97b)
  • Update most URLs to docs.github.com (#1896) (babcbcd0)
  • Tighten asserts for new Permission tests (#1893) (5aab6f5d)
  • Adding attributes "maintain" and "triage" to class "Permissions" (#1810) (76879613)
  • Add default arguments to Workflow method type annotations (#1857) (7d6bac9e)
  • Re-raise the exception when failing to parse JSON (#1892) (916da53b)
  • Allow adding attributes at the end of the list (#1807) (0245b758)
  • Updating links to Github documentation for deploy keys (#1850) (c27fb919)
  • Update PyJWT Version to 2.0+ (#1891) (a68577b7)
  • Use right variable in both get_check_runs() (#1889) (3003e065)
  • fix bad assertions in github.Project.edit (#1817) (6bae9e5c)
  • Test repr() for PublicKey (#1879) (e0acd8f4)
  • Add support for deleting repository secrets (#1868) (696793de)
  • Switch repository secrets to using f-strings (#1867) (aa240304)
  • Manually fixing paths for codecov.io to cover all project files (#1813) (b2232c89)
  • Add missing links to project metadata (#1789) (64f532ae)
  • No longer show username and password examples (#1866) (55d98373)
  • Adding github actions secrets (#1681) (c90c050e)
  • fix get_user_issues (#1842) (7db1b0c9)
  • Switch all string addition to using f-strings (#1774) (290b6272)
  • Enabling connetion pool_size definition (a77d4f48)
  • Always define the session adapter (aaec0a0f)
PyGithub -

Published by s-t-e-v-e-n-k over 3 years ago

  • Hotfix release to better support Python 3.5 users.
  • Pin pyjwt to <2.0 (502caed9)
PyGithub -

Published by s-t-e-v-e-n-k almost 4 years ago

  • Pin pyjwt version (#1797) (31a1c007)
  • Add pyupgrade to pre-commit configuration (#1783) (e113e37d)
  • Fix #1731: Incorrect annotation (82c349ce)
  • Drop support for Python 3.5 (#1770) (63e4fae9)
  • Revert "Pin requests to <2.25 as well (#1757)" (#1763) (a806b523)
  • Fix stubs file for Repository (fab682a5)
PyGithub -

Published by s-t-e-v-e-n-k almost 4 years ago

Important

This is the last release that will support Python 3.5.

Breaking Changes

The Github.get_installation(integer) method has been removed.
Repository.create_deployment()'s payload parameter is now a dictionary.

Bug Fixes & Improvements

  • Add support for Check Suites (#1764) (6d501b28)
  • Add missing preview features of Deployment and Deployment Statuses API (#1674) (197e0653)
  • Correct typing for Commit.get_comments() (#1765) (fcdd9eae)
  • Pin requests to <2.25 as well (#1757) (d159425f)
  • Add Support for Check Runs (#1727) (c77c0676)
  • Added a method for getting a user by their id (#1691) (4cfc9912)
  • Fix #1742 - incorrect typehint for Installation.id (#1743) (546f6495)
  • Add WorkflowRun.workflow_id (#1737) (78a29a7c)
  • Add support for Python 3.9 (#1735) (1bb18ab5)
  • Added support for the Self-Hosted actions runners API (#1684) (24251f4b)
  • Fix Branch protection status in the examples (#1729) (88800844)
  • Filter the DeprecationWarning in Team tests (#1728) (23f47539)
  • Added get_installations() to Organizations (#1695) (b42fb244)
  • Fix #1507: Add new Teams: Add or update team repository endpoint (#1509) (1c55be51)
  • Added support for Repository.get_workflow_runs parameters (#1682) (c23564dd)
  • feat(pullrequest): add the rebaseable attribute (#1690) (ee4c7a7e)
  • Add support for deleting reactions (#1708) (f7d203c0)
  • Correct type hint for InputGitTreeElement.sha (08b72b48)
  • Ignore new black formatting commit for git blame (#1680) (7ec4f155)
  • Format with new black (#1679) (07e29fe0)
  • Add get_timeline() to Issue's type stubs (#1663) (6bc9ecc8)
PyGithub -

Published by s-t-e-v-e-n-k about 4 years ago

  • Test Organization.get_hook() (#1660) (2646a98c)
  • Add method get_team_membership for user to Team (#1658) (749e8d35)
  • Add typing files for OAuth classes (#1656) (429fcc73)
  • Fix Repository.create_repository_dispatch type signature (#1643) (f891bd61)
  • PaginatedList's totalCount is 0 if no last page (#1641) (69b37b4a)
  • Add initial support for Github Apps. (#1631) (260558c1)
  • Correct *kwargs typing for search_ (#1636) (165d995d)
  • Add delete_branch_on_merge arg to Repository.edit type stub (#1639) (15b5ae0c)
  • Fix type stub for MainClass.get_user (#1637) (8912be64)
  • Add type stub for Repository.create_fork (#1638) (de386dfb)
  • Correct Repository.create_pull typing harder (#1635) (5ad091d0)
PyGithub -

Published by s-t-e-v-e-n-k about 4 years ago

  • upload_asset with data in memory (#1601) (a7786393)
  • Make Issue.closed_by nullable (#1629) (06dae387)
  • Add support for workflow dispatch event (#1625) (16850ef1)
  • Do not check reaction_type before sending (#1592) (136a3e80)
  • Various Github Action improvement (#1610) (416f2d0f)
  • more flexible header splitting (#1616) (85e71361)
  • Create Dependabot config file (#1607) (e272f117)
  • Add support for deployment statuses (#1588) (048c8a1d)
  • Adds the 'twitter_username' attribute to NamedUser. (#1585) (079f75a7)
  • Create WorkflowRun.timing namedtuple from the dict (#1587) (1879518e)
  • Add missing properties to PullRequest.pyi (#1577) (c84fad81)
  • Add support for Workflow Runs (#1583) (4fb1d23f)
  • More precise typing for Repository.create_pull (#1581) (4ed7aaf8)
  • Update sphinx-rtd-theme requirement from <0.5 to <0.6 (#1563) (f9e4feeb)
  • More precise typing for MainClass.get_user() (#1575) (3668f866)
  • Small documentation correction in Repository.py (#1565) (f0f6ec83)
  • Remove "api_preview" parameter from type stubs and docstrings
    (#1559) (cc1b884c)
  • Upgrade actions/setup-python to v2 (#1555) (6f1640d2)
  • Clean up tests for GitReleaseAsset (#1546) (925764ad)
  • Repository.update_file() content also accepts bytes (#1543) (9fb8588b)
  • Fix Repository.get_issues stub (#1540) (b40b75f8)
  • Check all arguments of NamedUser.get_repos() (#1532) (69bfc325)
  • Correct Workflow typing (#1533) (f41c046f)
  • Remove RateLimit.rate (#1529) (7abf6004)
  • PullRequestReview is not a completable object (#1528) (19fc43ab)
  • Test more attributes (#1526) (52ec366b)
  • Remove pointless setters in GitReleaseAsset (#1527) (1dd1cf9c)
  • Drop some unimplemented methods in GitRef (#1525) (d4b61311)
  • Remove unneeded duplicate string checks in Branch (#1524) (61b61092)
  • Turn on coverage reporting for codecov (#1522) (e79b9013)
  • Drastically increase coverage by checking repr() (#1521) (291c4630)
  • Fixed formatting of docstrings for Repository.create_git_tag_and_release()
    and StatsPunchCard. (#1520) (ce400bc7)
  • Remove Repository.topics (#1505) (53d58d2b)
  • Small improvements to typing (#1517) (7b20b13d)
  • Correct Repository.get_workflows() (#1518) (8727003f)
  • docs(repository): correct releases link (#1514) (f7cc534d)
  • correct Repository.stargazers_count return type to int (#1513) (b5737d41)
  • Fix two RST warnings in Webhook.rst (#1512) (5a8bc203)
  • Filter FutureWarning for 2 test cases (#1510) (09a1d9e4)
  • Raise a FutureWarning on use of client_{id,secret} (#1506) (2475fa66)
  • Improve type signature for create_from_raw_data (#1503) (c7b5eff0)
  • feat(column): move, edit and delete project columns (#1497) (a32a8965)
  • Add support for Workflows (#1496) (a1ed7c0e)
  • Add create_repository_dispatch to typing files (#1502) (ba9d59c2)
  • Add OAuth support for GitHub applications (4b437110)
  • Create AccessToken entity (4a6468aa)
  • Extend installation attributes (61808da1)
Package Rankings
Top 0.61% on Pypi.org
Top 4.74% on Conda-forge.org
Top 1.76% on Alpine-edge
Top 3.53% on Alpine-v3.15
Top 0.97% on Alpine-v3.18
Top 16.01% on Anaconda.org
Top 6.18% on Alpine-v3.14
Top 8.17% on Proxy.golang.org
Top 3.12% on Alpine-v3.13
Top 5.45% on Alpine-v3.16
Top 5.64% on Alpine-v3.17
Badges
Extracted from project README's
PyPI readthedocs License Slack Open Source Helpers codecov Code style: black
Related Projects