Skip to content

cayleygraph/python-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository 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

Releases

No releases published

Packages

No packages published

Languages