Skip to main content

juniper-canopy

PyPI Python 3.11+ License: MIT

A real-time dashboard to watch and steer Cascade-Correlation training as it happens.

juniper-canopy is a Dash + FastAPI dashboard that renders Juniper training dynamics live: it pulls metrics and network topology from juniper-cascor over REST and WebSocket and visualises loss, accuracy, and unit recruitment as the network grows. It draws dataset context from juniper-data and exposes a WebSocket control surface to pause, resume, and step a run from the browser. A demo mode runs the whole UI against simulated data with no backend.

Part of the Juniper platform. juniper-canopy is the real-time monitoring dashboard of Juniper — a multi-package ML research platform built around constructive (Cascade-Correlation) and recurrent neural networks. It reads from juniper-cascor and juniper-data over HTTP.

Install

pip install juniper-canopy

Run

Demo mode — no backend required, simulated training:

./demo                                 # then open http://localhost:8050

Service mode — against live juniper-cascor + juniper-data instances:

export JUNIPER_CANOPY_CASCOR_SERVICE_URL=http://<cascor-host>:8200
export JUNIPER_DATA_URL=http://<data-host>:8100
python src/main.py                     # dashboard on http://localhost:8050

API docs are served at /docs (Swagger) and /redoc.

Configuration

Settings load from the JUNIPER_CANOPY_ environment namespace (src/settings.py):

Variable Default Purpose
JUNIPER_CANOPY_CASCOR_SERVICE_URL — URL of the juniper-cascor service (required for service mode).
JUNIPER_DATA_URL http://localhost:8100 URL of the juniper-data service.
JUNIPER_CANOPY_DEMO_MODE false Set 1 to run the UI against simulated data (no backend).
JUNIPER_CANOPY_SERVER__HOST / JUNIPER_CANOPY_SERVER__PORT 127.0.0.1 / 8050 Bind address / port. A non-loopback host requires a perimeter attestation (JUNIPER_CANOPY_LOOPBACK_PUBLISH_ATTESTED or JUNIPER_CANOPY_AUTH_PROXY_ATTESTED); otherwise startup fail-closes (SEC-F22).
JUNIPER_DATA_API_KEY — API key for juniper-data when its auth is enabled.
JUNIPER_CANOPY_LOG_LEVEL INFO Logging verbosity.

Docker

docker build -t juniper-canopy:latest .
docker run --rm -p 8050:8050 juniper-canopy:latest                # demo mode (image default)

docker run --rm -p 8050:8050 \
  -e JUNIPER_CANOPY_DEMO_MODE=0 \
  -e JUNIPER_CANOPY_CASCOR_SERVICE_URL=http://host.docker.internal:8200 \
  -e JUNIPER_DATA_URL=http://host.docker.internal:8100 \
  juniper-canopy:latest                                           # service mode

For the orchestrated full stack, see juniper-deploy.

Status

Beta on PyPI. The current version is shown by the badge above; see CHANGELOG.md. Supports Python 3.11–3.14.

Documentation

License

MIT — see LICENSE.

Metadata

Release files for juniper-canopy 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for juniper-canopy 0.9.0
File Size Uploaded Provenance Actions
juniper_canopy-0.9.0.tar.gz 627.7 kB With provenance Details for juniper_canopy-0.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for juniper-canopy 0.9.0
File Interpreter ABI Platform Actions
juniper_canopy-0.9.0-py3-none-any.whl Python 3 none any Details for juniper_canopy-0.9.0-py3-none-any.whl

Total release size: 1.3 MB

Release files / juniper_canopy-0.9.0.tar.gz

Download URL juniper_canopy-0.9.0.tar.gz
Size 627.7 kB
Tags Source
SHA-256 checksum
How to use checksums
21ef7170ffacbc3d1f89a3f6641480f81be55332d9cacc33a53a14cb8efe0bc0
BLAKE2b-256 checksum
How to use checksums
19e5a69431d16a27b20e74115ae2308cda460fda5bfb526cd77efda26a9f4062
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Release files / juniper_canopy-0.9.0-py3-none-any.whl

Download URL juniper_canopy-0.9.0-py3-none-any.whl
Size 658.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5e0b659c681a588c2213a33222e48bcbfcd2419504c6200dca8ebe2327e3f3e1
BLAKE2b-256 checksum
How to use checksums
4a785e25e6b8c9e59b0a5b6e93a8e4eff464cd621003446fac2e4a0af639eb25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Security for juniper-canopy 0.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for juniper_canopy-0.9.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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