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

Package command_system

source code

The command system providing scalable, clean and convenient architecture in combination with declarative way of defining commands and a fair amount of automatization for routine processes.
Submodules [hide private]
  • command_system.dispatcher: Backbone of the command system. Provides smart and controllable dispatching mechanism with an auto-discovery functionality. In addition to automatic discovery and dispatching, also features manual control over the process.
  • command_system.errors
  • command_system.framework: Provides a tiny framework with simple, yet powerful and extensible architecture to implement commands in a streight and flexible, declarative way.
  • command_system.implementation: The implementation and auxilary systems which implement the standard Gajim commands and also provide an infrastructure for adding custom commands.
    • command_system.implementation.custom: This module contains examples of how to create your own commands, by creating a new command container, bounded to a specific command host, and definding a set of commands inside of it.
    • command_system.implementation.execute: Provides facilities to safely execute expressions inside a shell process and capture the resulting output, in an asynchronous fashion, avoiding deadlocks. If the process execution time reaches the threshold - it is forced to terminate. Consists of a tiny framework and a couple of commands as a frontend.
    • command_system.implementation.hosts: The module defines a set of command hosts, which are bound to a different command processors, which are the source of commands.
    • command_system.implementation.middleware: Provides a glue to tie command system framework and the actual code where it would be dropped in. Defines a little bit of scaffolding to support interaction between the two and a few utility methods so you don't need to dig up the code itself to write basic commands.
    • command_system.implementation.standard: Provides an actual implementation for the standard commands.
  • command_system.mapping: The module contains routines to parse command arguments and map them to the command handler's positonal and keyword arguments.
  • command_system.tools

Variables [hide private]
  __package__ = None
hash(x)
Variables Details [hide private]

__package__

hash(x)
Value:
None