Package wtf
[hide private]
[frames] | no frames]

Package wtf

source code

WSGI Tackling Framework (WTF).


Author: André Malo

License: Apache License, Version 2.0

Submodules [hide private]

Classes [hide private]
  Error
Base exception for this package
  WtfWarning
Base warning for this package
Functions [hide private]
 
_extendquotes(envkey=None)
Extend _urllib.quote and _urllib.quote_plus
source code
 
_fixcp1252(envkey=None)
Fixup cp1252 codec in order to use it as a real superset of latin-1
source code
 
_register_defaults(envkey=None)
Register default
source code
module
c_override(modname)
Module factory
source code
Variables [hide private]
wtf.util.Version version = wtf.util.Version('0.8.25', is_dev=False, revision=4271)
Version of the package
  __package__ = 'wtf'
Function Details [hide private]

_extendquotes(envkey=None)

source code 
Extend _urllib.quote and _urllib.quote_plus
Parameters:
  • envkey (str) - The environment key to lookup. If this key is set and 1 the charset definition won't be fixed and this function is a no-op. If unset or None, no lookup is made.

_fixcp1252(envkey=None)

source code 
Fixup cp1252 codec in order to use it as a real superset of latin-1
Parameters:
  • envkey (str) - The environment key to lookup. If this key is set and 1 the charset definition won't be fixed and this function is a no-op. If unset or None, no lookup is made.

_register_defaults(envkey=None)

source code 
Register default
Parameters:
  • envkey (str) - The environment key to lookup. If this environment variable is set and 1 nothing will be registered and and this function is a no-op. If unset or None, no lookup is made.

c_override(modname)

source code 
Module factory
Parameters:
  • modname (str) - dotted module name relative to the wtf package
Returns: module
The imported module or None on import disabled or error