wtsi-hgi/python-common

Name: python-common

Owner: Wellcome Trust Sanger Institute - Human Genetics Informatics

Description: [DEPRECATED] Python 3 common library

Created: 2015-11-23 16:05:47.0

Updated: 2018-01-12 09:38:44.0

Pushed: 2017-11-22 16:04:37.0

Homepage:

Size: 178

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Build Status codecov.io

Common Python used in HGI projects

How to use
Prerequisites
Installation

Stable releases can be installed via PyPI:

p3 install hgicommon

Bleeding edge versions can be installed directly from GitHub:

p3 install git+https://github.com/wtsi-hgi/python-common.git@<commit_id_or_branch_or_tag>#egg=hgicommon

To declare this library as a dependency of your project, add it to your requirement.txt file.

Development
Setup

Install both library dependencies and the dependencies needed for testing:

p3 install -q -r requirements.txt
p3 install -q -r test_requirements.txt
Testing

Using nosetests, in the project directory, run:

setests -v

To generate a test coverage report with nosetests:

setests -v --with-coverage --cover-package=hgicommon --cover-inclusive nosetests -v --with-coverage --cover-package=hgicommon --cover-inclusive --exclude-test-file=excluded_tests.txt
License

LGPL.

Copyright (c) 2015, 2016 Genome Research Limited


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.