MCPcopy Create free account

hub / github.com/CrashedBboy/Quick_SLPK_Server / functions

Functions351 in github.com/CrashedBboy/Quick_SLPK_Server

↓ 56 callersMethodget
Equals :meth:`route`.
bottlepy/bottle.py:934
↓ 36 callersMethodappend
Add a new value to the list of values for this key.
bottlepy/bottle.py:2159
↓ 26 callersMethodupdate
If the first parameter is a string, all keys are prefixed with this namespace. Apart from that it works just as the usual dict.update().
bottlepy/bottle.py:2433
↓ 20 callersMethodreplace
Replace the list of values with a single value.
bottlepy/bottle.py:2163
↓ 19 callersFunctiontob
(s, enc='utf8')
bottlepy/bottle.py:161
↓ 18 callersFunction_hkey
(key)
bottlepy/bottle.py:1601
↓ 17 callersFunctiondepr
(major, minor, cause, fix)
bottlepy/bottle.py:189
↓ 17 callersFunctionread
read gz compressed file from slpk (=zip archive) and output result
quick_slpk_server.py:58
↓ 17 callersMethodsetdefault
(self, key, value)
bottlepy/bottle.py:2447
↓ 13 callersMethoditems
(self)
bottlepy/bottle.py:2108
↓ 12 callersFunctionmake_default_app_wrapper
Return a callable that relays calls to the current default app.
bottlepy/bottle.py:3159
↓ 11 callersFunctionabort
Aborts execution and causes a HTTP error.
bottlepy/bottle.py:2794
↓ 11 callersMethodrun
Calls :func:`run` with the same parameters.
bottlepy/bottle.py:861
↓ 10 callersMethodcopy
Return a new :class:`Request` with a shallow :attr:`environ` copy.
bottlepy/bottle.py:1534
↓ 10 callersMethoddecode
Returns a copy with all keys and values de- or recoded to match :attr:`input_encoding`. Some libraries (e.g. WTForms) want a
bottlepy/bottle.py:2198
↓ 7 callersFunction_hval
(value)
bottlepy/bottle.py:1606
↓ 7 callersFunctionmakelist
(data)
bottlepy/bottle.py:199
↓ 7 callersMethodroute
A decorator to bind a function to a request URL. Example:: @app.route('/hello/<name>') def hello(name):
bottlepy/bottle.py:884
↓ 7 callersFunctiontouni
(s, enc='utf8', err='strict')
bottlepy/bottle.py:167
↓ 6 callersFunction_local_property
()
bottlepy/bottle.py:1894
↓ 6 callersMethodapply
(self, callback, route)
bottlepy/bottle.py:1992
↓ 6 callersFunctionload
Import a module or fetch an object from a module. * ``package.module`` returns `module` as a module object. * ``pack.mod:name`` retu
bottlepy/bottle.py:3582
↓ 5 callersMethodadd
Add a new rule or replace the target for an existing rule.
bottlepy/bottle.py:373
↓ 5 callersMethodallitems
(self)
bottlepy/bottle.py:2111
↓ 5 callersFunctiontemplate
Get a rendered template as a string iterator. You can use a name, a filename or a template string as first parameter. Template rendering
bottlepy/bottle.py:4193
↓ 4 callersFunction_cli_error
(cli_msg)
bottlepy/bottle.py:4345
↓ 4 callersMethod_define
(Unstable) Shortcut for plugins to define own config parameters.
bottlepy/bottle.py:2531
↓ 4 callersMethod_iter_overlays
(self)
bottlepy/bottle.py:2540
↓ 4 callersMethod_mount_wsgi
(self, prefix, app, **options)
bottlepy/bottle.py:718
↓ 4 callersMethod_on_change
(self, key, value)
bottlepy/bottle.py:2510
↓ 4 callersMethodadd_header
Add an additional response header, not removing duplicates.
bottlepy/bottle.py:1756
↓ 4 callersMethodclose
Close the application and all installed plugins.
bottlepy/bottle.py:856
↓ 4 callersFunctionhtml_escape
Escape HTML special characters ``&<>`` and quotes ``'"``.
bottlepy/bottle.py:3073
↓ 4 callersMethodsearch
Search name in all directories specified in lookup. First without, then with common extensions. Return first hit.
bottlepy/bottle.py:3813
↓ 3 callersMethod__delitem__
(self, key)
bottlepy/bottle.py:2091
↓ 3 callersMethod__init__
(self, app, rule, method, callback, name=None, plugins=None,
bottlepy/bottle.py:517
↓ 3 callersMethod_ekey
Translate header field name to CGI/WSGI environ key.
bottlepy/bottle.py:2277
↓ 3 callersMethod_fix
(self, s, encoding=None)
bottlepy/bottle.py:2190
↓ 3 callersMethod_set_virtual
Recursively set or update virtual keys. Do nothing if non-virtual value is present.
bottlepy/bottle.py:2484
↓ 3 callersMethodadd_route
Add a route object, but do not change the :data:`Route.app` attribute.
bottlepy/bottle.py:877
↓ 3 callersMethodinstall
Add a plugin to the list of plugins and prepare it for being applied to all routes of this application. A plugin may be a simple
bottlepy/bottle.py:815
↓ 3 callersMethodload_dict
Load values from a dictionary structure. Nesting can be used to represent namespaces. >>> c = ConfigDict() >>> c
bottlepy/bottle.py:2414
↓ 3 callersMethodmeta_set
Set the meta field for a key to a new value.
bottlepy/bottle.py:2523
↓ 3 callersMethodprepare
Do all on-demand work immediately (useful for debugging).
bottlepy/bottle.py:552
↓ 3 callersMethodpush
Add a new :class:`Bottle` instance to the stack
bottlepy/bottle.py:2591
↓ 3 callersMethodrender
Render the template with the specified local variables and return a single byte or unicode string. If it is a byte string, the encoding
bottlepy/bottle.py:3848
↓ 3 callersFunctionrun
Start a server instance. This method blocks until the server terminates. :param app: WSGI application or target string supported by
bottlepy/bottle.py:3620
↓ 3 callersMethodtrigger_hook
Trigger a hook and return a list of results.
bottlepy/bottle.py:704
↓ 3 callersMethodvalues
(self)
bottlepy/bottle.py:2105
↓ 3 callersMethodwrite_code
(self, line, comment='')
bottlepy/bottle.py:4187
↓ 2 callersMethod__setitem__
(self, key, value)
bottlepy/bottle.py:2097
↓ 2 callersFunction_cli_parse
(args)
bottlepy/bottle.py:30
↓ 2 callersMethod_copy_file
(self, fp, chunk_size=2 ** 16)
bottlepy/bottle.py:2762
↓ 2 callersMethod_get_body_string
read body until content-length or MEMFILE_MAX into a string. Raise HTTPError(413) on requests that are to large.
bottlepy/bottle.py:1356
↓ 2 callersFunction_lscmp
Compares two strings in a cryptographically safe way: Runtime is not affected by length of common prefix.
bottlepy/bottle.py:3035
↓ 2 callersMethod_make_overlay
(Unstable) Create a new overlay that acts like a chained map: Values missing in the overlay are copied from the source map. Both maps
bottlepy/bottle.py:2546
↓ 2 callersFunction_parse_qsl
(qs)
bottlepy/bottle.py:3023
↓ 2 callersFunction_re_flatten
Turn all capturing groups in a regular expression pattern into non-capturing groups.
bottlepy/bottle.py:297
↓ 2 callersMethodbuild
Build an URL by filling the wildcards in a rule.
bottlepy/bottle.py:458
↓ 2 callersFunctiondecorator
(func)
bottlepy/bottle.py:3140
↓ 2 callersMethodexecute
(self, _stdout, kwargs)
bottlepy/bottle.py:3972
↓ 2 callersMethodflush_text
(self)
bottlepy/bottle.py:4161
↓ 2 callersMethodget_undecorated_callback
Return the callback. If the callback is a decorated function, try to recover the original function.
bottlepy/bottle.py:581
↓ 2 callersFunctiongetargspec
(func)
bottlepy/bottle.py:90
↓ 2 callersMethoditeritems
(self)
bottlepy/bottle.py:2133
↓ 2 callersMethodkeys
(self)
bottlepy/bottle.py:2100
↓ 2 callersMethodmatch
Return a (target, url_args) tuple or raise HTTPError(400/404/405).
bottlepy/bottle.py:471
↓ 2 callersFunctionparse_date
Parse rfc1123, rfc850 and asctime timestamps and return UTC epoch.
bottlepy/bottle.py:2948
↓ 2 callersMethodpath_shift
Shift path segments from :attr:`path` to :attr:`script_name` and vice versa. :param shift: The number of path segments to shi
bottlepy/bottle.py:1467
↓ 2 callersMethodreset
Forget any cached values. The next time :attr:`call` is accessed, all plugins are re-applied.
bottlepy/bottle.py:547
↓ 2 callersMethodreset
Reset all routes (force plugins to be re-applied) and clear all caches. If an ID or route object is given, only that specific route
bottlepy/bottle.py:842
↓ 2 callersFunctionupdate_wrapper
(wrapper, wrapped, *a, **ka)
bottlepy/bottle.py:179
↓ 2 callersFunctionview
Decorator: renders a template for a handler. The handler can control its behavior like that: - return a dict of template vars to f
bottlepy/bottle.py:4226
↓ 1 callersMethod__get__
(self, obj, cls)
bottlepy/bottle.py:219
↓ 1 callersMethod__setattr__
(self, name, value)
bottlepy/bottle.py:1140
↓ 1 callersMethod_add_change_listener
(self, func)
bottlepy/bottle.py:2515
↓ 1 callersMethod_cast
Try to convert the parameter into something WSGI compatible and set correct HTTP headers when possible. Support: False, str, unicode,
bottlepy/bottle.py:1028
↓ 1 callersFunction_cli_patch
(cli_args)
bottlepy/bottle.py:52
↓ 1 callersMethod_compile
(self, method)
bottlepy/bottle.py:446
↓ 1 callersMethod_delete_virtual
Recursively delete virtual entry. Do nothing if key is not virtual.
bottlepy/bottle.py:2497
↓ 1 callersFunction_file_iter_range
Yield chunks from a range in a file. No chunk is bigger than maxread.
bottlepy/bottle.py:2811
↓ 1 callersMethod_handle
(self, environ)
bottlepy/bottle.py:979
↓ 1 callersMethod_include
(self, _env, _name=None, **kwargs)
bottlepy/bottle.py:3965
↓ 1 callersMethod_itertokens
(self, rule)
bottlepy/bottle.py:353
↓ 1 callersFunction_main
(argv)
bottlepy/bottle.py:4342
↓ 1 callersMethod_make_callback
(self)
bottlepy/bottle.py:567
↓ 1 callersMethod_mount_app
(self, prefix, app, **options)
bottlepy/bottle.py:752
↓ 1 callersFunction_raise
(*a)
bottlepy/bottle.py:143
↓ 1 callersMethodadd_hook
Attach a callback to a hook. Three hooks are currently implemented: before_request Executed once before each request. Th
bottlepy/bottle.py:682
↓ 1 callersMethodall_plugins
Yield all Plugins affecting this route.
bottlepy/bottle.py:556
↓ 1 callersMethodcall
The route callback with all plugins applied. This property is created on demand and then cached to speed up subsequent requests.
bottlepy/bottle.py:542
↓ 1 callersFunctioncookie_is_encoded
Return True if the argument looks like a encoded cookie.
bottlepy/bottle.py:3066
↓ 1 callersMethodget_event_loop
(self)
bottlepy/bottle.py:3505
↓ 1 callersMethodget_header
Return the value of a header within the mulripart part.
bottlepy/bottle.py:2738
↓ 1 callersMethodgetunicode
Return the value as a unicode string, or the default.
bottlepy/bottle.py:2209
↓ 1 callersFunctionhttp_date
(value)
bottlepy/bottle.py:2938
↓ 1 callersMethodkeys
(self)
bottlepy/bottle.py:2310
↓ 1 callersMethodload
(self)
bottlepy/bottle.py:3442
↓ 1 callersFunctionload_app
Load a bottle application from a module and make sure that the import does not affect the current default application, but returns a separate
bottlepy/bottle.py:3602
↓ 1 callersMethodload_config
Load values from an ``*.ini`` style config file. A configuration file consists of sections, each led by a ``[section]`` head
bottlepy/bottle.py:2371
next →1–100 of 351, ranked by callers