Command line tool written in Python for creating Github releases through Github REST API.
$ pip install arestclient
$ git clone [email protected]:sitingren/github-release-cli.git
$ cd github-release-cli
$ python publish_github_release.py --help
usage: publish_github_release.py [-h] -V VERSION -o OWNER -r REPO -t TOKEN
[-d DESCRIPTION] [-a ASSET] [--draft]
[--prerelease]
Create a release on Github
optional arguments:
-h, --help show this help message and exit
-V VERSION, --version VERSION
release version
-o OWNER, --owner OWNER
Github repo owner
-r REPO, --repo REPO Github repo name
-t TOKEN, --token TOKEN
Github access token (with push access)
-d DESCRIPTION, --description DESCRIPTION
Github release description
-a ASSET, --asset ASSET
path to an asset
--draft create a draft (unpublished) release
--prerelease identify the release as a prerelease
auto_release_python.sh
is an executable script which is designed to publish Python packages to both Github (via publish_github_release.py) and PyPI.
collect_github_insights.py
is a python script which can collect insights (number of views, clones, watchers, stargazers and forks) of a Github repository.