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
↓ 134 callers
Method
append
(self, value)
lib/web/db.py:169
↓ 72 callers
Method
get
(self, i, default = None)
lib/web/form.py:125
↓ 55 callers
Method
join
Joins multiple queries. >>> SQLQuery.join(['a', 'b'], ', ') <sql: 'a, b'> Optinally, prefix and suf
lib/web/db.py:239
↓ 40 callers
Method
pop
(self, key, *args)
lib/web/utils.py:1320
↓ 24 callers
Method
encode
encodes session dict as a string
lib/web/session.py:198
↓ 23 callers
Method
_validate_option
(self, option, val)
lib/prettytable.py:194
↓ 22 callers
Function
next
()
lib/web/utils.py:736
↓ 19 callers
Method
get
(self, key, default=None)
lib/web/utils.py:1297
↓ 18 callers
Method
__init__
(self, message = None)
lib/web/webapi.py:269
↓ 16 callers
Method
add_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 callers
Method
_unicode
(self, value)
lib/prettytable.py:130
↓ 14 callers
Function
safestr
Converts any given object to utf-8 encoded string. >>> safestr('hello') 'hello' >>> safestr(2) '2'
lib/web/utils.py:348
↓ 12 callers
Method
update
Update `tables` with clause `where` (interpolated using `vars`) and setting `values`. >>> db = DB(None, {})
lib/web/db.py:892
↓ 10 callers
Method
decode
decodes the data to get back the session dict
lib/web/session.py:203
↓ 10 callers
Method
items
(self)
lib/web/utils.py:1300
↓ 9 callers
Method
_db_execute
executes an sql query
lib/web/db.py:610
↓ 9 callers
Function
f
(text, expected)
lib/web/db.py:1457
↓ 9 callers
Method
insert
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 callers
Method
copy
(self)
lib/web/form.py:204
↓ 8 callers
Method
keys
(self)
lib/web/utils.py:1306
↓ 8 callers
Method
match
(self)
lib/web/db.py:1391
↓ 8 callers
Method
setdefault
(self, key, default=None)
lib/web/utils.py:1326
↓ 8 callers
Function
splitline
r""" Splits the given text at newline. >>> splitline('foo\nbar') ('foo\n', 'bar') >>> splitline('foo')
lib/web/template.py:61
↓ 7 callers
Method
__init__
Creates a database.
lib/web/db.py:526
↓ 7 callers
Method
_prepare_body
Prepare value of __body__ by joining parts.
lib/web/template.py:1335
↓ 7 callers
Method
commit
(unload=True)
lib/web/db.py:564
↓ 6 callers
Method
__init__
(self)
lib/web/template.py:83
↓ 6 callers
Function
agohence
(n, what, divisor=None)
lib/web/utils.py:928
↓ 6 callers
Method
emit
(self, indent, text_indent = '')
lib/web/template.py:688
↓ 6 callers
Function
register_database
Register a database. >>> class LegacyDB(DB): ... def __init__(self, **params): ... pass ...
lib/web/db.py:1238
↓ 5 callers
Method
__init__
(self, *inputs, **kw)
lib/web/form.py:36
↓ 5 callers
Method
_db_cursor
(self)
lib/web/db.py:596
↓ 5 callers
Method
_get_path
(self, key)
lib/web/session.py:232
↓ 5 callers
Function
_str_block_width
(val)
lib/prettytable.py:1229
↓ 5 callers
Method
add_processor
Adds a processor to the application. >>> urls = ("/(.*)", "echo") >>> app = application(urls, globals()
lib/web/application.py:126
↓ 5 callers
Method
lookahead
(self)
lib/web/template.py:340
↓ 5 callers
Method
notfound
Returns HTTPError with '404 not found' message
lib/web/application.py:487
↓ 5 callers
Method
query
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 callers
Function
sqllist
Converts the arguments for use in something like a WHERE clause. >>> sqllist(['a', 'b']) 'a, b' >>> sqllist('a')
lib/web/db.py:377
↓ 5 callers
Method
sqlquery
(self)
lib/web/db.py:105
↓ 5 callers
Method
values
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 callers
Method
wsgifunc
Returns a WSGI-compatible function for this application.
lib/web/application.py:252
↓ 4 callers
Method
_get_padding_widths
(self, options)
lib/prettytable.py:868
↓ 4 callers
Function
_get_size
(text)
lib/prettytable.py:38
↓ 4 callers
Function
_status_code
(status, data = None, classname = None, docstring = None)
lib/web/webapi.py:83
↓ 4 callers
Method
copy
(self)
lib/web/utils.py:1294
↓ 4 callers
Function
matchorfail
(text, pos)
lib/web/db.py:1268
↓ 4 callers
Method
rendernote
(self, note)
lib/web/form.py:77
↓ 4 callers
Function
sqlquote
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 callers
Method
_filter_links
(self, links, text = None, text_regex = None, url = None, url_regex = None, predicate = None)
lib/web/browser.py:142
↓ 3 callers
Method
_format_rows
(self, rows, options)
lib/prettytable.py:896
↓ 3 callers
Method
_get_rows
Return only those data rows that should be printed, based on slicing and sorting. Arguments: options - dictionar
lib/prettytable.py:879
↓ 3 callers
Method
_template
(self, name)
lib/web/template.py:1036
↓ 3 callers
Method
_where_dict
(self, where)
lib/web/db.py:653
↓ 3 callers
Method
attach
(self, filename, content, content_type=None)
lib/web/utils.py:1484
↓ 3 callers
Method
clear
(self)
lib/web/utils.py:1291
↓ 3 callers
Method
delete
Deletes from `table` with clauses `where` and `using`. >>> db = DB(None, {}) >>> name = 'Joe' >>
lib/web/db.py:922
↓ 3 callers
Method
handle_with_processors
(self)
lib/web/application.py:234
↓ 3 callers
Function
import_driver
Import the first available driver or preferred driver.
lib/web/db.py:1042
↓ 3 callers
Method
load
Initializes ctx using env.
lib/web/application.py:376
↓ 3 callers
Function
loadhook
Converts a load hook into an application processor. >>> app = auto_application() >>> def f(): "something done before han
lib/web/application.py:593
↓ 3 callers
Method
new_message
(self)
lib/web/utils.py:1480
↓ 3 callers
Method
open
Opens the specified url.
lib/web/browser.py:91
↓ 3 callers
Method
query
Returns the query part of the sql query. >>> q = SQLQuery(["SELECT * FROM test WHERE name=", SQLParam('joe')]) >>> q.
lib/web/db.py:207
↓ 3 callers
Method
query
(self, q)
lib/web/db.py:474
↓ 3 callers
Method
readline
r"""Reads one line from the text. Newline is supressed if the line ends with \. >>> readline = Parser().readline >
lib/web/template.py:179
↓ 3 callers
Function
reparam
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 callers
Method
rollback
()
lib/web/db.py:569
↓ 3 callers
Method
run
(self)
lib/web/utils.py:405
↓ 3 callers
Function
runfcgi
Runs a WSGI function as a FastCGI server.
lib/web/wsgi.py:13
↓ 3 callers
Function
safeunicode
r""" Converts any given object to unicode string. >>> safeunicode('hello') u'hello' >>> safeunicode(2) u'2'
lib/web/utils.py:326
↓ 3 callers
Method
select
Selects `what` from `tables` with clauses `where`, `order`, `group`, `limit`, and `offset`. Uses vars to interpolate. Other
lib/web/db.py:706
↓ 3 callers
Function
urlencode
Same as urllib.urlencode, but supports unicode strings. >>> urlencode({'text':'foo bar'}) 'text=foo+bar' >>> ur
lib/web/http.py:94
↓ 3 callers
Function
validipport
Returns True if `port` is a valid IPv4 port. >>> validipport('9000') True >>> validipport('foo') False
lib/web/net.py:74
↓ 2 callers
Function
WSGIServer
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 callers
Method
__init__
(self)
lib/web/application.py:698
↓ 2 callers
Method
__unicode__
(self)
lib/prettytable.py:191
↓ 2 callers
Method
_cleanup
(self)
lib/web/application.py:117
↓ 2 callers
Method
_connect
(self, keywords)
lib/web/db.py:580
↓ 2 callers
Method
_connect_with_pooling
(self, keywords)
lib/web/db.py:583
↓ 2 callers
Method
_delegate
(self, f, fvars, args = [])
lib/web/application.py:413
↓ 2 callers
Method
_get_options
(self, kwargs)
lib/prettytable.py:721
↓ 2 callers
Function
_hmac
(identity_url)
lib/web/webopenid.py:42
↓ 2 callers
Method
_justify
(self, text, width, align)
lib/prettytable.py:137
↓ 2 callers
Method
_load_template
(self, name)
lib/web/template.py:1019
↓ 2 callers
Method
_next
(self)
lib/web/template.py:345
↓ 2 callers
Method
_process_insert_query
(self, query, tablename, seqname)
lib/web/db.py:948
↓ 2 callers
Method
_render_option
(self, arg, indent = ' ')
lib/web/form.py:275
↓ 2 callers
Method
_save
(self)
lib/web/session.py:126
↓ 2 callers
Method
_setcookie
(self, session_id, expires = '', **kw)
lib/web/session.py:133
↓ 2 callers
Method
_str
(self)
lib/web/db.py:274
↓ 2 callers
Function
_strips
(direction, text, remove)
lib/web/utils.py:270
↓ 2 callers
Method
_unload_context
(self, ctx)
lib/web/db.py:577
↓ 2 callers
Method
_validate_align
(self, val)
lib/prettytable.py:250
↓ 2 callers
Method
_validate_field_name
(self, name, val)
lib/prettytable.py:319
↓ 2 callers
Method
_validate_header_style
(self, val)
lib/prettytable.py:242
↓ 2 callers
Method
_validate_valign
(self, val)
lib/prettytable.py:256
↓ 2 callers
Method
_where
(self, where, vars)
lib/web/db.py:640
↓ 2 callers
Method
add
(self, n)
lib/web/utils.py:190
↓ 2 callers
Method
check_assign_target
(self, targetnode)
lib/web/template.py:1273
next →
1–100 of 768, ranked by callers