معرفی شرکت ها


aiogram-cli-0.0.1a3


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

aiogram CLI
ویژگی مقدار
سیستم عامل -
نام فایل aiogram-cli-0.0.1a3
نام aiogram-cli
نسخه کتابخانه 0.0.1a3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Alex Root Junior
ایمیل نویسنده jroot.junior@gmail.com
آدرس صفحه اصلی https://aiogram.dev/
آدرس اینترنتی https://pypi.org/project/aiogram-cli/
مجوز MIT
# aiogram-cli Command line interface for developers Works only with [aiogram](https://github.com/aiogram/aiogram) 3.0+ (Is under development) Here is only bootstrap for CLI interface with extensions based on [pkg_resources](https://setuptools.readthedocs.io/en/latest/pkg_resources.html) ## Installation ### From PyPi `pip install --extra-index-url https://dev-docs.aiogram.dev/simple --pre aiogram-cli` ### Poetry Add this block to `pyproject.toml` file: ```toml [[tool.poetry.source]] name = "aiogram-dev" url = "https://dev-docs.aiogram.dev/simple" secondary = true ``` And then run: `poetry add -D aiogram-cli` ## Extensions - `aiogram_cli_generator` (WIP) - Project files generator based on pre-defined cookiecutter templates - `aiogram_cli_executor` (WIP) - Executor for bots - ... ## Usage Just run in terminal `aiogram-cli` (Or alias - `aiogram`) and see what you can do with it. ## Example ![main interface](assets/cli.png) ![commands](assets/commands.png) ## Writing extensions Any **aiogram-cli** extension package should provide an entry point like this: ``` [aiogram_cli.plugins] my_extension = my_package.module:MyCommand ``` Or with poetry like this: ```toml [tool.poetry.plugins."aiogram_cli.plugins"] "builtin-about" = "aiogram_cli.commands.about:AboutCommand" "builtin-plugins" = "aiogram_cli.commands.plugins:PluginsListCommand" ``` This application is based on [cleo](https://cleo.readthedocs.io/en/latest/) framework and that mean all plugins should be one of: 1. subclass of `cleo.Command` 1. instance of `cleo.Command` 1. sequence of subclasses or instances of `cleo.Command` 1. callable which accepts `app: cleo.Application` and returns any of 1-3 formats Examples: [aiogram_cli.commands.about](aiogram_cli/commands/about.py) [aiogram_cli.commands.plugins](aiogram_cli/commands/plugins.py)


نیازمندی

مقدار نام
>=3.0.0-alpha.4,<4.0.0 aiogram
>=0.8.1,<0.9.0 cleo


زبان مورد نیاز

مقدار نام
>=3.8,<4.0 Python


نحوه نصب


نصب پکیج whl aiogram-cli-0.0.1a3:

    pip install aiogram-cli-0.0.1a3.whl


نصب پکیج tar.gz aiogram-cli-0.0.1a3:

    pip install aiogram-cli-0.0.1a3.tar.gz