Skip to main content

conn_jack

Classes for managing jack client connections.

These differ from the JACK Client for Python (jack), in that it makes possible connecting and disconnecting ports which are not "owned" by a client created in your process.

There is also an (optionally installed) QtJackConnectionManager which emits signals when events of interest happen. In order to use the QtJackConnectionManager class, you must install with the "[Qt]" option, like so:

$ pip install conn_jack[Qt]

Using the plain (non-Qt) version

Import JackConnectionManager:

from conn_jack import JackConnectionManager

Create an instance using standard constructor syntax ...

self.conn_man = JackConnectionManager()

... or use it as a context manage:

with JackConnectionManager() as conn_man:

The non-Qt version uses callbacks to inform your program when events of interest happen. Register your functions as callbacks using the "on_" methods:

self.conn_man.on_client_registration(self.jack_client_reg)
self.conn_man.on_port_registration(self.jack_port_reg)
self.conn_man.on_shutdown(self.close)

Using the Qt version:

In order to use the Qt version, you must import "QtJackConnectionManager" from the conn_jack.qt module.

from conn_jack.qt import QtJackConnectionManager
self.conn_man = QtJackConnectionManager(client_name = "DescriptiveClientName")

The Qt version forsakes callbacks for the Qt signal/slot mechanism. To subscribe to signals which are generated on events of interest:

self.conn_man.sig_client_registration.connect(self.slot_client_registration)
self.conn_man.sig_port_registration.connect(self.slot_port_registration)
self.conn_man.sig_shutdown.connect(self.slot_shutdown)

Refer to the help text to determine the function arguments to use in the callbacks or slots.

Help

Refer to the help for conn_jack. From python:

>>> import conn_jack
>>> help(conn_jack)

>>> import conn_jack.qt
>>> help(conn_jack.qt)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

conn_jack-1.3.3.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

conn_jack-1.3.3-py2.py3-none-any.whl (17.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file conn_jack-1.3.3.tar.gz.

File metadata

  • Download URL: conn_jack-1.3.3.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for conn_jack-1.3.3.tar.gz
Algorithm Hash digest
SHA256 7e0beb6b0fbe0b3735aad4bf0ea780d8c193182b68414575f39d16affbdc1976
MD5 38b027e5ea12c6a8fbb20cd323ef630a
BLAKE2b-256 a7814d9b675aa1e497e16d04611b3731cbf32624f9b181cf60096dc7b16c0574

See more details on using hashes here.

File details

Details for the file conn_jack-1.3.3-py2.py3-none-any.whl.

File metadata

  • Download URL: conn_jack-1.3.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for conn_jack-1.3.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 99363e4a13d740b94d0c4a8635f9376716dd7db7600a0e3ef6929439dbb51fc5
MD5 e48d1878ff166b465ac5558312e46986
BLAKE2b-256 5ba76ee97ef125ea1845289e5e5dcbe00fbfd85122d3f51c4cc6a1c37bb9dfce

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.3.3 This release

2 files

1.3.2

2 files

1.3.1

2 files

1.3.0

2 files

1.2.1

2 files

1.2.0

2 files

1.1.1

2 files

1.1.0

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page