Skip to main content

A Python library for interacting with the Soyle Translation API.

Project description

SoyleApp

SoyleApp is a Python library for interacting with the Soyle Translation API, available at soyle.nu.edu.kz. Before using this library, you must register on the website and obtain an API token. The resources consumed by the library will be tied to your account.

Features

  • Translate text between multiple languages.
  • Retrieve translations as audio with a choice of male or female voices.

Installation

Once the library is published, install it via pip:

pip install SoyleApp

Usage

Here's how to use the library:

from SoyleApp import SoyleApp 

# Create an instance of the library
app = SoyleApp()

# Activate the library with your API token
app.activate("YOUR_API_TOKEN")

# Translate text
translated_text = app.translate_text(
    source_language="eng",
    target_language="kaz",
    text="Hello, how are you?"
)
print("Translated Text:", translated_text)

Note

  • You need to register at soyle.nu.edu.kz to get an API token.
  • All resource usage is tied to your account, so use your token responsibly.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

soyleapp-1.0.3.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SoyleApp-1.0.3-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file soyleapp-1.0.3.tar.gz.

File metadata

  • Download URL: soyleapp-1.0.3.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for soyleapp-1.0.3.tar.gz
Algorithm Hash digest
SHA256 393bae9323e290e687afa20a07b99a5ca2903885ef0380cf686ef69477b889b7
MD5 f963c82558ee2f68136c6fcb47f88503
BLAKE2b-256 b9cd6c4eb9fc7754d2e57cce207fcafca30b06a5a5fba314aae7a2d836b60137

See more details on using hashes here.

File details

Details for the file SoyleApp-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: SoyleApp-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for SoyleApp-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8276e726e7b108934f064652422323f996136908d56354f44655e0c7acdaa1a7
MD5 23a4454e6db042d969a131c50e0972a7
BLAKE2b-256 990716bf05d163b009c2ae7210b895732dbb78f3630a35694db714a155cfc4c4

See more details on using hashes here.

Supported by

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