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
↓ 2 callers
Method
consume_till
Consumes tokens till colon. >>> tok = PythonTokenizer('for i in range(10): hello $i') >>> tok.consume_till(':')
lib/web/template.py:490
↓ 2 callers
Function
dictadd
Returns a dictionary consisting of the keys in the argument dictionaries. If they share a key, the value from the last argument is used.
lib/web/utils.py:824
↓ 2 callers
Function
dictify
(fs)
lib/web/webapi.py:370
↓ 2 callers
Function
dictincr
Increments `element` in `dictionary`, setting it to one if it doesn't exist. >>> d = {1:2, 3:4} >>> dictincr(d, 1)
lib/web/utils.py:804
↓ 2 callers
Function
djangoerror
()
lib/web/debugerror.py:36
↓ 2 callers
Method
do_request
(self, req)
lib/web/browser.py:73
↓ 2 callers
Method
expired
Called when an expired session is atime
lib/web/session.py:170
↓ 2 callers
Method
fail_attribute
(self, node, attrname)
lib/web/template.py:1284
↓ 2 callers
Function
format
(starttime, n, lenx)
lib/web/utils.py:618
↓ 2 callers
Method
generate_code
(text, filename, parser = None)
lib/web/template.py:922
↓ 2 callers
Method
generic_visit
(self, node)
lib/web/template.py:1249
↓ 2 callers
Method
get_links
Returns all links in the document.
lib/web/browser.py:124
↓ 2 callers
Method
get_node_attr
(self, node)
lib/web/template.py:1292
↓ 2 callers
Method
get_node_lineno
(self, node)
lib/web/template.py:1295
↓ 2 callers
Method
get_parent_app
(self)
lib/web/application.py:481
↓ 2 callers
Method
get_response
Returns a copy of the current response.
lib/web/browser.py:106
↓ 2 callers
Method
get_soup
Returns beautiful soup of the current document.
lib/web/browser.py:110
↓ 2 callers
Function
getvalue
(x)
lib/web/utils.py:137
↓ 2 callers
Function
header
Adds the header `hdr: value` with the response. If `unique` is True and a header with that name already exists, it doesn't add a
lib/web/webapi.py:347
↓ 2 callers
Method
init_mapping
(self, mapping)
lib/web/application.py:120
↓ 2 callers
Method
internalerror
Returns HTTPError with '500 internal error' message
lib/web/application.py:495
↓ 2 callers
Function
intget
Returns `integer` as an int or `default` if it can't. >>> intget('3') 3 >>> intget('3a') >>> intget('3a', 0)
lib/web/utils.py:882
↓ 2 callers
Method
is_hidden
(self)
lib/web/form.py:154
↓ 2 callers
Method
iteritems
(self)
lib/web/utils.py:1303
↓ 2 callers
Method
itervalues
(self)
lib/web/utils.py:1317
↓ 2 callers
Function
lstrips
removes the string `remove` from the left of `text` >>> lstrips("foobar", "foo") 'bar' >>> lstrips('http://foo.org/'
lib/web/utils.py:298
↓ 2 callers
Method
normalize_text
Normalizes template text by correcting , tabs and BOM chars.
lib/web/template.py:901
↓ 2 callers
Method
parse
Parses the given text and returns a parse tree.
lib/web/db.py:1354
↓ 2 callers
Method
parse
(self, text, name = '<template>')
lib/web/template.py:87
↓ 2 callers
Method
parse_expr
(self)
lib/web/db.py:1400
↓ 2 callers
Method
python_lookahead
Returns the first python token from the given text. >>> python_lookahead = Parser().python_lookahead >>> python_lo
lib/web/template.py:383
↓ 2 callers
Method
read_indented_block
r"""Read a block of text. A block is what typically follows a for or it statement. It can be in the same line as that of the statement or an
lib/web/template.py:405
↓ 2 callers
Method
read_suite
r"""Reads section by section till end of text. >>> read_suite = Parser().read_suite >>> read_suite('hello $name\nf
lib/web/template.py:165
↓ 2 callers
Method
reset
(self)
lib/web/db.py:1349
↓ 2 callers
Method
run
Starts handling requests. If called in a CGI or FastCGI context, it will follow that protocol. If called from the command line, it
lib/web/application.py:306
↓ 2 callers
Function
runscgi
Runs a WSGI function as an SCGI server.
lib/web/wsgi.py:19
↓ 2 callers
Method
safeeval
(self, text, mapping)
lib/web/db.py:1434
↓ 2 callers
Method
send_header
(self, name, value)
lib/web/httpserver.py:177
↓ 2 callers
Method
send_response
(self, status, msg = '')
lib/web/httpserver.py:174
↓ 2 callers
Method
set_value
(self, value)
lib/web/form.py:172
↓ 2 callers
Method
sorted_keys
Returns keys sorted by value. >>> c = counter() >>> c.add('x') >>> c.add('x') >>> c.
lib/web/utils.py:219
↓ 2 callers
Method
start_response
(status, headers)
lib/web/application.py:218
↓ 2 callers
Function
storify
Creates a `storage` object from dictionary `mapping`, raising `KeyError` if d doesn't have all of the keys in `requireds` and using the defau
lib/web/utils.py:93
↓ 2 callers
Function
unicodify
(s)
lib/web/utils.py:131
↓ 2 callers
Method
update
(block=False)
lib/web/utils.py:489
↓ 2 callers
Method
valid
(self, value)
lib/web/form.py:454
↓ 2 callers
Function
validaddr
Returns either (ip_address, port) or "/path/to/socket" from string_ >>> validaddr('/path/to/socket') '/path/to/socket'
lib/web/net.py:144
↓ 2 callers
Method
validates
(self, source = None, _validate = True, **kw)
lib/web/form.py:83
↓ 2 callers
Function
validip
Returns `(ip_address, port)` from string `ip_addr_port` >>> validip('1.2.3.4') ('1.2.3.4', 8080) >>> validip('8
lib/web/net.py:94
↓ 2 callers
Function
validip6addr
Returns True if `address` is a valid IPv6 address. >>> validip6addr('::') True >>> validip6addr('aaaa:bbbb:cccc
lib/web/net.py:28
↓ 2 callers
Function
validipaddr
Returns True if `address` is a valid IPv4 address. >>> validipaddr('192.168.1.1') True >>> validipaddr('192.168
lib/web/net.py:49
↓ 2 callers
Method
walk
Validate each node in AST and raise SecurityError if the code is not safe.
lib/web/template.py:1242
↓ 2 callers
Method
wsgi_write_data
(self, data)
lib/web/httpserver.py:109
↓ 1 callers
Method
__init__
Return a new PrettyTable instance Arguments: encoding - Unicode encoding scheme used to decode any encoded input
lib/prettytable.py:47
↓ 1 callers
Method
__init__
(self, environ, start_response)
lib/web/httpserver.py:169
↓ 1 callers
Method
__init__
(self, func, expires=None, background=True)
lib/web/utils.py:476
↓ 1 callers
Method
__init__
(self, app, store, initializer = None)
lib/web/session.py:52
↓ 1 callers
Method
__init__
(self)
lib/web/browser.py:47
↓ 1 callers
Method
__len__
(self)
lib/web/db.py:201
↓ 1 callers
Method
__repr__
(self)
lib/web/utils.py:87
↓ 1 callers
Method
_check_expiry
(self)
lib/web/session.py:112
↓ 1 callers
Method
_cleanup
Cleanup the stored sessions
lib/web/session.py:162
↓ 1 callers
Method
_compile
(self, code)
lib/web/template.py:854
↓ 1 callers
Method
_compute_widths
(self, rows, options)
lib/prettytable.py:853
↓ 1 callers
Method
_delegate_sub_application
Deletes request to sub application `app` rooted at the directory `dir`. The home, homepath, path and fullpath values in web.ctx are updated t
lib/web/application.py:467
↓ 1 callers
Method
_findfile
(self, path_prefix)
lib/web/template.py:1029
↓ 1 callers
Method
_format_row
(self, row, options)
lib/prettytable.py:893
↓ 1 callers
Method
_format_value
(self, field, value)
lib/prettytable.py:846
↓ 1 callers
Method
_generate_session_id
Generate a random id for session
lib/web/session.py:141
↓ 1 callers
Method
_get_all_sequences
Query postgres to find names of all sequences used in this database.
lib/web/db.py:986
↓ 1 callers
Method
_get_formatted_html_string
(self, options)
lib/prettytable.py:1140
↓ 1 callers
Method
_get_insert_default_values_query
(self, table)
lib/web/db.py:832
↓ 1 callers
Function
_get_lines_from_file
Returns context_lines before and after lineno from file. Returns (pre_context_lineno, pre_context, context_line, post_context).
lib/web/debugerror.py:39
↓ 1 callers
Method
_get_links
(self)
lib/web/browser.py:120
↓ 1 callers
Method
_get_simple_html_string
(self, options)
lib/prettytable.py:1104
↓ 1 callers
Function
_interpolate
Takes a format string and returns a list of 2-tuples of the form (boolean, string) where boolean says whether string should be evaled or
lib/web/db.py:1259
↓ 1 callers
Function
_is_dev_mode
()
lib/web/wsgi.py:58
↓ 1 callers
Method
_load
Load the session from the store, by the id from cookie
lib/web/session.py:88
↓ 1 callers
Method
_load_context
(self, ctx)
lib/web/db.py:551
↓ 1 callers
Method
_lookup
(self, name)
lib/web/template.py:1008
↓ 1 callers
Method
_make_response
(self, result, url)
lib/web/browser.py:244
↓ 1 callers
Method
_match
(self, mapping, value)
lib/web/application.py:451
↓ 1 callers
Method
_match
(self, mapping, value)
lib/web/application.py:581
↓ 1 callers
Method
_pop
(self)
lib/web/template.py:807
↓ 1 callers
Method
_process_query
Takes the SQLQuery object and returns query string and parameters.
lib/web/db.py:631
↓ 1 callers
Method
_push
(self)
lib/web/template.py:804
↓ 1 callers
Function
_random_session
()
lib/web/webopenid.py:46
↓ 1 callers
Function
_secret
()
lib/web/webopenid.py:32
↓ 1 callers
Method
_set_columns_style
(self)
lib/prettytable.py:765
↓ 1 callers
Method
_set_default_style
(self)
lib/prettytable.py:744
↓ 1 callers
Method
_set_msword_style
(self)
lib/prettytable.py:756
↓ 1 callers
Method
_set_random_style
(self)
lib/prettytable.py:772
↓ 1 callers
Function
_sqllist
>>> _sqllist([1, 2, 3]) <sql: '(1, 2, 3)'>
lib/web/db.py:309
↓ 1 callers
Method
_stringify_header
(self, options)
lib/prettytable.py:967
↓ 1 callers
Method
_stringify_hrule
(self, options)
lib/prettytable.py:942
↓ 1 callers
Method
_stringify_row
(self, row, options)
lib/prettytable.py:1011
↓ 1 callers
Method
_valid_session_id
(self, session_id)
lib/web/session.py:158
↓ 1 callers
Method
_validate
(self, value)
lib/web/form.py:98
↓ 1 callers
Method
_validate_all_field_names
(self, name, val)
lib/prettytable.py:327
↓ 1 callers
Method
_validate_attributes
(self, name, val)
lib/prettytable.py:341
← previous
next →
101–200 of 768, ranked by callers