Python module/library for saving the list of translators of a given Transifex project into a JSON file.
- 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
https://github.com/funilrys/Fasternix-Stratalorn.git
cd Fasternix-Stratalorn && python setup.py install
The following will save the list of translator into translators.json
in you current location.
from fasternix_stratalorn import get
get('funilrys', 'desktop-app')
The following will not save the list of translator into translators.json
but it'll return a python list
of translators usernames.
#!/bin/env python
from fasternix_stratalorn import get
translators = get('funilrys', 'desktop-app', save_in_file=False, return_list=True)
print(translators)
The following will save the list of translator into translators.json
and it'll return a python dict
of the translator's usernames.
Output format: {'translators':['user1','user2']}
#!/bin/env python
from fasternix_stratalorn import get
translators = get('funilrys', 'desktop-app', save_in_file=True, return_dict=True)
print(translators)
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.