Adtr Translation Client
A simple Python client for the Adtr Translation API.
Installation
Install the client using pip:
pip install adtr_client
Usage
Use the client to translate or synonymize text via the Adtr Translation API.
Example:
from adtr_client import translate, synonimyze
result = translate(
user_id="your_user_id",
api_key="your_api_key",
text="text to translate",
target_language="target_language"
)
print(result)
from adtr_client import translate
result = synonimyze(
user_id="your_user_id",
api_key="your_api_key",
text="text to synonimyze",
)
print(result)
Configuration
- Obtain your
user_idandapi_keyfrom the rkn.name service - Replace
"your_user_id","your_api_key", and other parameters in the example above with your credentials and desired values.
Metadata
Release files for adtr-client 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| adtr_client-0.0.4.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| adtr_client-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.1 kB
Release files / adtr_client-0.0.4.tar.gz
| Download URL | adtr_client-0.0.4.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce35d469deb22590fb2ff1b3021fc95182951e50276955135609623a4cdc0f06
|
|
BLAKE2b-256 checksum How to use checksums |
1bb2de953b4e1cccdb5152ebeabc91eb17db721b5cd17e2cbeb217140d71c714
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.4 CPython/3.13.3 Linux/6.14.0-29-generic
|
Release files / adtr_client-0.0.4-py3-none-any.whl
| Download URL | adtr_client-0.0.4-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce940fe10ac6155383248d821ad4e849d5d45c5e6d1482c67be8ebf5fcf9cc8a
|
|
BLAKE2b-256 checksum How to use checksums |
f59a24a813f178f60d4fa0b6ae7c38d980cae3d6655b8138306d3767f41a5528
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.4 CPython/3.13.3 Linux/6.14.0-29-generic
|