Skip to main content

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

inhoj-2.0.2.tar.gz (2.7 kB view hashes)

Uploaded source

Built Distribution

inhoj-2.0.2-py3-none-any.whl (5.0 kB view hashes)

Uploaded 3 4

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page