User docs
wlc
WeblateException
Weblate
wlc.config
WeblateConfig
wlc.main
Command
Administrator docs
Application developer guide
Contributor docs
Change history
Python API是单独发布的,你需要安装 Weblate 客户端: (wlc) 以使用。
pip install wlc
所有异常的基类。
key (str) – User key
url (str) – API server URL, if not specified default is used
config (wlc.config.WeblateConfig) – Configuration object, overrides any other parameters.
Access class to the API, define API key and optionally API URL.
path (str) – Request path
object
Performs a single API GET call.
section (str) – Configuration section to use
Configuration file parser following XDG specification.
path (str) – Path from which to load configuration.
Loads configuration from a file, if none is specified, it loads from the wlc configuration file (~/.config/wlc) placed in your XDG configuration path (/etc/xdg/wlc).
~/.config/wlc
/etc/xdg/wlc
settings (list) – Settings to override as list of tuples
stdout (object) – stdout file object for printing output, uses sys.stdout as default
sys.stdout
args (list) – Command-line arguments to process, uses sys.args as default
sys.args
Main entry point for command-line interface.
Decorator to register Command class in main parser used by main().
main()
Main class for invoking commands.