A translations service Python client
Project description
A translation service client.
Usage example
>>> from translations_client import TranslationsClient
>>> client = TranslationsClient("127.0.0.1", 5512)
>>> print(client.get("se", None, "I have many"))
"Jag har många"
>>> print(client.get("se", None, "I have many", "translations"))
["Jag har många", "översättningar"]
>>> print(client.get("se", None, ("I have many", 1), ("translations", 1)))
["Jag har en", "översättning"]
>>> print(client.get("se", None, ("I have many", 0), ("translations", 0)))
["Jag har inga", "översättningar"]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file TranslationsClient-0.1.0.tar.gz.
File metadata
- Download URL: TranslationsClient-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ebe0107a0c24c78dd6bf653094a3480b165ccc384a1341e962e347176583efa
|
|
| MD5 |
7445cba48964708b524c64fa410265c8
|
|
| BLAKE2b-256 |
923a568909efc2605326fffbba5b5a0183adf6ab4abdc52762eaf34a33c361ad
|
File details
Details for the file TranslationsClient-0.1.0-py3-none-any.whl.
File metadata
- Download URL: TranslationsClient-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ae1f94a1ccfbec1bc97d6b6112e74e4a7f05e4227e75cc579ee0cdf5b046e1f
|
|
| MD5 |
fa443bf052d3719fce20436dec2296fc
|
|
| BLAKE2b-256 |
d1047dfaa094280ce218e4d311c005f6d31d8de60688981c16b88bbb770cad04
|