PYSTARK
A library to create telegram bots on top of pyrogram.
➥ Aim
Ease bot development for absolute beginners.
➥ Documentation
pystark.codes
➥ PyPi
pypi.org/project/pystark
➥ Latest Version
v0.2.11
➥ ChangeLog
https://pystark.codes/en/latest/meta/changelog/
A library to create telegram bots on top of pyrogram.
➥ Aim
Ease bot development for absolute beginners.
➥ Documentation
pystark.codes
➥ PyPi
pypi.org/project/pystark
➥ Latest Version
v0.2.11
➥ ChangeLog
https://pystark.codes/en/latest/meta/changelog/
👍3🤩2🔥1
❤2👍1🔥1
PYSTARK v0.3.0
➥ Load plugins from multiple directories. Instead of passing a ‘str’ to ‘activate()’ function, pass a list.
➥ Override the in-built/default plugins automatically as they are loaded later now.
➥ Added optional argument [‘-v’, ‘–version’] to see currently installed version in CLI.
➥ Removed optional argument [‘-h’, ‘–help’] as passing no argument does the same thing.
➥ Improved PyPI Home page and Project Readme.
➥Fixed ModuleNotFoundError for psycopg2 (missing requirement).
➥ Added documentation for all decorators. Stark.callback and Stark.inline
➥ Added a temporary logo. Thanks to Designatory.
➥ Other Improvements.
See Full ChangeLog
Note : Old links to particular pages in docs will not work after this update.
➥ Load plugins from multiple directories. Instead of passing a ‘str’ to ‘activate()’ function, pass a list.
➥ Override the in-built/default plugins automatically as they are loaded later now.
➥ Added optional argument [‘-v’, ‘–version’] to see currently installed version in CLI.
➥ Removed optional argument [‘-h’, ‘–help’] as passing no argument does the same thing.
➥ Improved PyPI Home page and Project Readme.
➥Fixed ModuleNotFoundError for psycopg2 (missing requirement).
➥ Added documentation for all decorators. Stark.callback and Stark.inline
➥ Added a temporary logo. Thanks to Designatory.
➥ Other Improvements.
See Full ChangeLog
Note : Old links to particular pages in docs will not work after this update.
This update enables easier decorators to add buttons and inline mode. But that doesn't solve everything. Pystark will be updated to make creating results and buttons easier soon.
Comprehensive Examples for important methods like these will be added soon in documentation as well as repository.
Comprehensive Examples for important methods like these will be added soon in documentation as well as repository.
😱1
PYSTARK v0.4.0
➥ Some important bug fixes and improvements
Install
Upgrade
➥ Some important bug fixes and improvements
Install
pip install pystark==4.0.0
Upgrade
pip install --upgrade pystark
🔥1
Forwarded from Stark Bots 🎄
First major version of @pystark will be released soon which will also have a new look for the documentation. This is a preview.
❤1🥰1
PYSTARK v1.0.0
First Major Version
Changelog:
There were too much changes so I couldn't make a full changelog. But basically:
➥ Enhanced project settings, inspired from django.
➥ Added brand new addons for additional features in bots.
➥ Brand-new documentation using Mkdocs instead of Sphinx.
➥ Database migration methods for
➥ Added other useful methods like
➥ Improved boilerplate in favour of new features.
➥ Added documentation for project settings using
➥ Removed customization options from
Removed pystark.database.postgres in favour of
➥ Added sudo users support for bots which can be set using SUDO_USERS environment variable.
➥ Allow username as OWNER_ID instead of only user_id
➥ Pre-made models for users and bans table.
➥ And much, much more!
See the brand new documentation - https://pystark.codes
First Major Version
Changelog:
There were too much changes so I couldn't make a full changelog. But basically:
➥ Enhanced project settings, inspired from django.
➥ Added brand new addons for additional features in bots.
➥ Brand-new documentation using Mkdocs instead of Sphinx.
➥ Database migration methods for
pystark.database.sql.Database
class like add_column, remove_column, etc.➥ Added other useful methods like
➥ Improved boilerplate in favour of new features.
➥ Added documentation for project settings using
settings.py
➥ Removed customization options from
Stark.activate()
as they can be configured using settings.py
now.Removed pystark.database.postgres in favour of
pystark.database.sql
.➥ Added sudo users support for bots which can be set using SUDO_USERS environment variable.
➥ Allow username as OWNER_ID instead of only user_id
➥ Pre-made models for users and bans table.
➥ And much, much more!
See the brand new documentation - https://pystark.codes
👍3❤2🔥2
PyStark 101 [v1.0.1]
➥ Fix broken CLI
➥ Add dev dependencies for docs and pypi
Upgrade using:
or
➥ Fix broken CLI
➥ Add dev dependencies for docs and pypi
Upgrade using:
pip install --upgrade pystark
or
pip install pystark --force-reinstall
Future Roadmap/Features
➥ admins_only decorator to allow only admins to use some commands ✔️
➥ List commands in help message ✔️
➥ Userbot support (maybe)
➥ Log to TG [in real-time with multiple facilities] ✔️
➥ Special functions to execute shell commands properly ✔️
➥ Both synchronous and asynchronous http requests functions using httpx to ease things even more.
➥ Ease Inline Queries
➥ Ease buttons creation
➥ Buttons in default plugins
➥ Default inline queries
➥ MongoDB support (probably not)
➥ Paginate buttons
➥
➥ Your opinion (can be provided in @StarkBotsChat)
➥ admins_only decorator to allow only admins to use some commands ✔️
➥ List commands in help message ✔️
➥ Userbot support (maybe)
➥ Log to TG [in real-time with multiple facilities] ✔️
➥ Special functions to execute shell commands properly ✔️
➥ Both synchronous and asynchronous http requests functions using httpx to ease things even more.
➥ Ease Inline Queries
➥ Ease buttons creation
➥ Buttons in default plugins
➥ Default inline queries
➥ MongoDB support (probably not)
➥ Paginate buttons
➥
pystark.helpers
for more such useful helpers ✔️➥ Your opinion (can be provided in @StarkBotsChat)
👍2
PyStark Updates pinned «Future Roadmap/Features ➥ admins_only decorator to allow only admins to use some commands ✔️ ➥ List commands in help message ✔️ ➥ Userbot support (maybe) ➥ Log to TG [in real-time with multiple facilities] ✔️ ➥ Special functions to execute shell commands…»
PyStark 1.1.0
Dark Mode, New Class Properties, Logging to Telegram, admins_only decorator, Localization and so much more along with improvements and bug fixes
Detailed changelog is present in documentation
➥ https://pystark.codes/meta/changelog
Video Sticker Bot is an example of bots using Pystark
➥ https://github.com/StarkBotsIndustries/VideoStickerBot
A list of bots created using pystark is also available
➥ https://pystark.codes/bots
Dark Mode, New Class Properties, Logging to Telegram, admins_only decorator, Localization and so much more along with improvements and bug fixes
Detailed changelog is present in documentation
➥ https://pystark.codes/meta/changelog
Video Sticker Bot is an example of bots using Pystark
➥ https://github.com/StarkBotsIndustries/VideoStickerBot
A list of bots created using pystark is also available
➥ https://pystark.codes/bots
❤3👍2
v1.1.2
Added a helper function to convert images to webp according to telegram static stickers requirements.
Read more
➥ https://pystark.codes/helpers/stickers
Added a helper function to convert images to webp according to telegram static stickers requirements.
Read more
➥ https://pystark.codes/helpers/stickers
👍5
Note that versions 1.1.x after 1.1.2 are bug fixes only. Next main version will be v1.2
👍7👎4