Skip to main content

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)

Uploaded Source

Built Distribution

anysolve-1.0.1-py2.py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page