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.0.0.tar.gz (72.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.0.0-py3-none-any.whl (92.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for quantnet_server-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d3e6a52767e9433919acb57dc7c462387d046b7a5743b47684fee12774590792
MD5 0bc492c303a0b457e72968f0803c8b6d
BLAKE2b-256 c1d0dad3afe173dea80c3e344381ae3751c5ebdf26ce08130cdbd7069fa37dfa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantnet_server-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e96d5a32a1fa6a56cb8d88df33118a3e54cb99b54238675d42ab67c39e1c02c8
MD5 f29e6d5eab96098a346442efad43c9cf
BLAKE2b-256 e2237376ca27b8b1b115cf813c00509b6b136e6402270f33787f3e66ad031253

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