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.post1.tar.gz (72.6 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.post1-py3-none-any.whl (92.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quantnet_server-1.0.0.post1.tar.gz
  • Upload date:
  • Size: 72.6 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.post1.tar.gz
Algorithm Hash digest
SHA256 a90573ed2e96fcae4f05d88289595bde06d579d3595b649a6a6dacb41ed6586f
MD5 79d6720264035436d6ea4ac65cfd343f
BLAKE2b-256 7b6c2d9df7e366f440c7843a5b0f66f71fd28e7e3a149e3bc8f86dfc6ffe3d8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantnet_server-1.0.0.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8152dac13808ea0ae2d285b5f3ddbf0f25c219f8fc37034ad2289def267c8de
MD5 f27ae51c51d35dee39da97e406f61f5f
BLAKE2b-256 0a99606b2b889dc1a36d4da728abf10af0e59e843be8a68a437e3f51241ee45d

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