PyBitmessage can be run in deamon mode by adding this line to your keys.dat file under [bitmessagesettings]:
daemon = true
In this mode, PyBitmessage doesn't require Qt. You will then need the API. If you do not yet have a keys.dat file because you have not yet run Bitmessage, run it. It will create the keys.dat file for you then exit if it cannot find PyQt.
The client can only be controlled via the API, so it is important to set the API values too in the keys.dat file.
Example Daemon for using Bitmessage via a console: Bitmessage Daemon (GitHub)