俄罗斯流行图书馆计算机系统irbis64客户端开发框架

irbis的Python项目详细描述


Python

PythonIrbis包只是ManagedIrbis从c移植到python 3的包

支持的环境

PythonIrbis目前在32位和64位Windows、Linux、Mac OS X和IRBIS64服务器版本2014或更高版本上支持Python3.6.x和3.7.x。

示例程序

importirbis.coreasbars# Connect to the serverclient=bars.Connection()client.parse_connection_string('host=127.0.0.1;database=IBIS;user=librarian;password=secret;')client.connect()# Search for books written by Byronfound=client.search('"A=Byron$"')print(f'Records found: {len(found)}')# Take first 10 recordsformfninfound[:10]:# Read the record from the serverrecord=client.read_record(mfn)# Extract the field and subfield from the recordtitle=record.fm(200,'a')print('Title:',title)# Format the record by the serverdescription=client.format_record(bars.BRIEF,mfn)print('Description:',description)print()# Print empty line# Disconnect from the serverclient.disconnect()

链接

构建状态

IssuesReleaseBuild statusFOSSA Status

许可证

FOSSA Status

文档(俄语)

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

推荐PyPI第三方库


热门话题
实现接口方法时不允许java@Override   使用BuffereImage加载映像时java高ram使用率   java For循环混乱,为什么不是循环?   java Android网格视图字符串对齐问题   java如何将方法与比较类型的附加功能进行比较?   在Java Swing中放置JSepator后的间隙大小   java如何避免并发访问我的网站中的支付链接   java如何从现有的Unix服务器连接到FTP服务器?   Spring中的java用户相关bean定义   带有scribesjava库的wordpress Woocommerce REST API返回消费者密钥参数缺失错误消息   java我可以自动检测特定设备连接的串行端口吗?   Javafx棋盘游戏   java使用JTextPane显示HTML,支持SVG吗?   SpringBoot如何在java中将映射转换为实体对象?   如何使用java代码对xls文件进行密码保护   Java JPA(EclipseLink)如何在持久化实际实体之前接收下一个生成的值?   Javaservlet启动外部进程