https://github.com/wtsi-hgi/python-common
[DEPRECATED] Python 3 common library
https://github.com/wtsi-hgi/python-common
library python
Last synced: about 2 months ago
JSON representation
[DEPRECATED] Python 3 common library
- Host: GitHub
- URL: https://github.com/wtsi-hgi/python-common
- Owner: wtsi-hgi
- License: lgpl-3.0
- Created: 2015-11-23T16:05:47.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-22T16:04:37.000Z (over 7 years ago)
- Last Synced: 2025-02-26T23:17:24.919Z (2 months ago)
- Topics: library, python
- Language: Python
- Homepage:
- Size: 174 KB
- Stars: 0
- Watchers: 18
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](https://travis-ci.org/wtsi-hgi/python-common)
[](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@#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