Skip to main content

BaleNova

راه‌اندازی سادهٔ حساب بله در Python.

GitHub · PyPI · گزارش مشکل

نصب

Python 3.10 یا جدیدتر لازم است.

python -m pip install --upgrade balenova

برای قابلیت پخش صدا در تماس:

python -m pip install --upgrade "balenova[voice]"

راه‌اندازی

فایلی به نام main.py بسازید:

from balenova import Client, events, filters

app = Client("my_account")


@app.on(events.NewMessage, filters.command("start"))
async def start(event):
    await event.reply("سلام! آماده‌ام 🌱")


app.run_forever()

برنامه را اجرا کنید:

python main.py

در اجرای اول، شماره تلفن، کد ورود و در صورت فعال‌بودن رمز دومرحله‌ای پرسیده می‌شود. ورودهای بعدی از session ذخیره‌شده استفاده می‌کنند.

نصب از GitHub

git clone https://github.com/iliasync/balenova.git
cd balenova
python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e .
python examples/echo.py

در Windows، به‌جای دستور فعال‌سازی بالا اجرا کنید:

.venv\Scripts\activate

نکتهٔ امنیتی

پوشهٔ sessions و اطلاعات ورود را در GitHub، پیام یا فایل عمومی قرار ندهید. بهتر است ابتدا با یک حساب آزمایشی شروع کنید.

این پروژه رسمی بله نیست و مسئولیت استفاده از حساب بر عهدهٔ کاربر است.

مجوز

MIT

Metadata

Release files for balenova 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for balenova 0.3.1
File Size Uploaded Provenance
balenova-0.3.1.tar.gz 302.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for balenova 0.3.1
File Interpreter ABI Platform
balenova-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 580.8 kB

Release files / balenova-0.3.1.tar.gz

Download URL balenova-0.3.1.tar.gz
Size 302.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5beb0c619f44dc203fa483c76cdae0e01e4fe33235b96cfc776c44254e09a3fa
BLAKE2b-256 checksum
How to use checksums
75d42600776cab36bea90ff9484f60a126b4522f9ed1177f63276331cdb10ab4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / balenova-0.3.1-py3-none-any.whl

Download URL balenova-0.3.1-py3-none-any.whl
Size 278.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e55272d0abae0a4f01f5c7d1833a3769498837ebcf75bdf05d5225bcd3811b1a
BLAKE2b-256 checksum
How to use checksums
386cc0149b9e42140e856feef8ae0aee8c9799e18ac6a160cac6bf1d94e8582a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for balenova 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page