firebirdsql-1.2.2
توضیحات
Firebird RDBMS bindings for python.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | firebirdsql-1.2.2 |
| نام | firebirdsql |
| نسخه کتابخانه | 1.2.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Hajime Nakagami |
| ایمیل نویسنده | nakagami@gmail.com |
| آدرس صفحه اصلی | http://github.com/nakagami/pyfirebirdsql/ |
| آدرس اینترنتی | https://pypi.org/project/firebirdsql/ |
| مجوز | BSD |
================
PyfirebirdSQL
================
.. image:: https://img.shields.io/pypi/v/firebirdsql.png
:target: https://pypi.python.org/pypi/firebirdsql
.. image:: https://img.shields.io/pypi/l/firebirdsql.png
firebirdsql package is a set of Firebird RDBMS (https://firebirdsql.org/) bindings for Python (Written in pure Python : no C compiler needed or fbclient library)
see https://pyfirebirdsql.readthedocs.io/en/latest/
It works on Python 2.7 and 3.6+.
But if you want to use the timezone feature of Firebird 4.0 ...
- Not supported by python2.7
- Python 3.6, 3.7, 3.8 requires backports.zoneinfo https://pypi.org/project/backports.zoneinfo/ install
Example
-----------
::
import firebirdsql
conn = firebirdsql.connect(
host='localhost',
database='/foo/bar.fdb',
port=3050,
user='alice',
password='secret'
)
cur = conn.cursor()
cur.execute("select * from baz")
for c in cur.fetchall():
print(c)
conn.close()
نحوه نصب
نصب پکیج whl firebirdsql-1.2.2:
pip install firebirdsql-1.2.2.whl
نصب پکیج tar.gz firebirdsql-1.2.2:
pip install firebirdsql-1.2.2.tar.gz