Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 2.72 KB

README.md

File metadata and controls

57 lines (41 loc) · 2.72 KB

ArangoDB Cloud Connector

build CodeQL Last commit

PyPI version badge Python versions badge

License Code style: black Downloads

Provides access to temporary ArangoDB Cloud instance provisioning, for graph and beyond.

Installation

Latest Release

pip install adb-cloud-connector

Current State

pip install git+https://github.com/arangodb/adb_cloud_connector.git

Quickstart

from adb_cloud_connector import get_temp_credentials

con = get_temp_credentials()

print(con)

Assuming you have python-arango installed, you can then do the following:

# pip install python-arango
from arango import ArangoClient

db = ArangoClient(hosts=credentials["url"]).db(
    credentials["dbName"], credentials["username"], credentials["password"], verify=True
)

Development & Testing

  1. git clone https://github.com/arangodb/adb_cloud_connector.git
  2. cd adb_cloud_connector
  3. (create virtual environment of choice)
  4. pip install -e .[dev]
  5. pytest