
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
|GitHub license| |travis status| |version|
python 3.4+
python 2.7+
You can install it from PyPI:
.. sourcecode:: bash
$ pip install baidu_trans
.. or manual install:
.. sourcecode:: bash
$ pip install pytest $ pip install flake8 $ pip install coverage $ pip install PyExecJS
$ python setup.py test $ python setup.py install
..
single sentence translation
.. code:: python
>>> from baidu_trans import Translator
>>> translator = Translator.translator(src='en', dest='fr')
>>> translator.translate('china')
'Chine'
multiple sentence translation
.. code:: python
from GoogleFreeTrans import Translator translator = Translator.translator(src='en', dest='fr') translator.translate('china. french') [[['Chine. ', 'china.', None, None, 1], ['français.', 'french.', None, None, 1]], None, 'en']
.. code::
'afrikaans': 'af', 'arabic': 'ar', 'belarusian': 'be', 'bulgarian': 'bg', 'catalan': 'ca', 'czech': 'cs', 'welsh': 'cy', 'danish': 'da', 'german': 'de', 'greek': 'el', 'english': 'en', 'esperanto': 'eo', 'spanish': 'es', 'estonian': 'et', 'persian': 'fa', 'finnish': 'fi', 'french': 'fr', 'irish': 'ga', 'galician': 'gl', 'hindi': 'hi', 'croatian': 'hr', 'hungarian': 'hu', 'indonesian': 'id', 'icelandic': 'is', 'italian': 'it', 'hebrew': 'iw', 'japanese': 'ja', 'korean': 'ko', 'latin': 'la', 'lithuanian': 'lt', 'latvian': 'lv', 'macedonian': 'mk', 'malay': 'ms', 'maltese': 'mt', 'dutch': 'nl', 'norwegian': 'no', 'polish': 'pl', 'portuguese': 'pt', 'romanian': 'ro', 'russian': 'ru', 'slovak': 'sk', 'slovenian': 'sl', 'albanian': 'sq', 'serbian': 'sr', 'swedish': 'sv', 'swahili': 'sw', 'thai': 'th', 'filipino': 'tl', 'turkish': 'tr', 'ukrainian': 'uk', 'vietnamese': 'vi', 'yiddish': 'yi', 'chinese_simplified': 'zh-CN', 'chinese_traditional': 'zh-TW', 'auto': 'auto'
.. |GitHub license| image:: https://img.shields.io/github/license/mashape/apistatus.svg :target: http://opensource.org/licenses/MIT .. |travis status| image:: https://travis-ci.org/ziliwang/GoogleFreeTrans.svg?branch=master :target: https://travis-ci.org/ziliwang/GoogleFreeTrans .. |version| image:: https://img.shields.io/github/release/ziliwang/GoogleFreeTrans.svg :target: https://github.com/ziliwang/GoogleFreeTrans/releases
FAQs
Free baidu Translate API for Python. Translates totally free of charge.
We found that baidu-trans demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.