Skip to content

CMPUT291PROJECTF18/Mini-Project-2

Repository files navigation

mini-project-2

Build Status Documentation Status Code Coverage

Requirements

  • Python 3.4+
  • libdb4.8-dev
  • libdb4.8++-dev
  • db-util

Overview

mini-project-2 is a python command-line application that interfaces with the Berkeley DB Python 3 package (bsddb3). Using the program users can specify queries written in a query language grammar. These queries are processed by the program and the associated data is retrieved and presented to the user.

Installation

To install the Berkeley DB dependencies for mini-project-2 on Ubuntu run the following commands:

sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
sudo apt-get install db-util -y

This should install the required libraries to install bsddb3 from pip, thus, allowing mini-project-2 to be properly installed.

mini-project-2 can then be installed from source by running:

pip install .

Within the same directory as mini-project-2's setup.py file.

Usage

After installing mini-project-2's additional usage help on starting mini-project-2 can be obtained by running the following console command:

mini-project-2 --help