Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

Tags github issue with labels defined by regular expression

Project Description


Small python script which can automatically label issues in your github repo.

### Install python -m pip install –extra-index-url github-robot

### Dependencies

pip install configparser, click, request, flask

Github Robot usage

### Config file template token: Github token needed for authentication

rules: Issues labelling is based on regexp rules defined here

defaultlabel: If no rule before works for ulabelled issue, then issue gets default label defined here

searchcomments: True/False - if True, this app will search keywords also in issue’s comments

Example of config.ini:

[github] token = xxx

rules = [[“searched text”, “label text”], [“searched text”, “label text”]] defaultlabel = “” searchcomments = False

Place the config.ini in the working directory defined in For example my config.ini is in /home/pilatcen/config.ini and is in /home/pilatcen/1.HW-MI-PYT/ And then create webhook in your github repository which triggers /hook only on issue change (create/delete…)

### Endpoints / - Shows this help

/hook - Accept only POST request with JSON data about actions connected with issues from

### Usage githubrobot –help

Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
github-robot-0.6.tar.gz (17.6 kB) Copy SHA256 Checksum SHA256 Source Oct 30, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting