Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

typedb/typedb-driver-python

Repository files navigation

THIS REPOSITORY HAS BEEN ARCHIVED. Please visit: @vaticle/typedb-driver/python


TypeDB Client for Python

Factory GitHub release Discord Discussion Forum Stack Overflow Stack Overflow

Client Architecture

To learn about the mechanism that a TypeDB Client uses to set up communication with databases running on the TypeDB Server, refer to TypeDB > Client API > Overview.

API Reference

To learn about the methods available for executing queries and retrieving their answers using Client Python, refer to TypeDB > Client API > Python > API Reference.

Concept API

To learn about the methods available on the concepts retrieved as the answers to TypeQL queries, refer to TypeDB > Concept API > Overview

Install TypeDB Client for Python through Pip

pip install typedb-client

If multiple Python versions are available, you may wish to use

pip3 install typedb-client

In your python program, import from typedb.client:

from typedb.client import *

client = TypeDB.core_client(address=TypeDB.DEFAULT_ADDRESS)