Skip to main content

mymemory-tr-free Python3.6|3.7 packagecodecovPyPI version

mymemory translate for free with proxy support

Daily quota: 10000 chars for a single IP; use a proxy to another 10000

Installation

pip install mymemory-tr-free

Validate installation

python -c "import mymemory_tr; print(mymemory_tr.__version__)"
0.0.1

Usage

from mymemory_tr import MymemoryTr

mymemory_tr = MymemoryTr().translate

mymemory_tr('test this and that')
# '测试一下'

# use a proxy per instance
proxy = 'http://127.0.0.1:8888'
mymemory_tr = MymemoryTr(proxy=proxy).translate
mymemory_tr('test this and that')

# use a proxy per request
mymemory_tr = MymemoryTr().translate
proxy = 'http://127.0.0.1:8888'
mymemory_tr('test this and that', proxy=proxy)

# source and destination can be identified by RFC3066 (ISO 639-1)
mymemory_tr = MymemoryTr(to_lang='de').translate
mymemory_tr('Test this and that and more')
# 'Testen Sie dieses und das und mehr'

# source and destination can be overriden per request
mymemory_tr = MymemoryTr(to_lang='de').translate
mymemory_tr('Test this and that and more', to_lang='fr')
# 'Testez ceci et cela et plus encore'

Acknowledgments

  • Thanks to everyone whose code was used

Metadata

Release files for mymemory-tr-free 0.0.2

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

Source distribution (sdist)

Source distribution for mymemory-tr-free 0.0.2
File Size Uploaded
mymemory-tr-free-0.0.2.tar.gz 6.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mymemory-tr-free 0.0.2
File Interpreter ABI Platform
mymemory_tr_free-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 13.9 kB

Release files / mymemory-tr-free-0.0.2.tar.gz

Download URL mymemory-tr-free-0.0.2.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a5e85df06727393a37c8fc008f5a1cc93e7628626bb5919b7456c5ca68747c5b
BLAKE2b-256 checksum
How to use checksums
acf8705b16792be1d2b3fdf6a5562b56657c08ee007a0c392565e78652ba8ee7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

Release files / mymemory_tr_free-0.0.2-py3-none-any.whl

Download URL mymemory_tr_free-0.0.2-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
325a002617a0d3e47f9498cb24930572bf2c3ed83f4a0f51af659f07e1589077
BLAKE2b-256 checksum
How to use checksums
160cb236d321d1daa187698ed49ca831b80d8cf36d2bb12fb649a3716f0d941a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

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