mirror of
				https://github.com/KevinMidboe/tableprint.git
				synced 2025-10-29 18:00:16 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			617 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			617 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # -*- coding: utf-8 -*-
 | |
| from __future__ import unicode_literals
 | |
| from tableprint import humantime
 | |
| 
 | |
| # def table(data, headers=None, format_spec=FMT, width=WIDTH, style=STYLE, out=sys.stdout):
 | |
| # def header(headers, width=WIDTH, style=STYLE, add_hr=True):
 | |
| # def row(values, width=WIDTH, format_spec=FMT, style=STYLE):
 | |
| # def hr(n, width=WIDTH, linestyle=LineStyle('|', '-', '+', '|')):
 | |
| # def top(n, width=WIDTH, style=STYLE):
 | |
| # def bottom(n, width=WIDTH, style=STYLE):
 | |
| # def banner(message, width=30, style='banner', out=sys.stdout):
 | |
| # def dataframe(df, **kwargs):
 | |
| # def humantime(t):
 | |
| # def _format_line(data, linestyle):
 |