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.

Source Distribution

data-pypes-0.1.8.tar.gz (10.9 kB view hashes)

Uploaded Source

Built Distribution

data_pypes-0.1.8-py2.py3-none-any.whl (10.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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