Skip to main content

Asynchronous wrapper for Yandex Balaboba

Project description

aiobalaboba

CI pre-commit.ci status codecov

Asynchronous wrapper for Yandex Balaboba (Яндекс Балабоба).

Synchronous version here.

Disclaimer

The neural network doesn’t really know what it’s saying, so it can say absolutely anything. Don’t get offended if it says something that hurts your feelings. When sharing the texts, make sure they’re not offensive or violate the law.

Installation

python -m pip install aiobalaboba

Usage example

import asyncio

from aiobalaboba import Balaboba


async def main():
    bb = Balaboba()

    # Get text types
    intros = await bb.intros(language="en")

    # Get the first text type
    intro = next(intros)

    # Print Balaboba's response to the "Hello" query
    response = await bb.balaboba("Hello", intro=intro.number)
    print(response)

asyncio.run(main())

License

MIT

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

aiobalaboba-2.0.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

aiobalaboba-2.0.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file aiobalaboba-2.0.0.tar.gz.

File metadata

  • Download URL: aiobalaboba-2.0.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.7 Linux/5.19.7-zen2-1-zen

File hashes

Hashes for aiobalaboba-2.0.0.tar.gz
Algorithm Hash digest
SHA256 46b772abace5f1d68c468cab072660feeda65631bf67e87e18dd31e4e8c86647
MD5 1b83b2fb0b92a5f34da9d85a66010116
BLAKE2b-256 1bce309c3ede3aace10c3204915b3a106b4d051df5f90a02c95d143ea6733672

See more details on using hashes here.

File details

Details for the file aiobalaboba-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: aiobalaboba-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.7 Linux/5.19.7-zen2-1-zen

File hashes

Hashes for aiobalaboba-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 330e7da14f94124c68c49972efa95d31d73b2dc3a4edb2f7a8813e9a037d116b
MD5 0e9804bed87fb964444f45ddf781887a
BLAKE2b-256 788c4db6bc030741216dcebf273fdcf1b2727246ae9457d3974ab55e2afb8f48

See more details on using hashes here.

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