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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

github_email_collector-1.0.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

github_email_collector-1.0-py3-none-any.whl (1.5 kB view details)

Uploaded Python 3

File details

Details for the file github_email_collector-1.0.tar.gz.

File metadata

  • Download URL: github_email_collector-1.0.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for github_email_collector-1.0.tar.gz
Algorithm Hash digest
SHA256 01309df035346fab7d13a9fa4ab930ee7741c763bc0edde3d83bf6781e88d434
MD5 cf6685ddd9cbcc2227f683a8fac78121
BLAKE2b-256 16870a353b11be6ba2b9ab8e868801594dd3978ccf30e958ece0158c097ce7bc

See more details on using hashes here.

File details

Details for the file github_email_collector-1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for github_email_collector-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad05eaa37b63b61fd15f25b2423ba991e46fffb3d32c61e7e19929ed774761c5
MD5 77043a6321a8f2ad73bfbeda1dae6b86
BLAKE2b-256 2b7443750f450e46b91374fb8d206aebf8684b8d3818092207c90ad2af7b5a44

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page