Skip to main content

juniper-cascor-worker

PyPI Python 3.12+ License: MIT

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

juniper_cascor_worker-0.5.0.tar.gz (79.3 kB view details)

Uploaded Source

Built Distribution

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

juniper_cascor_worker-0.5.0-py3-none-any.whl (38.1 kB view details)

Uploaded Python 3

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

Hashes for juniper_cascor_worker-0.5.0.tar.gz
Algorithm Hash digest
SHA256 53f6ab95edd402284a0afd7a17e9ce523187bf3dad2ea9117c2ad366210dfcdd
MD5 e910288179ab03f455cc248cdc4a192f
BLAKE2b-256 0ad2e5d498f78acc39a4adcf39c6f713b9045ddc202a65d9357bb77fed389568

See more details on using hashes here.

Provenance

The following attestation bundles were made for juniper_cascor_worker-0.5.0.tar.gz:

Publisher: publish.yml on pcalnon/juniper-cascor-worker

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file juniper_cascor_worker-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for juniper_cascor_worker-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 01a76017c6cbb76f9bb0f656cc332c1df293c6e68fcd47ed8c46910481d40368
MD5 7a75e0dbd223e065cc8f914b822dff8f
BLAKE2b-256 0777519d7f4f477e5b3239bf5b5c4dbe18d75a7d6a39ad7e3c3342e09dede64e

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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