github3.py
github3.py copied to clipboard
Hi, I'm a library for interacting with GItHub's REST API in a convenient and ergonomic way. I work on Python 3.6+.
[Support Import API](https://developer.github.com/v3/migration/source_imports/) - [ ] Start an import - [ ] Get import progress - [ ] Update existing import - [ ] Get commit authors - [ ]...
5 years ago this commit (https://github.com/sigmavirus24/github3.py/commit/6f80592d525fdf71b43c82bdf271162f81e5465f) changed the docs site from https://github3py.readthedocs.io/ to https://github3.readthedocs.io/ However today the old (?) docs site is still available and is the first hit on...
`latest_release()` is dying with: ``` File ".../src/github3/repos/repo.py", line 2163, in latest_release return self._instance_or_null(release.Release, json) File ".../src/github3/models.py", line 152, in _instance_or_null return instance_class(json, self) File ".../src/github3/models.py", line 53, in __init__ self._update_attributes(json)...
updates: - [github.com/psf/black: 23.12.1 → 24.2.0](https://github.com/psf/black/compare/23.12.1...24.2.0) - [github.com/asottile/pyupgrade: v3.15.0 → v3.15.1](https://github.com/asottile/pyupgrade/compare/v3.15.0...v3.15.1)
Prevents the following TypeError with events of deleted users (aka "ghost"): ``` File "/path/to/github3/models.py", line 52, in __init__ self._update_attributes(json) File "/path/to/github3/issues/event.py", line 63, in _update_attributes self.actor = users.ShortUser(event["actor"], self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
It looks like there is now a [discussions API](https://docs.github.com/en/graphql/guides/using-the-graphql-api-for-discussions) available. It would be great to be able to have that integrated into this project so that we could call something...
It appears that Deployment Environments ( https://docs.github.com/en/rest/deployments/environments?apiVersion=2022-11-28 ) are not currently supported. Unfortunately I don't have time to implement this myself, but wanted to open an issue to track the...
Traceback: ``` Traceback (most recent call last): File "/Users/computeruser/dev/issue-metrics/issue_metrics.py", line 327, in main() File "/Users/computeruser/dev/issue-metrics/issue_metrics.py", line 282, in main issues_with_metrics, num_issues_open, num_issues_closed = get_per_issue_metrics( ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/computeruser/dev/issue-metrics/issue_metrics.py", line 184, in...
Adds support for organization and repository secrets. As these are part of the GitHub Actions API they are put into a new submodule `github3.actions`. This PR does not support environment...
Getting an github3.exceptions.IncompleteResponse exception when there haven't been any changes in the gist revision. Should be a quick fix but apparently everything is locked down so I can't issue a...