Skip to main content

Terminal styling for tabular data

Project description

https://travis-ci.org/pyout/pyout.svg?branch=master https://codecov.io/github/pyout/pyout/coverage.svg?branch=master https://img.shields.io/badge/License-MIT-yellow.svg

pyout is a Python package that defines an interface for writing structured records as a table in a terminal. It is being developed to replace custom code for displaying tabular data in in ReproMan and DataLad. See the Examples folder for how to get started.

A primary goal of the interface is the separation of content from style and presentation. Current capabilities include

  • automatic width adjustment and updating of previous values

  • styling based on a field value or specified interval

  • defining a transform function that maps a raw value to the displayed value

  • defining a summary function that generates a summary of a column (e.g., value totals)

  • support for delayed, asynchronous values that are added to the table as they come in

Status

This package is currently in early stages of development. While it should be usable in its current form, it may change in substantial ways that break backward compatibility, and many aspects currently lack polish and documentation.

pyout requires Python 3 (>= 3.4). It is developed and tested in GNU/Linux environments and is expected to work in macOS environments as well. There is currently very limited Windows support.

License

pyout is under the MIT License. See the COPYING file.

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

pyout-0.6.0.tar.gz (42.0 kB view details)

Uploaded Source

Built Distribution

pyout-0.6.0-py3-none-any.whl (49.3 kB view details)

Uploaded Python 3

File details

Details for the file pyout-0.6.0.tar.gz.

File metadata

  • Download URL: pyout-0.6.0.tar.gz
  • Upload date:
  • Size: 42.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for pyout-0.6.0.tar.gz
Algorithm Hash digest
SHA256 168408cd0b344f3857229facff2076efb6b13d736cdbc429a89d22a490f48aaa
MD5 fa3fb2753e3b62414630041d8f8e749e
BLAKE2b-256 27e27270acc91086427e405aa0ec65a287e0674647a495b74cd558e0bed8f083

See more details on using hashes here.

Provenance

File details

Details for the file pyout-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: pyout-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 49.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for pyout-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d0ca32403faa32724b624aef95a8a3226d2e1583aca22a7e2bd38aaa6aa1355e
MD5 dfd02231e572d74edd49b416e0c58cf6
BLAKE2b-256 3978ec17ddc56ddcb9c9b86fc8ed0757dbd9e814480230874970724a88979aa2

See more details on using hashes here.

Provenance

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