Skip to main content

Wikipedia-based CLI translator

Project description

Build status Coverage status

wptranslate is a command-line translator tool based on Wikipedia.

It should be used for concepts and vague topics where a typical translator tool wouldn’t give an accurate translation, but not for other things. For example, you won’t be able to translate a whole sentence with it.

Install

pip install wptranslate

Usage

wptranslate <source language>:<target language> <word>

Example

$ wptranslate fr:en jambon
Ham

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wptranslate-0.1.1.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file wptranslate-0.1.1.tar.gz.

File metadata

  • Download URL: wptranslate-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wptranslate-0.1.1.tar.gz
Algorithm Hash digest
SHA256 182eafd41a176d5755d615cf869354e3e86b3d5d412af4e40dc36528954f146c
MD5 afaead61081838a152a543da93997ab7
BLAKE2b-256 1d29cb164eee9d0f097806dcd180a45132ead43b7d2f8c53e28d782df406acd1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page