BalePy
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.
Release files for balepy 1.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| balepy-1.4.2.tar.gz | 9.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| balepy-1.4.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.0 kB
Release files / balepy-1.4.2.tar.gz
| Download URL | balepy-1.4.2.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
684d9ccbbabb05074859c7ddd870961a794ca1ac4206072255d8cafd2040d0f7
|
|
BLAKE2b-256 checksum How to use checksums |
e4f696ce2b669f7b2317dcb5894cc9e47b9d4b62490c03b7b541305ccd99d21a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / balepy-1.4.2-py3-none-any.whl
| Download URL | balepy-1.4.2-py3-none-any.whl |
|---|---|
| Size | 16.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8140ba423d41aeca92c1bec87641d71cd835eb7e8664666493c60348786d418b
|
|
BLAKE2b-256 checksum How to use checksums |
977d34ea9cf0ed2fb6cb213012dbc98b89d549523cc6e99cff0700d01da211f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|