![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
pygethub is a Python package for fetching paginated resources such as commits, users, repositories and organizations from the GitHub API. It provides automatic rate-limit handling and pagination for GitHub resources.
To install pygethub
, you can use pip:
pip install pygethub
Here is an example of how you can use pygethub
:
from pygethub import list_commits, GitHubPaginator, list_users
# List commits for a specific repository
commits = list_commits('owner', 'repo', 'your-github-token')
print(commits)
# Use pagination to list users
paginator = GitHubPaginator('your-github-token')
# List users from the beginning, include other request parameters as keyword arguments
users = paginator.get_paginator(list_users)
for user in users:
print(user)
# If you want to resume the listing from a certain user ID, use the `since` parameter
users = paginator.get_paginator(list_users, since=500)
for user in users:
print(user)
# Similarly, you can use the `since` parameter with list_organizations to resume listing from a certain organization ID
To install pygethub
, along with the tools you need to develop and run tests, run the following in your virtual environment:
pip install -e .[dev,test]
Contributions are welcome! Please read our Contributing Guide on how to contribute to pygethub
.
pygethub
is licensed under the terms of the MIT license. See the LICENSE file for the full license text.
FAQs
Fetch data from GitHub
We found that pygethub demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.