bitween package

Subpackages

Submodules

bitween.bitweenc module

bitween.bitweend module

bitween.bitweend.load_conf()[source]

load a configuration file searches a json file at /path/to/bitween/conf.json and, if not found, at ~/.bitween.json

Returns:conf dict
bitween.bitweend.main(args=None)[source]

main function to start bitweend

Parameters:args
Returns:
bitween.bitweend.start(api_host, api_port, conf)[source]

start the xmpp client (and everything else)

Parameters:
  • api_host – host ip to bint the api to
  • api_port – api port to bind the api to
  • conf – conf dict
Returns:

Module contents