Skip to main content

balepy a Library Python for create bots API in bale application

Project description

BalePy

background

Balepy a Python Library for create bot API in bale messenger

Docs | Community | Telegram Channel

Install and Update:

pip install -U balepy

Start:

from balepy import Client
from balepy.types import Updates

from asyncio import run

bot_token = "0123456788:****************************************"

app = Client("my_bot", bot_token=bot_token)


@app.on_message
async def updates(update: Updates):
    print(update.text)
    await app.send_message(update.chat_id, update.text, update.message_id)


run(updates())

Contributors

Contributions to the project are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request on GitHub.

License

BalePy is released under the MIT License. See the bundled 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

balepy-1.4.2.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

balepy-1.4.2-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file balepy-1.4.2.tar.gz.

File metadata

  • Download URL: balepy-1.4.2.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for balepy-1.4.2.tar.gz
Algorithm Hash digest
SHA256 684d9ccbbabb05074859c7ddd870961a794ca1ac4206072255d8cafd2040d0f7
MD5 b6589d409aacc447b524dc75a2675518
BLAKE2b-256 e4f696ce2b669f7b2317dcb5894cc9e47b9d4b62490c03b7b541305ccd99d21a

See more details on using hashes here.

File details

Details for the file balepy-1.4.2-py3-none-any.whl.

File metadata

  • Download URL: balepy-1.4.2-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for balepy-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8140ba423d41aeca92c1bec87641d71cd835eb7e8664666493c60348786d418b
MD5 b9896711a101990a70a694ef32431181
BLAKE2b-256 977d34ea9cf0ed2fb6cb213012dbc98b89d549523cc6e99cff0700d01da211f5

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