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
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.2.0.tar.gz
(21.6 kB
view details)
File details
Details for the file hgicommon-1.2.0.tar.gz
.
File metadata
- Download URL: hgicommon-1.2.0.tar.gz
- Upload date:
- Size: 21.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bfcfe47849beaab3a4890ba0bbc29fb6de853b34a4ad09e91b365c61db6308f |
|
MD5 | e361dec71187042d614c2be43b4a5260 |
|
BLAKE2b-256 | cedc4e43b673ba0f319d77b027552a50d94b76cf599fe16ec9465e892707ef29 |