A simple Python client for the [Adtr Translation/Synonymization API]
Project description
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.
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
adtr_client-0.0.4.tar.gz
(2.9 kB
view details)
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 adtr_client-0.0.4.tar.gz.
File metadata
- Download URL: adtr_client-0.0.4.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.13.3 Linux/6.14.0-29-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce35d469deb22590fb2ff1b3021fc95182951e50276955135609623a4cdc0f06
|
|
| MD5 |
94b81b826bd31530771970fff1f3f938
|
|
| BLAKE2b-256 |
1bb2de953b4e1cccdb5152ebeabc91eb17db721b5cd17e2cbeb217140d71c714
|
File details
Details for the file adtr_client-0.0.4-py3-none-any.whl.
File metadata
- Download URL: adtr_client-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.13.3 Linux/6.14.0-29-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce940fe10ac6155383248d821ad4e849d5d45c5e6d1482c67be8ebf5fcf9cc8a
|
|
| MD5 |
77438b55abb3661f1be62364e4d24d4c
|
|
| BLAKE2b-256 |
f59a24a813f178f60d4fa0b6ae7c38d980cae3d6655b8138306d3767f41a5528
|