sqlbag-0.1.1617247075
توضیحات
various snippets of SQL-related boilerplate
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | sqlbag-0.1.1617247075 |
| نام | sqlbag |
| نسخه کتابخانه | 0.1.1617247075 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Robert Lechte |
| ایمیل نویسنده | robertlechte@gmail.com |
| آدرس صفحه اصلی | https://github.com/djrobstep/sqlbag |
| آدرس اینترنتی | https://pypi.org/project/sqlbag/ |
| مجوز | - |
sqlbag: various sql boilerplate
===============================
This is just a collection of handy code for doing database things.
What is in the box
------------------
Connections, flask setup, SQLAlchemy ORM helpers, temporary database setup and teardown (handy for integration tests).
Installation
------------
Simply install with `pip <https://pip.pypa.io>`_:
.. code-block:: shell
$ pip install sqlbag
If you want you can install the database drivers you need at the same time, by specifying one of the optional bundles.
If you're using postgres, this installs ``sqlbag`` and ``psycopg2``:
.. code-block:: shell
$ pip install sqlbag[pg]
If you're installing MySQL/MariaDB then this installs ``pymysql`` as well:
.. code-block:: shell
$ pip install sqlbag[maria]
نیازمندی
| مقدار | نام |
|---|---|
| - | six |
| - | sqlalchemy |
| - | packaging |
| - | pathlib |
| - | pymysql |
| - | pendulum |
| - | relativedelta |
| - | psycopg2 |
نحوه نصب
نصب پکیج whl sqlbag-0.1.1617247075:
pip install sqlbag-0.1.1617247075.whl
نصب پکیج tar.gz sqlbag-0.1.1617247075:
pip install sqlbag-0.1.1617247075.tar.gz