Generate the famous thanks.json of Kaku
- Generate thanks.json of Kaku
This repository also include the features of the following projects:
- Fasternix Stratalorn (Transifex Translators)
- Obstructing Trio (GitHub Contributors)
- Works with python3.x and python2.x
- Access Transifex project details
- Get list of translators and save the result into a JSON file
- Get list of translators and return the result in Python
dict
format - Get list of translators and return the result in Python
list
format
- Works with Python 3.x and Python 2.x
- Access GitHub repository contributors list
- Get list of contributors username in JSON format
- Get list of contributors username in Python
dict
format - Get list of contributors username in Python
list
format - Exclude username from generated list
$ git clone https://github.com/funilrys/kaku-thanks.git
# The following will install fasternix_stratalorn and obstructing_trio into
# your python environment
$ cd kaku-thanks && ./execute_me_first
$ python thanks.py -h
usage: thanks.py [-h] [-o OUTPUT] username
Generate the famous thanks.json of Kaku. More
informations about Kaku at https://github.com/EragonJ/Kaku
positional arguments:
username Transifex username. Must be a maintainer of
Kaku Transifex project
optional arguments:
-h, --help show this help message and exit
-o OUTPUT, --output OUTPUT
Define where thanks.json is gonna be
saved
Crafted with ♥ by Nissar Chababy (Funilrys)
The following will simply generate thanks.json
into our current location
# The username of a valid maintainer of the Transifex project is needed.
# Password is asked.
$ python thanks.py funilrys
The following will simply generate thanks.json
into the desired location
# The username of a valid maintainer of the Transifex project is needed.
# Password is asked.
$ python thanks.py funilrys -o ..
# Same for the following.
$ python thanks.py funilrys --output ..
Please report here for more examples.
The following will save the list of translator into translators.json
in you current location.
from fasternix_stratalorn import get
get('funilrys', 'desktop-app')
Please report here for more examples.
The following will save the list of contributors into contributors.json
in you current location.
#!/bin/env python
from obstructing_trio import get
get('EragonJ/Kaku')
To contribute, you have to send a new Pull Request after you forked and edited the script(s).
- To sign your commit(s) with "Signed-off by: FirstName LastName < email at service dot com >" and/or simply sign your commit(s) with PGP (Please read more here).
- All contributions/modifications must be done under the
dev
or a new branch if you plan to send a new Pull Request. ⚠️ Every contributions/modifications which are under master (exception for minor changes) will not be merged.⚠️
MIT License
Copyright (c) 2017 Nissar Chababy <contact at funilrys dot com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.