Yet another collection of seemingly essential Python features and utilities for building non-trivial applications.
Supports Python 2.7+, 3.5+.
$ pip install bedrock
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
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