It’s understood that you may use github cli, however gease simply makes a git release using github api v3.
Installation
You can install gease via pip:
$ pip install gease
or clone it and install it:
$ git clone https://github.com/moremoban/gease.git
$ cd gease
$ python setup.py install
Setup and Configuration
First, please create personal access token for yourself on github.
Next, please create a gease file(.gease) in your home directory and place the token inside it. Gease file is a simple json file. Here is an example:
{"user":"chfw","personal_access_token":"AAFDAFASDFADFADFADFADFADF"}
Organisation
In order to make a release for your organisation, “read:org” right is required:
Command Line
gease simply makes a git release using github api v3. version 0.0.1
Usage: gs repo tag [release message]
where:
release message is optional. It could be a quoted string or space separate
string
Examples:
gs gease v0.0.1 first great release
gs gease v0.0.2 "second great release"
:: contributors list the contributors of a repo. version 0.0.4
Usage: contributors user/org repo
- Where:
user/org is the your github username or orgnisation name repo is the repository name
Examples:
contributors pyexcel pyexcel-io
License
MIT
Change log
0.0.11 - 18.10.2020
Updated
#14: failed to use public apis
0.0.10 - 18.10.2020
Updated
#3: include license, tests and docs in the package
0.0.9 - 17.10.2020
Updated
return all user details using github token if exist. otherwise use public api under quota
0.0.8 - 21.09.2020
Updated
return all user details per github user api
handle 403 and throw out unknown status code
0.0.7 - 28.08.2020
Updated
raise UrlNotFound when request a non-existent url
0.0.6 - 26.08.2020
Updated
#1: access repo contributors without github token.
0.0.5 - 21.08.2020
Added
use login name if full name of the contributor is null
0.0.4 - 21.08.2020
Added
get contributors of a github repo
0.0.3 - 25.11.2017
Added
#1: release repos of the organisation that you belong to.
0.0.2 - 15.10.2017
Added
quit with -1 if github responds with error
0.0.1 - 13.10.2017
Added
First release.
Metadata
Release files for gease 0.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gease-0.0.11.tar.gz | 14.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gease-0.0.11-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 25.9 kB
Release files / gease-0.0.11.tar.gz
| Download URL | gease-0.0.11.tar.gz |
|---|---|
| Size | 14.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6dea12273f73a32139a6bb1681222b247d48ee5e599da2e1c0453cb92e0a230
|
|
BLAKE2b-256 checksum How to use checksums |
0568c57f9a5cb9b1d3ee261f4046534773a48818c74de47df187dee8e4a3662c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
|
Release files / gease-0.0.11-py2.py3-none-any.whl
| Download URL | gease-0.0.11-py2.py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8231abb172c6950930ac4e1ee1af999a289a82ce9fd98fb5b76d54418aade941
|
|
BLAKE2b-256 checksum How to use checksums |
5a0573a6c284891fc18190258ce5e0e817f23efaa5ffc097cd8f8b500d57c8d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
|