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

Uploaded Source

Built Distribution

pyout-0.7.3-py3-none-any.whl (51.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyout-0.7.3.tar.gz
  • Upload date:
  • Size: 45.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for pyout-0.7.3.tar.gz
Algorithm Hash digest
SHA256 b1419597af4617886a76a3769577573cecba874f263278474a91269a5ee69138
MD5 6345b0211e67e01795d09342ca662269
BLAKE2b-256 338215ced8183fe0913d7e7aeba3e2d2c61b7b67d49a70647972611f2696a288

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyout-0.7.3-py3-none-any.whl
  • Upload date:
  • Size: 51.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for pyout-0.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b1753616b107b0e25b5be0573f99193197f3ad584e5fe3e3351d9f7ff3ad3c2c
MD5 9062b9501d89d5ff8fd58c117a12f6b3
BLAKE2b-256 8f9ae57e226afca5867f9e4a2a99081241b35a8ad8e4a759a55c955c42483d7b

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