Skip to main content

Common Python code used in HGI projects.

Project description

[![Build Status](https://travis-ci.org/wtsi-hgi/python-common.svg)](https://travis-ci.org/wtsi-hgi/python-common) [![codecov.io](https://codecov.io/gh/wtsi-hgi/python-common/graph/badge.svg)](https://codecov.io/github/wtsi-hgi/python-common)

# Common Python used in HGI projects

## How to use ### Prerequisites - Python >= 3.5

### Installation Stable releases can be installed via PyPI: `bash $ pip3 install hgicommon `

Bleeding edge versions can be installed directly from GitHub: `bash $ 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: `bash $ pip3 install -q -r requirements.txt $ pip3 install -q -r test_requirements.txt `

### Testing Using nosetests, in the project directory, run: `bash $ nosetests -v `

To generate a test coverage report with nosetests: `bash $ 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](LICENSE.txt).

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.3.2.tar.gz (27.3 kB view details)

Uploaded Source

Built Distribution

hgicommon-1.3.2-py3-none-any.whl (47.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hgicommon-1.3.2.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for hgicommon-1.3.2.tar.gz
Algorithm Hash digest
SHA256 b1c136af067508e700460412da510f725f36e50b28d3170f0c3d4fe308ea21fe
MD5 ad8b2ebef8b7b31c33edad6b4b7896f9
BLAKE2b-256 5eb454e1378d6d9f766e58fa954284655e0570edc818a5ab929fc2ff299cf5a1

See more details on using hashes here.

File details

Details for the file hgicommon-1.3.2-py3-none-any.whl.

File metadata

  • Download URL: hgicommon-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 47.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for hgicommon-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ed428f86cba5120529c0d4254a084a485ca1b197156f2df214bcfbf3b0c14024
MD5 289e0e93f0d11dbbb42d0b05a4003151
BLAKE2b-256 1c04aa5b8d0faec9235a3459f5aff9a6f99bfac16b493320f0b17893f4ac32e3

See more details on using hashes here.

Supported by

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