Skip to main content

PyPI version

mwclient-contenttranslation

The wrapper of ContentTranslation (CXServer) API of Wikipedia to be used with mwclient.

Usage

Install via PyPI: pip install mwclient-contenttranslation

from mwclient import Site
from mwclient_contenttranslation import CxTranslator
site = Site("en.wikipedia.org")
site.login(USERNAME, PASSWORD)
translator = CxTranslator(site)
translator.translate_text(["小熊維尼", "蜂蜜罐", "小熊維尼掉進蜂蜜罐"])
# ['Winnie the Pooh', 'honey pot', 'Winnie the Pooh fell into a jar of honey']

Disclaimer

Intended for good use only. Never abuse it.

Metadata

Release files for mwclient-contenttranslation 0.1.1.post1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mwclient-contenttranslation 0.1.1.post1
File Size Uploaded Provenance Actions
mwclient_contenttranslation-0.1.1.post1.tar.gz 15.0 kB Without provenance Details for mwclient_contenttranslation-0.1.1.post1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mwclient-contenttranslation 0.1.1.post1
File Interpreter ABI Platform Actions
mwclient_contenttranslation-0.1.1.post1-py3-none-any.whl Python 3 none any Details for mwclient_contenttranslation-0.1.1.post1-py3-none-any.whl

Total release size: 30.2 kB

Release files / mwclient_contenttranslation-0.1.1.post1.tar.gz

Download URL mwclient_contenttranslation-0.1.1.post1.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
951ef35ba7c5c13c0c86e8ad25050247ca1cb8e3b58e7830af3ded6042ae597d
BLAKE2b-256 checksum
How to use checksums
47d6b334a0f317497929b72b96215fbd14d313b56bd646e3843243a7edbef4cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.10.8 Linux/6.0.12-zen1-1-zen

Release files / mwclient_contenttranslation-0.1.1.post1-py3-none-any.whl

Download URL mwclient_contenttranslation-0.1.1.post1-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0881c01d54aefdafc7bab9a40ddce8abeeb7147de095393ba3b5d0d2f57da2ce
BLAKE2b-256 checksum
How to use checksums
47f03a0331c82db8c79ea542c97165c91e44404686b81ad0ec8ae63cdb82f64f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.10.8 Linux/6.0.12-zen1-1-zen

Security for mwclient-contenttranslation 0.1.1.post1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page