quarchpy package

Subpackages

Submodules

quarchpy.connection module

class quarchpy.connection.PYConnection(ConString)

Bases: object

class quarchpy.connection.QISConnection(ConString, host, port)

Bases: object

class quarchpy.connection.QPSConnection(host, port)

Bases: object

quarchpy.run module

quarchpy.run.main(args)

Main function parses the arguments from the run command only

Module contents

class quarchpy.SyncWithRootFilter(name='')

Bases: Filter

A filter that dynamically checks the root logger’s level. This allows the quarchpy console handler to ‘point’ to the global python log level even if it changes mid-script.

filter(record)

Determine if the specified record is to be logged.

Returns True if the record should be logged, or False otherwise. If deemed appropriate, the record may be modified in-place.

quarchpy.configure_logging(console_level=None, file_level=None, file_path=None)

Reconfigure quarchpy logging safely.