Skip to main content
https://img.shields.io/pypi/v/github_listener.svg https://img.shields.io/pypi/dm/github_listener.svg

The simple library that calls user’s registered functions whenever github events happen.

How to install

You can install Github Listener using pip :

$ pip install github_listener

Feature Support

  • Notification

  • …If you have things you want, please tell me through issues.

Example

from github_listener import (
  GithubAccount,
  GithubListener,
)

account = GithubAccount("username", "password")
listener = GithubListener(account)

@listener.notification
def on_notification(change):
  # Do things that you want to do whenever the github's notification occurs.
  pass

listener.run()  # infinite loop
from github_listener import GithubAccount
from github_listener.github_api import NotificationAPI

account = GithubAccount("username", "password")
api = NotificationAPI(account)
groups = api.get_notification_groups()

# Do something using notification informations.

For more detail examples, Go Examples.

Contribution

Welcome any kind of contribution!

Metadata

Release files for github_listener 0.1.3

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_listener 0.1.3
File Size Uploaded Provenance
github_listener-0.1.3.tar.gz 4.9 kB Without provenance Details

Release files / github_listener-0.1.3.tar.gz

Download URL github_listener-0.1.3.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9822edc92d85b3f41a718e22eb6558194ade79ea98c5e87b430ffc04d62249cd
BLAKE2b-256 checksum
How to use checksums
226a75bc0bcbd17aea2e7ae798ad74657c271040c43b9c98493e5f57eefe5ed8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for github_listener 0.1.3

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.

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