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 details)
File details
Details for the file Pybles-1.0.13.tar.gz
.
File metadata
- Download URL: Pybles-1.0.13.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4891d901649d16b05e86d0265ee37945cc85f1fa57965616c35480aca671bc6a |
|
MD5 | f842cf8b789451ead054850e3ccc3191 |
|
BLAKE2b-256 | eb12b8932ff5fbe8f576727dd78573e30ffd11190a037583ba948acff6ee8c4f |