Skip to main content
Version: 0.7.x

Install and wheels

Experimental — breaking changes may land in any release

Pin your version and read the changelog before upgrading.

From PyPI​

pip install arkflow==<version>

The package ships a native wheel: no JVM, no cluster, no separate engine process. pyarrow is not a dependency — batches implement the Arrow PyCapsule interface directly.

Supported platforms and Python​

AspectSupport
Python3.9 – 3.13 (wheels are built against one interpreter version; use the matching one)
Linuxx86_64, manylinux wheels from CI
macOSBuild from source on Apple Silicon (CI macOS jobs are currently deferred; local maturin build produces the same artifact)
WindowsNot published; build from source

Check what pip resolved:

pip show arkflow

Feature availability on wheels​

Connector types are gated by cargo features. A wheel carries the feature set it was built with; referencing a missing type raises ConfigError naming the feature, e.g.:

Unknown input type: kafka (requires the 'connectors-kafka' feature)

Injected Python callables (run_yaml(..., python_processors=...)) always work — they do not need the connectors-python feature. A python processor entry in YAML without an injected callable does.

Build from source​

cd crates/arkflow-py
maturin develop # build + install into the active venv
pytest tests/ # run the SDK test suite

maturin develop links against the workspace engine, so the full local feature set is available in dev builds. Use maturin build --out dist to produce a wheel.

Version pinning​

Because the SDK is experimental, always pin:

  • requirements.txt: arkflow==0.6.0 (exact pin, no ~= or >=).
  • Read the changelog entry for every upgrade before re-pinning.

Verification​

import warnings
import arkflow

# An experimental warning on first import is expected.
print(arkflow.Pipeline().from_iter([{"v": 1}]).to_stdout().take(1))

Expected: one batch containing {"v": 1}. If the import fails, see Troubleshooting: Python SDK.