juniper-cascor-worker
Distributed candidate-training worker for the Juniper Cascade-Correlation platform.
juniper-cascor-worker connects outbound to a running juniper-cascor instance, receives
candidate-unit training tasks, trains them, and returns the trained candidates for selection into the
growing network. Run several workers to parallelise candidate-pool training across hosts.
Part of the Juniper platform. juniper-cascor-worker is the distributed candidate-training worker for juniper-cascor in Juniper — a multi-package ML research platform built around constructive (Cascade-Correlation) and recurrent neural networks. It is managed by cascor over a wire protocol, with no code-import dependency between the two.
Install
pip install juniper-cascor-worker
Run
The default WebSocket mode connects to a juniper-cascor instance:
juniper-cascor-worker \
--server-url ws://<cascor-host>:8200/ws/v1/workers \
--auth-token <worker-token>
…or via the canonical environment variables:
export JUNIPER_CASCOR_WORKER_SERVER_URL=ws://<cascor-host>:8200/ws/v1/workers
export JUNIPER_CASCOR_WORKER_AUTH_TOKEN=<worker-token>
juniper-cascor-worker
Legacy --legacy mode (a multiprocessing.managers worker) is deprecated and kept only for
transitional deployments.
Configuration
Key environment variables (WebSocket mode); the full surface and the deprecated CASCOR_* legacy
aliases (pre-CFG-06) are documented in AGENTS.md:
| Variable | Required | Default | Notes |
|---|---|---|---|
JUNIPER_CASCOR_WORKER_SERVER_URL |
Yes | — | Worker endpoint URL (ws:// or wss://) |
JUNIPER_CASCOR_WORKER_AUTH_TOKEN |
No | empty | Token sent as the X-API-Key header |
JUNIPER_CASCOR_WORKER_HEARTBEAT_INTERVAL |
No | 10.0 |
Seconds between heartbeats |
JUNIPER_CASCOR_WORKER_TASK_TIMEOUT |
No | 3600.0 |
Max seconds for a single training task |
JUNIPER_CASCOR_WORKER_TLS_CERT / _TLS_KEY / _TLS_CA |
No | unset | mTLS client cert / key / CA bundle |
Docker
docker build -t juniper-cascor-worker:latest .
docker run --rm \
-e JUNIPER_CASCOR_WORKER_SERVER_URL=ws://<cascor-host>:8200/ws/v1/workers \
-e JUNIPER_CASCOR_WORKER_AUTH_TOKEN=<worker-token> \
juniper-cascor-worker:latest
The Dockerfile defaults to WebSocket mode against ws://juniper-cascor:8200/ws/v1/workers. For the
full stack, see juniper-deploy.
Status
Live on PyPI. The current version is shown by the badge above; see CHANGELOG.md.
License
MIT — see LICENSE.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file juniper_cascor_worker-0.5.0.tar.gz.
File metadata
- Download URL: juniper_cascor_worker-0.5.0.tar.gz
- Upload date:
- Size: 79.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53f6ab95edd402284a0afd7a17e9ce523187bf3dad2ea9117c2ad366210dfcdd
|
|
| MD5 |
e910288179ab03f455cc248cdc4a192f
|
|
| BLAKE2b-256 |
0ad2e5d498f78acc39a4adcf39c6f713b9045ddc202a65d9357bb77fed389568
|
Provenance
The following attestation bundles were made for juniper_cascor_worker-0.5.0.tar.gz:
Publisher:
publish.yml on pcalnon/juniper-cascor-worker
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
juniper_cascor_worker-0.5.0.tar.gz -
Subject digest:
53f6ab95edd402284a0afd7a17e9ce523187bf3dad2ea9117c2ad366210dfcdd - Sigstore transparency entry: 2229228950
- Sigstore integration time:
-
Permalink:
pcalnon/juniper-cascor-worker@a4e053dd7fcc1a76dd14e41712a51f0a69dd1ff0 -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/pcalnon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a4e053dd7fcc1a76dd14e41712a51f0a69dd1ff0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file juniper_cascor_worker-0.5.0-py3-none-any.whl.
File metadata
- Download URL: juniper_cascor_worker-0.5.0-py3-none-any.whl
- Upload date:
- Size: 38.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01a76017c6cbb76f9bb0f656cc332c1df293c6e68fcd47ed8c46910481d40368
|
|
| MD5 |
7a75e0dbd223e065cc8f914b822dff8f
|
|
| BLAKE2b-256 |
0777519d7f4f477e5b3239bf5b5c4dbe18d75a7d6a39ad7e3c3342e09dede64e
|
Provenance
The following attestation bundles were made for juniper_cascor_worker-0.5.0-py3-none-any.whl:
Publisher:
publish.yml on pcalnon/juniper-cascor-worker
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
juniper_cascor_worker-0.5.0-py3-none-any.whl -
Subject digest:
01a76017c6cbb76f9bb0f656cc332c1df293c6e68fcd47ed8c46910481d40368 - Sigstore transparency entry: 2229229545
- Sigstore integration time:
-
Permalink:
pcalnon/juniper-cascor-worker@a4e053dd7fcc1a76dd14e41712a51f0a69dd1ff0 -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/pcalnon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a4e053dd7fcc1a76dd14e41712a51f0a69dd1ff0 -
Trigger Event:
release
-
Statement type: