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

Package emma

source code

emma: bot for digital assembly

The code is organice on three layers:

  1. core controls event passing, config file, threads, mutex, storage, ...
  2. interface connect emma to the world (email, irc, wiki, microblog, ...)
  3. module where the actual functionality happens. Easy to program, with simple API of events to intercomunicate with the interfaces.

Copyright: (c) 2011 hackmeeting http://sindominio.net/hackmeeting

Author: Ruben Pollan

Organization: hackmeeting http://sindominio.net/hackmeeting

Contact: meskio@sindominio.net

License: This program is free software; you can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See http://sam.zoy.org/projects/COPYING.WTFPL for more details.

Submodules [hide private]

Functions [hide private]
 
main(conf_paths=confPaths)
Main function of the program
source code
 
_init_i18n(conf, localedir) source code
 
_init_log(conf) source code
 
_load_complements(conf) source code
 
_init_complement(tpe, name, identifier, options) source code
 
_restore_sched(db) source code
Variables [hide private]
  __version__ = 0.2
Version of emma
  confPaths = '/usr/local/etc/emma.cfg', '/etc/emma.cfg', os.pat...
Configuration file is searched in those locations.
Function Details [hide private]

main(conf_paths=confPaths)

source code 

Main function of the program

It loads all the interfaces and modules described on the config files.


Variables Details [hide private]

confPaths

Configuration file is searched in those locations. The latter files have precedence when a configuration option is set in multiple files.

Value:
'/usr/local/etc/emma.cfg', '/etc/emma.cfg', os.path.expanduser('~/.emm\
a.cfg'), 'emma.cfg',