Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 552 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 552 Bytes

arango_datasets

Package for loading example datasets into an ArangoDB Instance.

# pip install arango-datasets

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
print(datasets.list_datasets())

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

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