Skip to main content

The QN Server (Controller) for Quant-Net Control Plane

Project description

QUANT-NET Server (Controller)

PyPI Version Documentation Status

The software implements the QUANT-NET Control Plane (QNCP) Server/Controller. A centralized Controller instance coordinates with multiple distributed Agents that communicate using a shared Message Bus.

Development Install

After downloading the source tree, pull requirements and install package in edit mode:

pip3 install -e .

The quantnet_controller script will be available in your local path.

$ quantnet_controller --help
Usage: quantnet_controller [OPTIONS]

  Quantnet Controller

Options:
  --mq-broker-host TEXT     Specify the message queue broker host
  --mq-broker-port INTEGER  Specify the message queue broker port
  --mq-mongo-host TEXT      Specify a MongoDB host (if mongo configured)
  --mq-mongo-port INTEGER   Specify a MongoDB port (if mongo configured)
  --plugin-path TEXT        Specify a path containing controller plugins
  --schema-path TEXT        Specify a path containing additional schema files
  --help                    Show this message and exit.

Configuration File

The controller will start with default configurations if no configuration file is specified. A configuration file customizes the Controller behavior, and examples may be found in the config/ folder.

Example Usage

An MQTT broker should be available for the agent to connect to. Docker compose configurations are available in the quant-net/qn-docker repository.

Running the controller:

quantnet_controller --mq-broker-host <broker>

How to add a CI/CD tests

Please add the test python scripts to directory:

regression_tests/scripts

The directory will be auto-listed by the workflow to run. Example: regression_tests/scripts/ping.py is example to start

Project details


Download files

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

Source Distribution

quantnet_server-1.1.0.tar.gz (80.5 kB view details)

Uploaded Source

Built Distribution

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

quantnet_server-1.1.0-py3-none-any.whl (96.3 kB view details)

Uploaded Python 3

File details

Details for the file quantnet_server-1.1.0.tar.gz.

File metadata

  • Download URL: quantnet_server-1.1.0.tar.gz
  • Upload date:
  • Size: 80.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for quantnet_server-1.1.0.tar.gz
Algorithm Hash digest
SHA256 7a9aa36c014755b75261471c191218ffc41e2db6d89de2627870993733150d86
MD5 ecc7509a6e8f22e800d03597c9e6620e
BLAKE2b-256 6f1f185904fd8f92d51399c6f3f8fa1b1fefae21e726b5ce004efed5982bff6a

See more details on using hashes here.

File details

Details for the file quantnet_server-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for quantnet_server-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a6c40a54234209a7371c53ebb8163fc752ceaff72d696224287a7b358e9d394
MD5 3c4a21370495b0922df5731441a449da
BLAKE2b-256 056b2a79ac5c04a94c45c80930c868a0182679d037f5ed1bc772463a56244dd0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page