Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ahmedkhlief/muddyc3-Revived
/ functions
Functions
768 in github.com/ahmedkhlief/muddyc3-Revived
⨍
Functions
768
◇
Types & classes
138
Method
clear
Delete all rows and field names from the table, maintaining nothing but styling options
lib/prettytable.py:837
Method
clear_rows
Delete all rows from the table but keep the current field names
lib/prettytable.py:833
Function
commify
Add commas to an integer `n`. >>> commify(1) '1' >>> commify(123) '123' >>> commify(-123) '-
lib/web/utils.py:1015
Method
compile_template
(self, *a)
lib/web/template.py:966
Function
cond
Function replacement for if-else to use in expressions. >>> x = 2 >>> cond(x % 2 == 0, "even", "odd") 'even'
lib/web/utils.py:1096
Function
cookies
Returns a `storage` object with all the request cookies in it. See `storify` for how `requireds` and `defaults` work. This is fo
lib/web/webapi.py:519
Method
copy
(self)
lib/prettytable.py:843
Function
database
Creates appropriate database using params. Pooling will be enabled if DBUtils module is available. Pooling can be disabled by passing po
lib/web/db.py:1222
Function
dateify
Formats a numified `datestring` properly.
lib/web/utils.py:1066
Function
datestr
Converts a (UTC) datetime object to a nice string representation. >>> from datetime import datetime, timedelta >>> d = datet
lib/web/utils.py:898
Function
debug
Prints a prettyprinted version of `args` to stderr.
lib/web/webapi.py:541
Function
decode_cookie
r"""Safely decodes a cookie value to unicode. Tries us-ascii, utf-8 and io8859 encodings, in that order. >>> decode_cookie('')
lib/web/webapi.py:449
Function
decorator
(cls)
lib/web/application.py:508
Method
del_row
Delete a row to the table Arguments: row_index - The index of the row you want to delete. Indexing starts at 0.
lib/prettytable.py:799
Method
delete
(self, table, where=None, using=None, vars=None, _test=False)
lib/web/db.py:1100
Function
dictfind
Returns a key whose value in `dictionary` is `element` or, if none exists, None. >>> d = {1:2, 3:4} >>> dictfind(d, 4)
lib/web/utils.py:770
Function
dictfindall
Returns the keys whose values in `dictionary` are `element` or, if none exists, []. >>> d = {1:4, 3:4} >>> dictfindall(d
lib/web/utils.py:785
Function
dictreverse
Returns a new dictionary with keys and values swapped. >>> dictreverse({1: 2, 3: 4}) {2: 1, 4: 3}
lib/web/utils.py:760
Method
do_GET
(self)
lib/web/httpserver.py:97
Method
do_commit
(self)
lib/web/db.py:481
Method
do_rollback
(self)
lib/web/db.py:484
Method
do_transact
(self)
lib/web/db.py:478
Function
emailerrors
Wraps the old `internalerror` handler (pass as `olderror`) to additionally email all errors to `to_address`, to aid in debugging prod
lib/web/debugerror.py:117
Function
emailerrors_internal
()
lib/web/debugerror.py:128
Method
emit
(self, indent)
lib/web/template.py:540
Method
emit
(self, indent, begin_indent = '')
lib/web/template.py:553
Method
emit
(self, indent, begin_indent = '')
lib/web/template.py:568
Method
emit
(self, indent, begin_indent = '')
lib/web/template.py:584
Method
emit
(self, indent, text_indent = '', name = '')
lib/web/template.py:596
Method
emit
(self, indent, text_indent = '')
lib/web/template.py:615
Method
emit
(self, indent, text_indent = '')
lib/web/template.py:644
Method
emit
(self, indent, begin_indent = '')
lib/web/template.py:658
Method
emit
(self, indent, text_indent)
lib/web/template.py:700
Method
emit
(self, indent, text_indent = '')
lib/web/template.py:713
Method
exit
(self, args = None)
core/cmd.py:35
Function
expires
Outputs an `Expires` header for `delta` from now. `delta` is a `timedelta` object or a number of seconds.
lib/web/http.py:36
Method
extended_expr
()
lib/web/template.py:273
Method
f
(link)
lib/web/browser.py:155
Method
find_indent
(text)
lib/web/template.py:460
Method
find_link
(self, text = None, text_regex = None, url = None, url_regex = None, predicate = None)
lib/web/browser.py:138
Method
first
Returns the first element of the iterator or None when there are no elements. If the optional argument default is specified,
lib/web/utils.py:682
Method
follow_link
(self, link = None, text = None, text_regex = None, url = None, url_regex = None, predicate = None)
lib/web/browser.py:128
Function
form
(openid_loc)
lib/web/webopenid.py:64
Function
format_exc
(limit=None)
lib/web/utils.py:1189
Function
frender
Creates a template from the given file path.
lib/web/template.py:1090
Function
from_csv
(fp, field_names = None, **kwargs)
lib/prettytable.py:1233
Function
from_db_cursor
(cursor, **kwargs)
lib/prettytable.py:1250
Function
from_html_one
Generates a PrettyTables from a string of HTML code which contains only a single <table>
lib/prettytable.py:1338
Method
gaerun
Starts the program in a way that will work with Google app engine, no matter which version you are using (2.5 / 2.7)
lib/web/application.py:340
Method
get_default_id
(self)
lib/web/form.py:364
Method
get_html_string
Return string representation of HTML formatted version of table in current state. Arguments: start - index of fi
lib/prettytable.py:1076
Function
get_pointer
()
core/config.py:49
Method
get_pooled_db
()
lib/web/db.py:585
Method
get_source_line
(filename, lineno)
lib/web/template.py:940
Method
get_text
Returns content of e or the current document as plain text.
lib/web/browser.py:115
Method
get_tokens
tokenize text using python tokenizer. Python tokenizer ignores spaces, but they might be important in some cases. This func
lib/web/template.py:310
Method
get_type
(self)
lib/web/form.py:223
Method
get_type
(self)
lib/web/form.py:234
Method
get_type
(self)
lib/web/form.py:416
Method
get_value
(self)
lib/web/form.py:380
Function
group
Returns an iterator over a series of lists of length size from iterable. >>> list(group([1,2,3,4], 2)) [[1, 2], [3, 4]]
lib/web/utils.py:539
Method
handle
(self)
lib/web/application.py:576
Method
handle_class
(cls)
lib/web/application.py:415
Method
handle_data
(self, data)
lib/prettytable.py:1296
Method
handle_endtag
(self, tag)
lib/prettytable.py:1279
Method
handle_starttag
(self, tag, attrs)
lib/prettytable.py:1274
Function
httpdate
Formats a datetime object for use in HTTP headers. >>> import datetime >>> httpdate(datetime.datetime(1970, 1, 1, 1, 1,
lib/web/net.py:193
Method
https_open
(self, req)
lib/web/browser.py:236
Method
identifier
()
lib/web/template.py:270
Function
input
Returns a `storage` object with the GET and POST arguments. See `storify` for how `requireds` and `defaults` work.
lib/web/webapi.py:408
Function
internal
(self, arg)
lib/web/application.py:669
Method
is_hidden
(self)
lib/web/form.py:413
Function
iterview
Takes an iterable `x` and returns an iterator over it which prints its progress to stderr as it iterates through.
lib/web/utils.py:589
Method
iterwrapper
()
lib/web/db.py:690
Method
keys
(self)
lib/web/template.py:1332
Method
kill
Kill the session, make it no longer available
lib/web/session.py:176
Method
least
Returns the keys with mininum count.
lib/web/utils.py:199
Method
list
(self, args = None)
core/cmd.py:38
Method
listify
(x)
lib/web/utils.py:1451
Method
load
(self, args=None)
core/cmd.py:91
Method
log_message
(*a)
lib/web/httpserver.py:183
Function
main
()
core/webserver.py:256
Method
main_module_name
()
lib/web/application.py:66
Method
makefile
(self, *a)
lib/web/httpserver.py:252
Function
modified
Checks to see if the page has been modified since the version in the requester's cache. When you publish pages, you can include
lib/web/http.py:52
Method
modname
find name of the module name from fvars.
lib/web/application.py:71
Method
most
Returns the keys with maximum count.
lib/web/utils.py:194
Method
multiple_insert
Inserts multiple rows into `tablename`. The `values` must be a list of dictioanries, one for each row to be inserted, each with the
lib/web/db.py:835
Function
nthstr
Formats an ordinal. Doesn't handle negative numbers. >>> nthstr(1) '1st' >>> nthstr(0) '0th' >>>
lib/web/utils.py:1073
Function
numify
Removes all non-digit characters from `string`. >>> numify('800-555-1212') '8005551212' >>> numify('800.555.1212')
lib/web/utils.py:982
Method
paren_expr
()
lib/web/template.py:295
Function
parsehttpdate
Parses an HTTP date into a datetime object. >>> parsehttpdate('Thu, 01 Jan 1970 01:01:01 GMT') datetime.datetime(1970, 1
lib/web/net.py:204
Method
payload
(self, args = None)
core/cmd.py:83
Method
peep
Peeps into an iterator by doing an iteration and returns an equivalent iterator.
lib/web/application.py:255
Method
percent
Returns what percentage a certain key is of all entries. >>> c = counter() >>> c.add('x') >>> c.add('x')
lib/web/utils.py:204
Method
popitem
(self)
lib/web/utils.py:1323
Function
prefixurl
Sorry, this function is really difficult to explain. Maybe some other time.
lib/web/http.py:22
Function
prettify
(x)
lib/web/debugerror.py:86
Method
process
(processors)
lib/web/application.py:236
Function
processor
(handler)
lib/web/application.py:603
← previous
next →
601–700 of 768, ranked by callers