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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyout-0.8.1-py3-none-any.whl (53.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyout-0.8.1.tar.gz
  • Upload date:
  • Size: 46.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pyout-0.8.1.tar.gz
Algorithm Hash digest
SHA256 57b0e96a9beb2e20336bd5a265e369915e1c23f50048a7d448b3fab5d076d1d1
MD5 b0771c8ade371bbc607b815639d222cb
BLAKE2b-256 a10e87f3d9aef4211fe7e88ddabf01794bd15c9051cae44633bcf507bdd3837d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyout-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 53.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pyout-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 31708f9a1ea0009e92371c1e045541a1b01e22ec006e1cb2f3407ec99c036a10
MD5 cf65b090714b8f23ba25bbb5584fd025
BLAKE2b-256 46bbcf48ce5ba1481d568c5fb2b74ecc55e64207a7ee6444a3d0cb04f0410020

See more details on using hashes here.

Supported by

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