MCPcopy Create free account

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

Functions768 in github.com/ahmedkhlief/muddyc3-Revived

↓ 134 callersMethodappend
(self, value)
lib/web/db.py:169
↓ 72 callersMethodget
(self, i, default = None)
lib/web/form.py:125
↓ 55 callersMethodjoin
Joins multiple queries. >>> SQLQuery.join(['a', 'b'], ', ') <sql: 'a, b'> Optinally, prefix and suf
lib/web/db.py:239
↓ 40 callersMethodpop
(self, key, *args)
lib/web/utils.py:1320
↓ 24 callersMethodencode
encodes session dict as a string
lib/web/session.py:198
↓ 23 callersMethod_validate_option
(self, option, val)
lib/prettytable.py:194
↓ 22 callersFunctionnext
()
lib/web/utils.py:736
↓ 19 callersMethodget
(self, key, default=None)
lib/web/utils.py:1297
↓ 18 callersMethod__init__
(self, message = None)
lib/web/webapi.py:269
↓ 16 callersMethodadd_row
Add a row to the table Arguments: row - row of data, should be a list with as many elements as the table
lib/prettytable.py:786
↓ 14 callersMethod_unicode
(self, value)
lib/prettytable.py:130
↓ 14 callersFunctionsafestr
Converts any given object to utf-8 encoded string. >>> safestr('hello') 'hello' >>> safestr(2) '2'
lib/web/utils.py:348
↓ 12 callersMethodupdate
Update `tables` with clause `where` (interpolated using `vars`) and setting `values`. >>> db = DB(None, {})
lib/web/db.py:892
↓ 10 callersMethoddecode
decodes the data to get back the session dict
lib/web/session.py:203
↓ 10 callersMethoditems
(self)
lib/web/utils.py:1300
↓ 9 callersMethod_db_execute
executes an sql query
lib/web/db.py:610
↓ 9 callersFunctionf
(text, expected)
lib/web/db.py:1457
↓ 9 callersMethodinsert
Inserts `values` into `tablename`. Returns current sequence ID. Set `seqname` to the ID if it's not the default, or to `False`
lib/web/db.py:785
↓ 8 callersMethodcopy
(self)
lib/web/form.py:204
↓ 8 callersMethodkeys
(self)
lib/web/utils.py:1306
↓ 8 callersMethodmatch
(self)
lib/web/db.py:1391
↓ 8 callersMethodsetdefault
(self, key, default=None)
lib/web/utils.py:1326
↓ 8 callersFunctionsplitline
r""" Splits the given text at newline. >>> splitline('foo\nbar') ('foo\n', 'bar') >>> splitline('foo')
lib/web/template.py:61
↓ 7 callersMethod__init__
Creates a database.
lib/web/db.py:526
↓ 7 callersMethod_prepare_body
Prepare value of __body__ by joining parts.
lib/web/template.py:1335
↓ 7 callersMethodcommit
(unload=True)
lib/web/db.py:564
↓ 6 callersMethod__init__
(self)
lib/web/template.py:83
↓ 6 callersFunctionagohence
(n, what, divisor=None)
lib/web/utils.py:928
↓ 6 callersMethodemit
(self, indent, text_indent = '')
lib/web/template.py:688
↓ 6 callersFunctionregister_database
Register a database. >>> class LegacyDB(DB): ... def __init__(self, **params): ... pass ...
lib/web/db.py:1238
↓ 5 callersMethod__init__
(self, *inputs, **kw)
lib/web/form.py:36
↓ 5 callersMethod_db_cursor
(self)
lib/web/db.py:596
↓ 5 callersMethod_get_path
(self, key)
lib/web/session.py:232
↓ 5 callersFunction_str_block_width
(val)
lib/prettytable.py:1229
↓ 5 callersMethodadd_processor
Adds a processor to the application. >>> urls = ("/(.*)", "echo") >>> app = application(urls, globals()
lib/web/application.py:126
↓ 5 callersMethodlookahead
(self)
lib/web/template.py:340
↓ 5 callersMethodnotfound
Returns HTTPError with '404 not found' message
lib/web/application.py:487
↓ 5 callersMethodquery
Execute SQL query `sql_query` using dictionary `vars` to interpolate it. If `processed=True`, `vars` is a `reparam`-style list to use
lib/web/db.py:664
↓ 5 callersFunctionsqllist
Converts the arguments for use in something like a WHERE clause. >>> sqllist(['a', 'b']) 'a, b' >>> sqllist('a')
lib/web/db.py:377
↓ 5 callersMethodsqlquery
(self)
lib/web/db.py:105
↓ 5 callersMethodvalues
Returns the values of the parameters used in the sql query. >>> q = SQLQuery(["SELECT * FROM test WHERE name=", SQLParam('joe')])
lib/web/db.py:230
↓ 5 callersMethodwsgifunc
Returns a WSGI-compatible function for this application.
lib/web/application.py:252
↓ 4 callersMethod_get_padding_widths
(self, options)
lib/prettytable.py:868
↓ 4 callersFunction_get_size
(text)
lib/prettytable.py:38
↓ 4 callersFunction_status_code
(status, data = None, classname = None, docstring = None)
lib/web/webapi.py:83
↓ 4 callersMethodcopy
(self)
lib/web/utils.py:1294
↓ 4 callersFunctionmatchorfail
(text, pos)
lib/web/db.py:1268
↓ 4 callersMethodrendernote
(self, note)
lib/web/form.py:77
↓ 4 callersFunctionsqlquote
Ensures `a` is quoted properly for use in a SQL query. >>> 'WHERE x = ' + sqlquote(True) + ' AND y = ' + sqlquote(3) <sql: "
lib/web/db.py:437
↓ 3 callersMethod_filter_links
(self, links, text = None, text_regex = None, url = None, url_regex = None, predicate = None)
lib/web/browser.py:142
↓ 3 callersMethod_format_rows
(self, rows, options)
lib/prettytable.py:896
↓ 3 callersMethod_get_rows
Return only those data rows that should be printed, based on slicing and sorting. Arguments: options - dictionar
lib/prettytable.py:879
↓ 3 callersMethod_template
(self, name)
lib/web/template.py:1036
↓ 3 callersMethod_where_dict
(self, where)
lib/web/db.py:653
↓ 3 callersMethodattach
(self, filename, content, content_type=None)
lib/web/utils.py:1484
↓ 3 callersMethodclear
(self)
lib/web/utils.py:1291
↓ 3 callersMethoddelete
Deletes from `table` with clauses `where` and `using`. >>> db = DB(None, {}) >>> name = 'Joe' >>
lib/web/db.py:922
↓ 3 callersMethodhandle_with_processors
(self)
lib/web/application.py:234
↓ 3 callersFunctionimport_driver
Import the first available driver or preferred driver.
lib/web/db.py:1042
↓ 3 callersMethodload
Initializes ctx using env.
lib/web/application.py:376
↓ 3 callersFunctionloadhook
Converts a load hook into an application processor. >>> app = auto_application() >>> def f(): "something done before han
lib/web/application.py:593
↓ 3 callersMethodnew_message
(self)
lib/web/utils.py:1480
↓ 3 callersMethodopen
Opens the specified url.
lib/web/browser.py:91
↓ 3 callersMethodquery
Returns the query part of the sql query. >>> q = SQLQuery(["SELECT * FROM test WHERE name=", SQLParam('joe')]) >>> q.
lib/web/db.py:207
↓ 3 callersMethodquery
(self, q)
lib/web/db.py:474
↓ 3 callersMethodreadline
r"""Reads one line from the text. Newline is supressed if the line ends with \. >>> readline = Parser().readline >
lib/web/template.py:179
↓ 3 callersFunctionreparam
Takes a string and a dictionary and interpolates the string using values from the dictionary. Returns an `SQLQuery` for the result.
lib/web/db.py:325
↓ 3 callersMethodrollback
()
lib/web/db.py:569
↓ 3 callersMethodrun
(self)
lib/web/utils.py:405
↓ 3 callersFunctionrunfcgi
Runs a WSGI function as a FastCGI server.
lib/web/wsgi.py:13
↓ 3 callersFunctionsafeunicode
r""" Converts any given object to unicode string. >>> safeunicode('hello') u'hello' >>> safeunicode(2) u'2'
lib/web/utils.py:326
↓ 3 callersMethodselect
Selects `what` from `tables` with clauses `where`, `order`, `group`, `limit`, and `offset`. Uses vars to interpolate. Other
lib/web/db.py:706
↓ 3 callersFunctionurlencode
Same as urllib.urlencode, but supports unicode strings. >>> urlencode({'text':'foo bar'}) 'text=foo+bar' >>> ur
lib/web/http.py:94
↓ 3 callersFunctionvalidipport
Returns True if `port` is a valid IPv4 port. >>> validipport('9000') True >>> validipport('foo') False
lib/web/net.py:74
↓ 2 callersFunctionWSGIServer
Creates CherryPy WSGI server listening at `server_address` to serve `wsgi_app`. This function can be overwritten to customize the webserver or us
lib/web/httpserver.py:156
↓ 2 callersMethod__init__
(self)
lib/web/application.py:698
↓ 2 callersMethod__unicode__
(self)
lib/prettytable.py:191
↓ 2 callersMethod_cleanup
(self)
lib/web/application.py:117
↓ 2 callersMethod_connect
(self, keywords)
lib/web/db.py:580
↓ 2 callersMethod_connect_with_pooling
(self, keywords)
lib/web/db.py:583
↓ 2 callersMethod_delegate
(self, f, fvars, args = [])
lib/web/application.py:413
↓ 2 callersMethod_get_options
(self, kwargs)
lib/prettytable.py:721
↓ 2 callersFunction_hmac
(identity_url)
lib/web/webopenid.py:42
↓ 2 callersMethod_justify
(self, text, width, align)
lib/prettytable.py:137
↓ 2 callersMethod_load_template
(self, name)
lib/web/template.py:1019
↓ 2 callersMethod_next
(self)
lib/web/template.py:345
↓ 2 callersMethod_process_insert_query
(self, query, tablename, seqname)
lib/web/db.py:948
↓ 2 callersMethod_render_option
(self, arg, indent = ' ')
lib/web/form.py:275
↓ 2 callersMethod_save
(self)
lib/web/session.py:126
↓ 2 callersMethod_setcookie
(self, session_id, expires = '', **kw)
lib/web/session.py:133
↓ 2 callersMethod_str
(self)
lib/web/db.py:274
↓ 2 callersFunction_strips
(direction, text, remove)
lib/web/utils.py:270
↓ 2 callersMethod_unload_context
(self, ctx)
lib/web/db.py:577
↓ 2 callersMethod_validate_align
(self, val)
lib/prettytable.py:250
↓ 2 callersMethod_validate_field_name
(self, name, val)
lib/prettytable.py:319
↓ 2 callersMethod_validate_header_style
(self, val)
lib/prettytable.py:242
↓ 2 callersMethod_validate_valign
(self, val)
lib/prettytable.py:256
↓ 2 callersMethod_where
(self, where, vars)
lib/web/db.py:640
↓ 2 callersMethodadd
(self, n)
lib/web/utils.py:190
↓ 2 callersMethodcheck_assign_target
(self, targetnode)
lib/web/template.py:1273
next →1–100 of 768, ranked by callers