Skip to main content

PyJetra Library

[EN] A Modern Python Wrapper for Jetra Bot API

[FA] یک کتابخانه مدرن پایتون برای API ربات جترا


[EN] Features / [FA] امکانات

  • Sync & Async Support / پشتیبانی از Sync و Async
  • State Management / مدیریت وضعیت
  • Advanced Filters / فیلترهای پیشرفته
  • Full Media Support / پشتیبانی کامل از رسانه‌ها

[EN] Installation / [FA] نصب

pip install pyjetra

[EN] Quick Start (Sync) / [FA] شروع سریع (همزمان)

from pyjetra import JetraBot, CommandFilter

bot = JetraBot('YOUR_TOKEN')

@bot.on_message(filters=[CommandFilter('start')])
def start(msg):
    msg.reply('Hello from PyJetra!')

bot.poll()

[EN] Quick Start (Async) / [FA] شروع سریع (غیرهمزمان)

from pyjetra import AsyncJetraBot, CommandFilter
import asyncio

bot = AsyncJetraBot('YOUR_TOKEN')

@bot.on_message(filters=[CommandFilter('start')])
async def start(msg):
    await msg.reply('Hello Fast!')

asyncio.run(bot.start_polling())

[EN] Testing / [FA] تست کردن

Navigate to the tests/ folder and run the files. Read the comments inside each test file.

[EN] Developer / [FA] توسعه‌دهنده

Created with ❤️ by Ali VEX GitHub: https://github.com/lyrdaadhrpyk802-ux

Metadata

Release files for pyjetra 1.3.0

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

Source distribution (sdist)

Source distribution for pyjetra 1.3.0
File Size Uploaded Provenance
pyjetra-1.3.0.tar.gz 9.5 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 20.6 kB

Release files / pyjetra-1.3.0.tar.gz

Download URL pyjetra-1.3.0.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c46990a3e961cd71a702a68a87b9d3aa6847423d5b6fa47a4b42f0f6a66e1188
BLAKE2b-256 checksum
How to use checksums
b8437feed6ab38d4fefb6f9b48cf0e68f358e34a0dff77685d827ad337a5c2ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / pyjetra-1.3.0-py3-none-any.whl

Download URL pyjetra-1.3.0-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fed8d456df863900d3eaeff0063017ec3cce594f4a710891c5cd5a4536d1d5b7
BLAKE2b-256 checksum
How to use checksums
53e08e2a89dac7dfb84038cde7af04f684a7dc3057f7ff08768ccfdc9bdd6a85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for pyjetra 1.3.0

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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