arango-datasets

Package for fetching and loading datasets for ArangoDB deployments.


License
Apache-2.0
Install
pip install arango-datasets==1.1.1

Documentation

arango_datasets

Package for loading example datasets into an ArangoDB Instance.

from arango import ArangoClient
from arango_datasets import Datasets

# Datasets requires a valid database object 
db = ArangoClient(hosts='http://localhost:8529').db("dbName", username="root", password="")

datasets = Datasets(db)

# List available datasets
datasets.list_datasets()

# List more information about a particular dataset
datasets.dataset_info("IMDB_X")

# Import the dataset
datasets.load("IMDB_X")