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:
#!/usr/bin/env python
import pybles
PB = pybles.Pyble()
PB.add_column('First Name')
PB.add_column('Last Name')
PB.add_line(['John', 'Doe'])
PB.show_table()
Output:
--------------------------
| First Name | Last Name |
--------------------------
| John | Doe |
--------------------------
Pybles
===========
This is a module designed to make table representations very easy and fast. This is how to use it:
#!/usr/bin/env python
import pybles
PB = pybles.Pyble()
PB.add_column('First Name')
PB.add_column('Last Name')
PB.add_line(['John', 'Doe'])
PB.show_table()
Output:
--------------------------
| First Name | Last Name |
--------------------------
| John | Doe |
--------------------------
Project details
Release history Release notifications | RSS feed
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.13.tar.gz
(4.3 kB
view hashes)