pybitmessage.singleinstance module

This is based upon the singleton class from tendo which is under the Python Software Foundation License version 2

class singleinstance(flavor_id='', daemon=False)[source]

Bases: object

Implements a single instance application by creating a lock file at appdata.

lock()

Obtain single instance lock

cleanup()

Release single instance lock