![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
.. image:: https://travis-ci.org/wronglink/mstranslator.png?branch=master :target: https://travis-ci.org/wronglink/mstranslator :alt: Travis-ci: continuous integration status.
.. image:: https://badge.fury.io/py/mstranslator.png :target: http://badge.fury.io/py/mstranslator :alt: PyPI version
Install with pip:
.. code-block:: console
$ pip install mstranslator
To access Translator API you need a Microsoft Azure
_ account. Note that subscriptions,
up to 2 million characters a month, are free. Translating more than 2 million characters per
month requires a payment.
That's all. Now you have a Subscription Key and can use Microsoft Translator API.
Example Usage:
.. code-block:: pycon
>>> from mstranslator import Translator
>>> translator = Translator('<Subscription Key>')
>>> print(translator.translate('Привет, мир!', lang_from='ru', lang_to='en'))
Hello World!
To run tests you need to set TEST_MSTRANSLATOR_SUBSCRIPTION_KEY
environment variable
and install tox
_ package. After that run shell command:
.. code-block:: console
$ tox
.. _Microsoft Azure: http://azure.com .. _tox: http://tox.readthedocs.org/en/latest/
0.3.2 (2016-12-08) ++++++++++++++++++
0.2.6 (2016-10-02) ++++++++++++++++++
@kanghj <https://github.com/kanghj>
_)0.2.5 (2013-07-23) ++++++++++++++++++
0.2.4 (2013-07-18) ++++++++++++++++++
@wjt <https://github.com/wjt>
_)0.2.3 (2013-05-08) ++++++++++++++++++
0.2.2 (2013-05-05) ++++++++++++++++++
0.2.1 (2013-05-04) ++++++++++++++++++
FAQs
Microsoft Translator API wrapper
We found that mstranslator 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.