Skip to main content

pyPandey Library

Core library of The Pragyan, a python based telegram userbot.

CodeFactor PyPI - Version
PyPI - Downloads
Maintenance Open Source Love svg2 PRs Welcome

Installation

pip3 install -U pyPandey

Documentation

Documentation

Usage

  • Create folders named plugins, addons, assistant and resources.
  • Add your plugins in the plugins folder and others accordingly.
  • Create a .env file with following mandatory Environment Variables
    API_ID
    API_HASH
    SESSION
    REDIS_URI
    REDIS_PASSWORD
    
  • Check .env.sample for more details.
  • Run python3 -m pyPandey to start the bot.

Creating plugins

  • To work everywhere

@Pragyan_cmd(
    pattern="start"
)   
async def _(e):   
    await e.eor("Pragyan Started!")   
  • To work only in groups

@Pragyan_cmd(
    pattern="start",
    groups_only=True,
)   
async def _(e):   
    await eor(e, "Pragyan Started.")   
  • Assistant Plugins 👇

@asst_cmd("start")   
async def _(e):   
    await e.reply("Pragyan Started.")   

See more working plugins on the offical repository!

Made with 💕 by @TeamPandey.

License

License
Pragyan is licensed under GNU Affero General Public License v3 or later.

Credits

Release files for pyPandey 2024.11.12

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

Source distribution (sdist)

Source distribution for pyPandey 2024.11.12
File Size Uploaded
pypandey-2024.11.12.tar.gz 80.3 kB Details

Built distribution (wheel)

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

Total release size: 183.1 kB

Release files / pypandey-2024.11.12.tar.gz

Download URL pypandey-2024.11.12.tar.gz
Size 80.3 kB
Tags Source
SHA-256 checksum
How to use checksums
50d5e50e52108ef197647297b58d510f124d810e31e95015067d3654d874eb5b
BLAKE2b-256 checksum
How to use checksums
d539e3378a019331b0e181d4d4d473e9e4a35971c16f3f7f0d741c746c1df899
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release files / pyPandey-2024.11.12-py3-none-any.whl

Download URL pyPandey-2024.11.12-py3-none-any.whl
Size 102.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8de1e1eed1ea73291b85ffc76317613c9598c6dcefa64a8be7774970878cc1a2
BLAKE2b-256 checksum
How to use checksums
19b3a88ed6d0ffd0ce6cb7acb6e67a83d875226c81d8a5592651f4dc24d66a25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release history Release notifications | RSS feed

This release

2024.11.12 This release

2 release files

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