用于python的firebird rdbms绑定。

firebirdsql的Python项目详细描述


https://travis-ci.org/nakagami/pyfirebirdsql.svg?branch=masterhttps://img.shields.io/pypi/v/firebirdsql.pnghttps://img.shields.io/pypi/l/firebirdsql.png

firebirdsql包是一组firebird rdbms(http://firebirdsql.org/)python绑定(用纯python编写:不需要c编译器或fbclient库)

它在python 2.6+和3.3+上工作。

https://pyfirebirdsql.readthedocs.io/en/latest/

示例

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()

用Firebird3进行测试

你可以用firebird3进行单元测试。

像这样设置firebird.conf

AuthServer = Srp, Legacy_Auth
WireCrypt = Enabled

并执行以下命令:

$ python setup.py test

另一方面,您可以将其与Firebird3 Wire协议13一起使用 (SRP身份验证和有线加密)使用默认firebird.conf

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java Google Billing Library:QueryPurchaseAsync:取消购买的订阅资源未返回   java转换列表mapsturct中的单个对象   java简单算法。我做不好   包含集合的@ManyToMany映射的java JPA2持久性   在Java中序列化和反序列化对象时发生BuffereImage错误   java使用ui:param传递值并在backingbean中访问它们   java从应用程序读取配置。yml至POJO列表地图   java中在while循环外部调用文件值   java如何与来自不同类的UI交互   java如何在jTable中显示2D数组?   在Java 8中,类为什么不从接口继承默认方法?   java类。getAnnotation和getAnnotations无法正常工作   java处理pagertabstrip上的触摸事件   java GWT和struts2异常   用Java解析HTTP查询字符串   java这段代码SQL注入安全吗?