crash.software
Projects
Pull Requests
Issues
Builds
ghauri
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
ghauri
Files
🤬
Sign In
0cb2f7c0
ROOT
/
ghauri
/
common
/
prettytable.py
Search
History
1476 lines
|
ISO-8859-1
|
52 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
copy
csv
random
re
sys
textwrap
itertools
unicodedata
py3k
unicode
basestring
itermap
iterzip
uni_chr
HTMLParser
HTMLParser
escape
escape
FRAME
ALL
NONE
HEADER
DEFAULT
MSWORD_FRIENDLY
PLAIN_COLUMNS
RANDOM
_get_size
(text)
PrettyTable
(object)
encoding
_field_names
_align
_valign
_max_width
_rows
field_names
_widths
_options
_start
_end
_fields
_header
_header_style
_border
_hrules
_vrules
_sortby
_reversesort
_sort_key
_int_format
_float_format
_padding_width
_left_padding_width
_right_padding_width
_vertical_char
_horizontal_char
_junction_char
_print_empty
_format
_xhtml
_attributes
_hrule
__init__
(self,field_names=None,**kwargs)
_unicode
(self,value)
_justify
(self,text,width,align)
__getattr__
(self,name)
__getitem__
(self,index)
__str__
(self)
__str__
(self)
__unicode__
(self)
_validate_option
(self,option,val)
_validate_field_names
(self,val)
_validate_header_style
(self,val)
_validate_align
(self,val)
_validate_valign
(self,val)
_validate_nonnegative_int
(self,name,val)
_validate_true_or_false
(self,name,val)
_validate_int_format
(self,name,val)
_validate_float_format
(self,name,val)
_validate_function
(self,name,val)
_validate_hrules
(self,name,val)
_validate_vrules
(self,name,val)
_validate_field_name
(self,name,val)
_validate_all_field_names
(self,name,val)
_validate_single_char
(self,name,val)
_validate_attributes
(self,name,val)
_get_field_names
(self)
_set_field_names
(self,val)
_get_align
(self)
_set_align
(self,val)
align
_get_valign
(self)
_set_valign
(self,val)
valign
_get_max_width
(self)
_set_max_width
(self,val)
max_width
_get_fields
(self)
_set_fields
(self,val)
fields
_get_start
(self)
_set_start
(self,val)
start
_get_end
(self)
_set_end
(self,val)
end
_get_sortby
(self)
_set_sortby
(self,val)
sortby
_get_reversesort
(self)
_set_reversesort
(self,val)
reversesort
_get_sort_key
(self)
_set_sort_key
(self,val)
sort_key
_get_header
(self)
_set_header
(self,val)
header
_get_header_style
(self)
_set_header_style
(self,val)
header_style
_get_border
(self)
_set_border
(self,val)
border
_get_hrules
(self)
_set_hrules
(self,val)
hrules
_get_vrules
(self)
_set_vrules
(self,val)
vrules
_get_int_format
(self)
_set_int_format
(self,val)
int_format
_get_float_format
(self)
_set_float_format
(self,val)
float_format
_get_padding_width
(self)
_set_padding_width
(self,val)
padding_width
_get_left_padding_width
(self)
_set_left_padding_width
(self,val)
left_padding_width
_get_right_padding_width
(self)
_set_right_padding_width
(self,val)
right_padding_width
_get_vertical_char
(self)
_set_vertical_char
(self,val)
vertical_char
_get_horizontal_char
(self)
_set_horizontal_char
(self,val)
horizontal_char
_get_junction_char
(self)
_set_junction_char
(self,val)
junction_char
_get_format
(self)
_set_format
(self,val)
format
_get_print_empty
(self)
_set_print_empty
(self,val)
print_empty
_get_attributes
(self)
_set_attributes
(self,val)
attributes
_get_options
(self,kwargs)
set_style
(self,style)
_set_default_style
(self)
_set_msword_style
(self)
_set_columns_style
(self)
_set_random_style
(self)
add_row
(self,row)
del_row
(self,row_index)
add_column
(self,fieldname,column,align="c",valign="t")
clear_rows
(self)
clear
(self)
copy
(self)
_format_value
(self,field,value)
_compute_widths
(self,rows,options)
_get_padding_widths
(self,options)
_get_rows
(self,options)
_format_row
(self,row,options)
_format_rows
(self,rows,options)
get_string
(self,**kwargs)
_stringify_hrule
(self,options)
_stringify_header
(self,options)
_stringify_row
(self,row,options)
get_html_string
(self,**kwargs)
_get_simple_html_string
(self,options)
_get_formatted_html_string
(self,options)
_char_block_width
(char)
_str_block_width
(val)
from_csv
(fp,field_names=None,**kwargs)
table
from_db_cursor
(cursor,**kwargs)
table
TableHandler
(HTMLParser)
kwargs
tables
last_row
rows
max_row_width
active
last_content
is_last_row_header
__init__
(self,**kwargs)
handle_starttag
(self,tag,attrs)
handle_endtag
(self,tag)
handle_data
(self,data)
generate_table
(self,rows)
make_fields_unique
(self,fields)
from_html
(html_code,**kwargs)
from_html_one
(html_code,**kwargs)
main
()
x
All occurrences
Please wait...
Page is in error, reload to recover