disquest-utils-1.1.0


توضیحات

A set of async utils for Miku's DisQuest Cog
ویژگی مقدار
سیستم عامل OS Independent
نام فایل disquest-utils-1.1.0
نام disquest-utils
نسخه کتابخانه 1.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده No767
ایمیل نویسنده 73260931+No767@users.noreply.github.com
آدرس صفحه اصلی https://github.com/No767/DisQuest-Utils
آدرس اینترنتی https://pypi.org/project/disquest-utils/
مجوز Apache-2.0
<div align=center> # DisQuest-Utils ![PyPI](https://img.shields.io/pypi/v/disquest-utils?label=PyPi&logo=pypi&logoColor=white) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/disquest-utils?label=Python&logo=python&logoColor=white) ![PyPI - License](https://img.shields.io/pypi/l/disquest-utils?label=License&logo=github&logoColor=white) A set of async utils for DisQuest <div align=left> # Info DisQuest is an base system for storing and giving users on Discord xp. This is just the base set of coroutines needed in order to use DisQuest. DisQuest uses PostgreSQL. Alternatively, if you plan on passing in your own URI (which probably u would have to), DisQuest technically also supports MySQL/MariaDB. For MySQL/MariaDB, use `asyncmy` instead of `asyncpg` # Installing With Asyncpg (default): ```sh pip install disquest-utils ``` With Asyncmy: ```sh pip install disquest-utils[asyncmy] ``` # URI Connections DisQuest-Utils accepts URI connections in order to connection to the database. It is recommended to have python-dotenv installed, and then add the credentials as needed. The example below are only for examples, and adjust them as needed Asyncpg: ```python CONNECTION_URI = "postgresql+asyncpg://user:password@host:port/dbname[?key=value&key=value...]" ``` Asyncmy: ```python CONNECTION_URI = "mysql+asyncmy://user:password@host:port/dbname[?key=value&key=value...]" ``` Now pass the variable `CONNECTION_URI` as the uri arg of any method, and you should be ready to go


نیازمندی

مقدار نام
>=1.4.40,<2.0.0 SQLAlchemy
>=0.16.0,<0.17.0 uvloop
>=0.26.0,<0.27.0 asyncpg
>=0.2.5,<0.3.0) asyncmy


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

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


نحوه نصب


نصب پکیج whl disquest-utils-1.1.0:

    pip install disquest-utils-1.1.0.whl


نصب پکیج tar.gz disquest-utils-1.1.0:

    pip install disquest-utils-1.1.0.tar.gz