BDD Shell is a programming shell which provides a way to explore
and manipulate the internals of BDD, interact with Hadoop, and analyze data
interactively.
BDD Shell is an interactive tool designed to work with BDD without using
Studio's front-end.
The BDD Shell core features are:
-
Python-based shell: BDD Shell is based on Python, and supports
both interactive and batch mode.
-
Exposes all BDD concepts: Among these concepts are data sources
(Hive tables), BDD data sets, and Views (Dgraph View and HDFS View).
- Interacts with all BDD
APIs: such as Dgraph Gateway Web Services, DP Client, Studio.
-
Supports Spark: Spark Python SDK is available to use in BDD
Shell.
SparkContext(sc) and
HiveContext(sqlContext) are initialized when BDD
Shell launches.
-
BDD Shell SDK: Provides easy-to-use Python Wrappers for BDD APIs
and Python Utilities for developers to use when they need to interact with BDD.
It saves a lot of boilerplate code when developers want to try/test features of
BDD in BDD Shell.
- Extensibility: BDD
Shell SDK is designed with extensibility in mind, new APIs or features can be
added easily.
- Use of Third-party
Libraries: Third-party Python libraries can be used in BDD Shell as long as
they are installed on the system and available on a standard Python shell, such
as Pandas and NumPy.
When started, BDD Shell runs in the Python interpreter. Python
documentation is available at the following sites: