MCPcopy Create free account

hub / github.com/ahmedkhlief/muddyc3-Revived / functions

Functions768 in github.com/ahmedkhlief/muddyc3-Revived

↓ 2 callersMethodconsume_till
Consumes tokens till colon. >>> tok = PythonTokenizer('for i in range(10): hello $i') >>> tok.consume_till(':')
lib/web/template.py:490
↓ 2 callersFunctiondictadd
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 callersFunctiondictify
(fs)
lib/web/webapi.py:370
↓ 2 callersFunctiondictincr
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 callersFunctiondjangoerror
()
lib/web/debugerror.py:36
↓ 2 callersMethoddo_request
(self, req)
lib/web/browser.py:73
↓ 2 callersMethodexpired
Called when an expired session is atime
lib/web/session.py:170
↓ 2 callersMethodfail_attribute
(self, node, attrname)
lib/web/template.py:1284
↓ 2 callersFunctionformat
(starttime, n, lenx)
lib/web/utils.py:618
↓ 2 callersMethodgenerate_code
(text, filename, parser = None)
lib/web/template.py:922
↓ 2 callersMethodgeneric_visit
(self, node)
lib/web/template.py:1249
↓ 2 callersMethodget_links
Returns all links in the document.
lib/web/browser.py:124
↓ 2 callersMethodget_node_attr
(self, node)
lib/web/template.py:1292
↓ 2 callersMethodget_node_lineno
(self, node)
lib/web/template.py:1295
↓ 2 callersMethodget_parent_app
(self)
lib/web/application.py:481
↓ 2 callersMethodget_response
Returns a copy of the current response.
lib/web/browser.py:106
↓ 2 callersMethodget_soup
Returns beautiful soup of the current document.
lib/web/browser.py:110
↓ 2 callersFunctiongetvalue
(x)
lib/web/utils.py:137
↓ 2 callersFunctionheader
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 callersMethodinit_mapping
(self, mapping)
lib/web/application.py:120
↓ 2 callersMethodinternalerror
Returns HTTPError with '500 internal error' message
lib/web/application.py:495
↓ 2 callersFunctionintget
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 callersMethodis_hidden
(self)
lib/web/form.py:154
↓ 2 callersMethoditeritems
(self)
lib/web/utils.py:1303
↓ 2 callersMethoditervalues
(self)
lib/web/utils.py:1317
↓ 2 callersFunctionlstrips
removes the string `remove` from the left of `text` >>> lstrips("foobar", "foo") 'bar' >>> lstrips('http://foo.org/'
lib/web/utils.py:298
↓ 2 callersMethodnormalize_text
Normalizes template text by correcting , tabs and BOM chars.
lib/web/template.py:901
↓ 2 callersMethodparse
Parses the given text and returns a parse tree.
lib/web/db.py:1354
↓ 2 callersMethodparse
(self, text, name = '<template>')
lib/web/template.py:87
↓ 2 callersMethodparse_expr
(self)
lib/web/db.py:1400
↓ 2 callersMethodpython_lookahead
Returns the first python token from the given text. >>> python_lookahead = Parser().python_lookahead >>> python_lo
lib/web/template.py:383
↓ 2 callersMethodread_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 callersMethodread_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 callersMethodreset
(self)
lib/web/db.py:1349
↓ 2 callersMethodrun
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 callersFunctionrunscgi
Runs a WSGI function as an SCGI server.
lib/web/wsgi.py:19
↓ 2 callersMethodsafeeval
(self, text, mapping)
lib/web/db.py:1434
↓ 2 callersMethodsend_header
(self, name, value)
lib/web/httpserver.py:177
↓ 2 callersMethodsend_response
(self, status, msg = '')
lib/web/httpserver.py:174
↓ 2 callersMethodset_value
(self, value)
lib/web/form.py:172
↓ 2 callersMethodsorted_keys
Returns keys sorted by value. >>> c = counter() >>> c.add('x') >>> c.add('x') >>> c.
lib/web/utils.py:219
↓ 2 callersMethodstart_response
(status, headers)
lib/web/application.py:218
↓ 2 callersFunctionstorify
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 callersFunctionunicodify
(s)
lib/web/utils.py:131
↓ 2 callersMethodupdate
(block=False)
lib/web/utils.py:489
↓ 2 callersMethodvalid
(self, value)
lib/web/form.py:454
↓ 2 callersFunctionvalidaddr
Returns either (ip_address, port) or "/path/to/socket" from string_ >>> validaddr('/path/to/socket') '/path/to/socket'
lib/web/net.py:144
↓ 2 callersMethodvalidates
(self, source = None, _validate = True, **kw)
lib/web/form.py:83
↓ 2 callersFunctionvalidip
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 callersFunctionvalidip6addr
Returns True if `address` is a valid IPv6 address. >>> validip6addr('::') True >>> validip6addr('aaaa:bbbb:cccc
lib/web/net.py:28
↓ 2 callersFunctionvalidipaddr
Returns True if `address` is a valid IPv4 address. >>> validipaddr('192.168.1.1') True >>> validipaddr('192.168
lib/web/net.py:49
↓ 2 callersMethodwalk
Validate each node in AST and raise SecurityError if the code is not safe.
lib/web/template.py:1242
↓ 2 callersMethodwsgi_write_data
(self, data)
lib/web/httpserver.py:109
↓ 1 callersMethod__init__
Return a new PrettyTable instance Arguments: encoding - Unicode encoding scheme used to decode any encoded input
lib/prettytable.py:47
↓ 1 callersMethod__init__
(self, environ, start_response)
lib/web/httpserver.py:169
↓ 1 callersMethod__init__
(self, func, expires=None, background=True)
lib/web/utils.py:476
↓ 1 callersMethod__init__
(self, app, store, initializer = None)
lib/web/session.py:52
↓ 1 callersMethod__init__
(self)
lib/web/browser.py:47
↓ 1 callersMethod__len__
(self)
lib/web/db.py:201
↓ 1 callersMethod__repr__
(self)
lib/web/utils.py:87
↓ 1 callersMethod_check_expiry
(self)
lib/web/session.py:112
↓ 1 callersMethod_cleanup
Cleanup the stored sessions
lib/web/session.py:162
↓ 1 callersMethod_compile
(self, code)
lib/web/template.py:854
↓ 1 callersMethod_compute_widths
(self, rows, options)
lib/prettytable.py:853
↓ 1 callersMethod_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 callersMethod_findfile
(self, path_prefix)
lib/web/template.py:1029
↓ 1 callersMethod_format_row
(self, row, options)
lib/prettytable.py:893
↓ 1 callersMethod_format_value
(self, field, value)
lib/prettytable.py:846
↓ 1 callersMethod_generate_session_id
Generate a random id for session
lib/web/session.py:141
↓ 1 callersMethod_get_all_sequences
Query postgres to find names of all sequences used in this database.
lib/web/db.py:986
↓ 1 callersMethod_get_formatted_html_string
(self, options)
lib/prettytable.py:1140
↓ 1 callersMethod_get_insert_default_values_query
(self, table)
lib/web/db.py:832
↓ 1 callersFunction_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 callersMethod_get_links
(self)
lib/web/browser.py:120
↓ 1 callersMethod_get_simple_html_string
(self, options)
lib/prettytable.py:1104
↓ 1 callersFunction_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 callersFunction_is_dev_mode
()
lib/web/wsgi.py:58
↓ 1 callersMethod_load
Load the session from the store, by the id from cookie
lib/web/session.py:88
↓ 1 callersMethod_load_context
(self, ctx)
lib/web/db.py:551
↓ 1 callersMethod_lookup
(self, name)
lib/web/template.py:1008
↓ 1 callersMethod_make_response
(self, result, url)
lib/web/browser.py:244
↓ 1 callersMethod_match
(self, mapping, value)
lib/web/application.py:451
↓ 1 callersMethod_match
(self, mapping, value)
lib/web/application.py:581
↓ 1 callersMethod_pop
(self)
lib/web/template.py:807
↓ 1 callersMethod_process_query
Takes the SQLQuery object and returns query string and parameters.
lib/web/db.py:631
↓ 1 callersMethod_push
(self)
lib/web/template.py:804
↓ 1 callersFunction_random_session
()
lib/web/webopenid.py:46
↓ 1 callersFunction_secret
()
lib/web/webopenid.py:32
↓ 1 callersMethod_set_columns_style
(self)
lib/prettytable.py:765
↓ 1 callersMethod_set_default_style
(self)
lib/prettytable.py:744
↓ 1 callersMethod_set_msword_style
(self)
lib/prettytable.py:756
↓ 1 callersMethod_set_random_style
(self)
lib/prettytable.py:772
↓ 1 callersFunction_sqllist
>>> _sqllist([1, 2, 3]) <sql: '(1, 2, 3)'>
lib/web/db.py:309
↓ 1 callersMethod_stringify_header
(self, options)
lib/prettytable.py:967
↓ 1 callersMethod_stringify_hrule
(self, options)
lib/prettytable.py:942
↓ 1 callersMethod_stringify_row
(self, row, options)
lib/prettytable.py:1011
↓ 1 callersMethod_valid_session_id
(self, session_id)
lib/web/session.py:158
↓ 1 callersMethod_validate
(self, value)
lib/web/form.py:98
↓ 1 callersMethod_validate_all_field_names
(self, name, val)
lib/prettytable.py:327
↓ 1 callersMethod_validate_attributes
(self, name, val)
lib/prettytable.py:341
← previousnext →101–200 of 768, ranked by callers