Skip to main content

Github Email Collector

Collect the email address of users affiliated to a given repository

Installation

From PyPi

pip install github-email-collector

As a submodule

git submodule add https://github.com/LucBerge/github_email_collector.git
git submodule update --init

Usage

From your python script

from github_email_collector import EmailCollector

email_collector = EmailCollector("MY_GITHUB_TOKEN", "owner/repo")
emails = email_collector.get_emails()
print(emails)

Example

Run the example to list the emails of users affiliated to this repository

echo "MY_GITHUB_TOKEN=your_github_token" > .env
pip install -r requirements.txt
python example.py

Metadata

Release files for github-email-collector 1.0

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

Source distribution (sdist)

Source distribution for github-email-collector 1.0
File Size Uploaded
github_email_collector-1.0.tar.gz 1.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for github-email-collector 1.0
File Interpreter ABI Platform
github_email_collector-1.0-py3-none-any.whl Python 3 none any Details

Total release size: 3.0 kB

Release files / github_email_collector-1.0.tar.gz

Download URL github_email_collector-1.0.tar.gz
Size 1.5 kB
Tags Source
SHA-256 checksum
How to use checksums
01309df035346fab7d13a9fa4ab930ee7741c763bc0edde3d83bf6781e88d434
BLAKE2b-256 checksum
How to use checksums
16870a353b11be6ba2b9ab8e868801594dd3978ccf30e958ece0158c097ce7bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / github_email_collector-1.0-py3-none-any.whl

Download URL github_email_collector-1.0-py3-none-any.whl
Size 1.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad05eaa37b63b61fd15f25b2423ba991e46fffb3d32c61e7e19929ed774761c5
BLAKE2b-256 checksum
How to use checksums
2b7443750f450e46b91374fb8d206aebf8684b8d3818092207c90ad2af7b5a44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

0.2

2 release files

0.1

2 release files

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