Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Common Python code used in HGI projects.

Project Description

Common Python used in HGI projects

How to use

Prerequisites

  • Python >= 3.5

Installation

Stable releases can be installed via PyPI:

$ pip3 install hgicommon

Bleeding edge versions can be installed directly from GitHub:

$ pip3 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:

$ pip3 install -q -r requirements.txt
$ pip3 install -q -r test_requirements.txt

Testing

Using nosetests, in the project directory, run:

$ nosetests -v

To generate a test coverage report with nosetests:

$ nosetests -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

Release History

This version
History Node

1.3.1

History Node

1.3.0

History Node

1.2.0

History Node

1.1.0

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
hgicommon-1.3.1.tar.gz
(25.2 kB) Copy SHA256 Hash SHA256
Source None Nov 22, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting