bedrock

Yet another collection of seemingly essential Python features and utilities for building non-trivial applications.

Documentation

Supports Python 2.7+, 3.5+.

Installation

$ pip install bedrock

Development

Note: Development instructions assume you have pip and virtualenv installed.

$ git clone https://github.com/OpenTherapeutics/bedrock.git
$ virtualenv venv
$ source venv/bin/activate

For convenience, invoke is used, via the tasks.py file to facilitate development:

$ pip install invoke
$ inv install
$ inv develop

Testing

After running inv develop (see above), several additional packages are installed for testing purposes. bedrock uses pytest for testing, along with tox and coverage

Simple test run:

$ inv test

Run tests across supported Python versions:

$ tox