Skip to main content

githubcollaborators

This is a very simple tool. It takes a GitHub username & Personal Access Token, and returns a JSON with the collaborators on the user's GitHub repos, where there are collaborators.

Personal Access Token

Should be generated from https://github.com/settings/tokens

Requires the following permissions:

  • repo ("Full control of private repositories")
  • admin:org -> read:org ("Read or and team membership, read org projects")
  • user -> read:user ("Read all user profile data")

Standalone

pip install githubcollaborators
githubcollaborators -u <your-github-username> -t <github-personal-access-token> -o output.json

Full options:

usage: githubcollaborators [-h] -u USERNAME [-t TOKEN] [-v VISIBILITY]
                           [-o OUTPUT] [--verbose]

List collaborators for all repositories for the given user. Might take a while
to run, be patient.

optional arguments:
  -h, --help            show this help message and exit
  -u USERNAME, --username USERNAME
                        GitHub username
  -t TOKEN, --token TOKEN
                        Personal Access Token for the specified GitHub
                        username. Requires following permissions: repo("Full
                        control of private repositories"), admin: org -> read:
                        org("Read or and team membership, read org projects"),
                        user -> read: user("Read all user profile data")
  -v VISIBILITY, --visibility VISIBILITY
                        Visibility level of the repositories, can be: all,
                        public, or private
  -o OUTPUT, --output OUTPUT
                        Save to specified output file
  --verbose             Set logging level to INFO

As a library

from githubcollaborators import githubcollaborators

print(githubcollaborators(<your_username>, <your_personal_access_token>))

Metadata

Release files for githubcollaborators 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for githubcollaborators 0.0.1
File Size Uploaded Provenance Actions
githubcollaborators-0.0.1.tar.gz 3.4 kB Without provenance Details for githubcollaborators-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for githubcollaborators 0.0.1
File Interpreter ABI Platform Actions
githubcollaborators-0.0.1-py3-none-any.whl Python 3 none any Details for githubcollaborators-0.0.1-py3-none-any.whl

Total release size: 8.5 kB

Release files / githubcollaborators-0.0.1.tar.gz

Download URL githubcollaborators-0.0.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
eaac8e2f8ffefa522db7eb2360cb31ded18e830f90bd840d32ea45e09c43181c
BLAKE2b-256 checksum
How to use checksums
903a0e70f4c0c53f982d596b26b6590f2b5e85f5aec4063057f277a346fd67bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.9

Release files / githubcollaborators-0.0.1-py3-none-any.whl

Download URL githubcollaborators-0.0.1-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3398ef2d5b5d3426afe71c618719a4d0dbb3d49f44585b08e1863d414648fe93
BLAKE2b-256 checksum
How to use checksums
78902516231a53f43f831d1a4adc843b5e1c42a40deb9f272b8ba291c98fb0b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.9

Security for githubcollaborators 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page