Skip to content

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

importcayleyclient=cayley.Client()
fornodeinclient.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

About

Python client for Cayley

Resources

Stars

10 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages