tethys_dask_scheduler
A Dask scheduler with custom SchedulerPlugins to support integration with Tethys Platform.
Installation
pip install tethys_dask_scheduler
OR
conda install -c conda-forge tethys_dask_scheduler
Start Scheduler
Start a scheduler that reports status updates to Tethys Portal.
$ dask-scheduler --preload tethys_dask_scheduler.plugin --tethys-host http://localhost:8000
distributed.preloading - INFO - Import preload module: tethys_dask_scheduler.plugin
distributed.scheduler - INFO - -----------------------------------------------
distributed.preloading - INFO - Import preload module: tethys_dask_scheduler.plugin
distributed.http.proxy - INFO - To route to workers diagnostics web server please install jupyter-server-proxy: python -m pip install jupyter-server-proxy
distributed.scheduler - INFO - -----------------------------------------------
distributed.scheduler - INFO - Clear task state
distributed.scheduler - INFO - Scheduler at: tcp://192.168.10.100:8786
distributed.scheduler - INFO - dashboard at: :8787
distributed.scheduler - INFO - Tethys Host at: http://localhost:8000
distributed.preloading - INFO - Run preload setup click command: tethys_dask_scheduler.plugin
distributed.scheduler - INFO - Register worker <WorkerState 'tcp://192.168.10.100:34297', name: tcp://192.168.10.100:34297, status: running, memory: 0, processing: 0>
distributed.scheduler - INFO - Starting worker compute stream, tcp://192.168.10.100:34297
distributed.core - INFO - Starting established connection
Start Worker
Start a Dask distributed worker as usual:
$ dask-worker tcp://192.168.10.100:8786
distributed.nanny - INFO - Start Nanny at: 'tcp://192.168.10.100:34359'
distributed.worker - INFO - Start worker at: tcp://192.168.10.100:39569
distributed.worker - INFO - Listening to: tcp://192.168.10.100:39569
distributed.worker - INFO - dashboard at: 192.168.10.100:34857
distributed.worker - INFO - Waiting to connect to: tcp://192.168.10.100:8786
distributed.worker - INFO - -------------------------------------------------
distributed.worker - INFO - Threads: 6
distributed.worker - INFO - Memory: 7.77 GiB
distributed.worker - INFO - Local Directory: /home/tethys/tethysdev/tethys_dask_scheduler/dask-worker-space/worker-4j_bj5hv
distributed.worker - INFO - -------------------------------------------------
distributed.worker - INFO - Registered to: tcp://192.168.10.100:8786
distributed.worker - INFO - -------------------------------------------------
distributed.core - INFO - Starting established connection
Tests
Tests are executed using tox:
pip install .[tests]
tox
Release files for tethys-dask-scheduler 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tethys_dask_scheduler-2.0.0.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tethys_dask_scheduler-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.3 kB
Release files / tethys_dask_scheduler-2.0.0.tar.gz
| Download URL | tethys_dask_scheduler-2.0.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7d5d7ae78a1c668ac8b9ca390dc4e211a864c1877554a994110517114284d12
|
|
BLAKE2b-256 checksum How to use checksums |
c092bf1e3d6d759d410a42587fd53d226c6c4360ea6bbb6fa9a24aab6122cf2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/0.0.0 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2
|
Release files / tethys_dask_scheduler-2.0.0-py3-none-any.whl
| Download URL | tethys_dask_scheduler-2.0.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75a8bd1e231b0c225672e534bc02295bf0f7c8fc2d79dbb7c2f6f0374abd08a2
|
|
BLAKE2b-256 checksum How to use checksums |
811bfcd2cd66c8874eeb2971f5a5f08ebb405cd7899f17f59061db4391d7da54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/0.0.0 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2
|