Skip to main content

The official Python library for the LMNT API

Project description

LMNT Python SDK

PyPI version

The LMNT Python SDK provides convenient access to the LMNT API from Python applications.

Documentation

Full documentation is available at docs.lmnt.com/api/sdks/python.

Installation

pip install lmnt

Getting started

import os
from lmnt import Lmnt

client = Lmnt(
    api_key=os.environ.get("LMNT_API_KEY"),  # This is the default and can be omitted
)

response = client.speech.generate(
    text="hello world.",
    voice="leah",
)

Requirements

Python 3.10 or higher.

Contributing

See the contributing documentation.

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

lmnt-2.13.0.tar.gz (204.8 kB view details)

Uploaded Source

Built Distribution

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

lmnt-2.13.0-py3-none-any.whl (90.9 kB view details)

Uploaded Python 3

File details

Details for the file lmnt-2.13.0.tar.gz.

File metadata

  • Download URL: lmnt-2.13.0.tar.gz
  • Upload date:
  • Size: 204.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for lmnt-2.13.0.tar.gz
Algorithm Hash digest
SHA256 21c050281d10803fe5a63e9487304e9921baf81db5ec5f226ba51f7dd02289aa
MD5 68af249ad08f309094f184bd5d7da522
BLAKE2b-256 769ffaa65fc9b7b50bfc58bda3a84484270788a506d7241fa56a108d67b39725

See more details on using hashes here.

Provenance

The following attestation bundles were made for lmnt-2.13.0.tar.gz:

Publisher: publish.yml on lmnt-com/lmnt-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lmnt-2.13.0-py3-none-any.whl.

File metadata

  • Download URL: lmnt-2.13.0-py3-none-any.whl
  • Upload date:
  • Size: 90.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for lmnt-2.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2fa2f7019a5e229e1712c0bcb54f23dce81bfb46d29dcf2fc832966b642d0bc4
MD5 46647f90250e974d9f57991965f98717
BLAKE2b-256 acf8b920f95e2168ff200d916272ade5941f5ebd7511c7c7b144880589e7f3a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for lmnt-2.13.0-py3-none-any.whl:

Publisher: publish.yml on lmnt-com/lmnt-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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