Skip to main content

Common Python code used in HGI projects.

Project description

Build Status codecov.io

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

License

LGPL.

Copyright (c) 2015, 2016 Genome Research Limited

Project details


Download files

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

Source Distribution

hgicommon-1.1.0.tar.gz (20.2 kB view details)

Uploaded Source

File details

Details for the file hgicommon-1.1.0.tar.gz.

File metadata

  • Download URL: hgicommon-1.1.0.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hgicommon-1.1.0.tar.gz
Algorithm Hash digest
SHA256 7bef29142eaf0c4c4a27edcf922af5a9ab724ff922eaec96adc36766ca0a0e21
MD5 00f7b0b35a5dd3a09fda7ea3d5a3b8e7
BLAKE2b-256 8cf7672556d5c9c5632ab45ecb4cb239ee895ed4f3c23332365f95a8ce5c148f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page