Metadata-Version: 2.4
Name: spiral-worker
Version: 0.0.3
License-File: LICENSE
License-File: LICENSE-libspiral
License-File: licenses/FFmpeg-LGPL-2.1.txt
Summary: Execute Spiral Tasks locally.
License-Expression: MIT AND LicenseRef-Spiral-libspiral
Requires-Python: >=3.11
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Documentation, https://docs.spiraldb.com
Project-URL: Homepage, https://spiraldb.com

# Spiral Worker

Install `spiral-cli[worker]` to execute Tasks on your machine through
`spiral worker run`. The Worker includes all built-in Task handlers and the
Spiral video runtime. It requires a Spiral Project and credentials; local
execution does not mean offline execution.

```sh
uv tool install 'spiral-cli[worker]'
spiral login
spiral worker run task.json --project demo
```

Video operations require separately installed FFmpeg 9 shared libraries
(`libavcodec`, `libavformat`, `libavutil` and `libswscale`). They are not bundled
or downloaded by this package. Make them available to the system dynamic loader;
for a custom installation, set `LD_LIBRARY_PATH` on Linux or
`DYLD_LIBRARY_PATH` on macOS to its library directory before starting the Worker.
Installing the `ffmpeg` executable alone does not guarantee compatible shared
libraries. Other Task handlers do not require FFmpeg.

The launcher is MIT licensed. Proprietary native code is covered by
`LICENSE-libspiral`; separately installed third-party libraries retain their own
licenses. The video runtime dynamically uses FFmpeg under LGPL-2.1-or-later;
its license notice is included even though its shared libraries are external.
This package does not include the GPL `spiral-h264`/x264 encoder.

