Skip to content

debasishdebs/janusgraph-python

 
 

Repository files navigation

JanusGraph-Python

Python Client drivers for JanusGraph

JanusGraph-Python is the Python drivers for connecting to JanusGraph. It extends Apache TinkerPop™'s Gremlin-Python as its core dependency with additional support for JanusGraph-specific types and predicates.

Codacy Badge

Pre-Requisites

The library has been tested with following Python versions:

Once the required Python version is installed on system, please note the version number and the Python added to Path. Make a note of the number, as that will be required during building of Library (on UNIX) Try running either of following commands on CLI, and make a note of the version which works:

  • python3 --version

  • python3.4 --version

  • python3.5 --version

  • python3.6 --version

NOTE: The above checks aren't needed if installing the drivers from PyPi

Building Library

You can build the library yourself to test out the functionality of library. Refer to Building docs for documentation on how to build the library.

Installing the Library

  • Though Installation of library is built as a functionality of the automated build scripts provided, but if needed, user can follow the bellow instructions to install the library to environment of their choice.

  • To install library using Pip (It is not yet hosted):

    # X is version number of JanusGraph Python client supported based on JanusGraph version chosen.
    pip install janusgraph_python=X
  • To install library from tarball, once it is built:

    pip install target/dist/janusgraph_python/dist/janusgraph_python-X.tar.gz
    # X is version number of JanusGraph Python client supported based on JanusGraph version chosen.

Compatibility Matrix

JanusGraph Version Client Version
0.3.0 0.1.0
0.3.1 0.1.0
0.2.x Not Released

The JanusGraph client follows x.y.z version number, and according to Semantic Versioning z is patch number. Hence, if a client is build using x.y against JanusGraph a.b.c, irrespective of .z change, the client will remain compatible.

Example::

Version 1.0.0 is compatible with JanusGraph 0.3.0. Meaning that 1.0.1/1.0.2/..1.0.x will all be compatible with
JanusGraph 0.3.0

Community

JanusGraph-Python uses the same communication channels as JanusGraph in general. So, please refer to the Community section in JanusGraph's main repository for more information about these various channels.

Contributing

Please see CONTRIBUTING.md in JanusGraph's main repository for more information, including CLAs and best practices for working with GitHub.

License

JanusGraph Python driver code is provided under the Apache 2.0 license and documentation is provided under the CC-BY-4.0 license. For details about this dual-license structure, please see LICENSE.txt.

About

JanusGraph Python Gremlin Language Variant (GLV)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 91.9%
  • Shell 6.0%
  • Batchfile 2.1%