Skip to content

Latest commit

 

History

35 提交

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

仓库 files navigation

Python Client for Cayley

This is a work in progress official Python client for the next version of Cayley.

Usage

Print 10 nodes from the graph

import cayley

client = cayley.Client()

for node in client.query(cayley.path.vertex().limit(10)):
    print(node)

Development

  • If not installed, install poetry globally with pip3 install poetry

In project's directory:

  • Install dependencies with poetry install

The client uses the LinkedQL OWL schema file to generate the code for the client.

  • Copy schema.json for generation
  • Test with poetry run python test.py

关于

Python client for Cayley

Resources

Stars

10 stars

关注者

3 watching

复刻s

发布

Used by

贡献者

Languages