Skip to main content

Module to represent tables in the terminal using python

Project description

Pybles

This is a module designed to make table representations very easy and fast. This is how to use it:

>>> from pybles import pybles
>>> PB = pybles.Pyble()
>>> PB.add_column('First Name')
>>> PB.add_column('Last Name')
>>> PB.add_line(['John', 'Doe'])
>>> PB.show_table()
--------------------------
| FIRST NAME | LAST NAME |
--------------------------
| John       | Doe       |
--------------------------

Changes

1.0.10

  • Multiple color lines

  • PyPi classifiers and package version corrections

  • Translation fixes

1.0.7

  • Color support

1.0.3

  • Setup now uses setuptools

1.0.2

  • Function to force uppercase in header name

1.0.1

  • First stable version

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

Pybles-1.0.10.tar.gz (3.8 kB view hashes)

Uploaded Source

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