AnySolve.ai Client library
Project description
anysolve is a library for executing AnySolve.ai tasks. It needs an API-Key that can be created in the settings of an anysolve.ai account. The settings can be found at https://www.anysolve.ai/settings.
Please note that the execution of an AnySolve.ai task may be chargeable.
Installation
You can install this library by using pip. The library is designed to use only requests as dependency.
Supported Python Versions
Python >= 3.6
Mac/Linux
pip3 install anysolve
Windows
pip.exe install anysolve
Example Usage
Translation of a text (free):
from anysolve import AnySolve
client = AnySolve(
"your_api_key"
)
result = client.run(
"intern-translation-free",
"1.0.0",
{
"source_language": "de",
"text": "Das ist ein rotes Haus.",
"target_language": "en",
},
)
print(result)
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
anysolve-1.0.1.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for anysolve-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ca66edcb638bdb15e0ed2c9b912caf45afe0781e30b68caf33a71591e63544a |
|
MD5 | e2f755486a750b3b5f0e68985d3bb03b |
|
BLAKE2b-256 | 0a6ab95d543e907bda9dad6c6bbc226d3076cc88222e02c01e0ad40ddc3372c5 |