from py_trans import PyTranslator x = PyTranslator() print(x.translate("Hi", "si"))
py-trans is a Free Python library for translate text into different languages.
For now py-trans supported for 5 translate engines (providers)
Install from pypi
pip3 install py-trans
Install from source
If you want to try out latest features then install py-trans from the source.
pip install git+https://github.com/Itz-fork/py-trans.git
If you want to check whether it’s successfully installed or not just run the following command in your terminal. This will print out the current version of py-trans. So you can use this to check the version also.
echo 'from py_trans import __version__ as v; print(v)' | python3
“Stop it, Get some help”
If you want more information about usage of thsi module or need some examples to get started, just read the docs of py-trans – Click here
License & Copyright
is licensed under MIT License
Copyright (c) 2021 Itz-fork