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.

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.5.1.tar.gz (40.7 kB view details)

Uploaded Source

Built Distribution

pyout-0.5.1-py3-none-any.whl (48.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyout-0.5.1.tar.gz
  • Upload date:
  • Size: 40.7 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.5.1.tar.gz
Algorithm Hash digest
SHA256 234e209ee14e5d74932ee6ef7330617ff28b02c3ac3124dc8124a6ffa92a94ee
MD5 e3e7ca84fbac9b0c19c78ef8b106f0aa
BLAKE2b-256 b941b12051c2a920c9d130e8c3e7a70a847df76d98255dc89260f3485e1292a3

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyout-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 48.2 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.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 726b5609abbf0beca37a4016989d8c7bce0264e24bf1d7ae2ad55f7cd15c5703
MD5 c54e1689be2ecc51c7931e761dfc2666
BLAKE2b-256 dfd7394db20411f0da2dd4075171f763ffd4c8c6d6d4f6e30e3ff57b6861ca64

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