【文件属性】:
文件名称:pydgraph:Dgraph官方Python客户端
文件大小:273KB
文件格式:ZIP
更新时间:2021-05-14 11:02:41
Python
pydgraph
这就是Python(Python的> = V2.7和> = V3.5)官方DGraph组件数据库客户端实现,使用 。
该密切关注。
使用“报告有关此存储库的问题。
在使用此客户端之前,我们强烈建议您阅读,并在查看产品文档。
目录
进行交易
运行查询
运行Upsert:查询+变异
运行条件更新
清理资源
设置元数据标题
例子
发展
建立源
运行测试
安装
使用pip安装:
pip install pydgraph
安装说明
为避免在添加复合凭据或使用客户端授权时出现问题,请安装gRPC版本1.19.0:
pip install grpcio==1.19.0
支持的版本
根据要连接的Dgraph的版本,您将不得不使用此客户端的其他版本。
Dgraph版本
pydgraph版本
1.0.X
<= 1.2.0
1.1.X
> = 2.0.0
1.2.X
【文件预览】:
pydgraph-master
----MANIFEST.in(32B)
----.github()
--------Screenshot1594883285.png(66KB)
--------SetNotifications2.png(37KB)
--------ISSUE_TEMPLATE(222B)
--------Screenshot1594882817.png(86KB)
--------workflows()
--------SetNotifications.png(41KB)
----scripts()
--------build.sh(156B)
--------local-test.sh(628B)
--------protogen.py(986B)
--------install_dgraph.sh(75B)
--------functions.sh(1KB)
----requirements.txt(31B)
----examples()
--------tls()
--------simple()
----.travis.yml(244B)
----LICENSE(10KB)
----setup.cfg(146B)
----setup.py(2KB)
----README.md(16KB)
----pydgraph()
--------util.py(2KB)
--------proto()
--------txn.py(12KB)
--------errors.py(2KB)
--------__init__.py(849B)
--------meta.py(637B)
--------client.py(6KB)
--------client_stub.py(5KB)
----tests()
--------test_upsert_block.py(6KB)
--------test_client.py(1KB)
--------test_txn.py(18KB)
--------test_queries.py(4KB)
--------helper.py(2KB)
--------test_util.py(1KB)
--------test_client_stub.py(2KB)
--------__init__.py(0B)
--------test_type_system.py(3KB)
--------test_essentials.py(2KB)
--------test_acct_upsert.py(8KB)
--------test_acl.py(5KB)
--------test_async.py(2KB)
----PUBLISHING.md(1KB)
----ISSUE_TEMPLATE(144B)
----.gitignore(352B)
----CHANGELOG.md(3KB)