Installation¶
Install pyhulaX like a normal Python package.
Base Package¶
That gives you the core SDK:
DroneAPIpypack.corepypack.controlpypack.logging- packaged runtime layers in
pypack.config,pypack.fylo, andpypack.system
Optional Extras¶
Install only the optional layers you need:
pip install "pyhulaX[video]"
pip install "pyhulaX[vision]"
pip install "pyhulaX[web]"
pip install "pyhulaX[db]"
pip install "pyhulaX[all]"
What they add:
video: RTP/RTSP streaming, display, recording helpersvision: ONNX- and model-backed detection helpersweb: browser streaming helpersdb: PostgreSQL-backed flight loggingall: installs every optional extra
Local Development Install¶
From the repo:
Editable install with pip-compatible tooling:
Python Version¶
pyhulaX targets modern Python environments. This project exists partly
because the original pyhula release was effectively stuck on Python 3.6 and
Windows-only assumptions.
If you want a local Python 3.13 environment with uv and pyenv:
Verify the Install¶
Basic import check:
from droneapi import DroneAPI, DroneConfig, NetworkConfig
from pypack.core import Direction
config = DroneConfig(
network=NetworkConfig(drone_ip="192.168.100.1")
)
drone = DroneAPI(config=config, enable_command_logging=False)
print(drone.default_ip)
print(Direction.FORWARD)
If you installed video extras, you can also verify the streaming layer imports:
If you installed database extras: