Skip to main content

A micro framework for processing and logging.

Project description

[![PyPI Python Versions](https://img.shields.io/pypi/pyversions/data-pypes.svg)](https://pypi.python.org/pypi/data-pypes) [![PyPI Latest Version](https://img.shields.io/pypi/v/data-pypes.svg)](https://pypi.python.org/pypi/data-pypes) [![PyPI Distribution Format](https://img.shields.io/pypi/format/data-pypes.svg)](https://pypi.python.org/pypi/data-pypes) [![build-status](https://travis-ci.org/isnok/data-pypes.svg?branch=master)](https://travis-ci.org/isnok/data-pypes) [![Coverage Status](https://coveralls.io/repos/github/isnok/data-pypes/badge.svg?branch=master)](https://coveralls.io/github/isnok/data-pypes?branch=master)

# The DataPypes framework

Another attempt to structure processes.

## Documentation

To make this hands-on useful, it is mostly documented in the code.

## Play around

Here are some interesting invocations of pypes-example.py.

`shell $ ./pypes-example.py ... $ LOGLEVEL=DEBUG ./pypes-example.py ... $ LOGLEVEL=debug STDOUT_LOGLEVEL=error ./pypes-example.py ... $ LOGLEVEL=debug STDOUT_LOGLEVEL=info ERROR_LOGFILE=error.log ./pypes-example.py ... $ STDOUT_LOGLEVEL=success WARNING_LOGFILE=warn.log ./pypes-example.py ... `

## Usage

The ideas is very general. pypes-example.py contains an example (that could still be revisited to point out the idea more). It was intended to structure “long” comutational processes into reusable elements.

The file logsetup.py can also be use stand-alone.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
data_pypes-0.1.7-py2.py3-none-any.whl (10.6 kB) Copy SHA256 hash SHA256 Wheel 3.5 Apr 10, 2016
data-pypes-0.1.7.tar.gz (10.8 kB) Copy SHA256 hash SHA256 Source None Apr 10, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page