Useful Python Code Snippets
Project description
[![Build Status](https://travis-ci.org/mtchavez/python-package-boilerplate.png?branch=master)](https://travis-ci.org/mtchavez/inhoj) [![Requires.io](https://requires.io/github/mtchavez/python-package-boilerplate/requirements.svg?branch=master)](https://requires.io/github/johnidm/inhoj/requirements?branch=master)
The set of the useful Python code snippets
## Install
` pip install inhoj `
## Why?
## Features
#### Print in terminal with colors
#### Catch signals to allow graceful process shutdown
## Requirements
Package requirements are handled using pip. To install them do
` pip install -r requirements.txt `
## Tests
Testing is set up using [pytest](http://pytest.org) and coverage is handled with the pytest-cov plugin.
Run your tests with `py.test` in the root directory.
Coverage is ran by default and is set in the `pytest.ini` file. To see an html output of coverage open `htmlcov/index.html` after running the tests.
## Travis CI
There is a `.travis.yml` file that is set up to run your tests for python 2.7 and python 3.2, should you choose to use it.
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
Built Distribution
File details
Details for the file inhoj-2.1.2.tar.gz
.
File metadata
- Download URL: inhoj-2.1.2.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13a4db9376101afb71ede6d8009fc040f76c2c4c961f1e12793cbabd5eea703e |
|
MD5 | 01683472f95228dba3bdb160cad7ceb2 |
|
BLAKE2b-256 | f4a0ad8a771e89541d85280a96afb6ca731f94f9f28584b6566eda6d7d07173c |
File details
Details for the file inhoj-2.1.2-py3-none-any.whl
.
File metadata
- Download URL: inhoj-2.1.2-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b890bfc1b0b17b5d5fcf3d3080cfbf0d95df97a0167fe5b6da81147a62108575 |
|
MD5 | 641466680362e0a7ada98698009d7aad |
|
BLAKE2b-256 | 60cbf1b063a0076d9273baae886b73a75cf156fe98f258246ac9d73fe06eae0d |