Skip to main content

A CLI to control NDI-capable PTZ cameras via a joystick.

Project description

ndi-ptz

This is a CLI to control an NDI-enabled PTZ camera with a joystick.

Currently, everything in here requires a custom cyndilib, see https://github.com/nocarryr/cyndilib/pull/25.

Installation

uv tool install ndi-ptz

# or
pip install ndi-ptz

Quick-Start

$ ndi-ptz list-sources
Looking for NDI sources in the next 5 seconds
TAIL_AIR_006666 (OBSBOT)

$ ndi-ptz list-joysticks
Looking for joysticks in the next 5 seconds
Nintendo Switch Pro Controller (0)

$ ndi-ptz control --source-name "TAIL_AIR_006666 (OBSBOT)" --joystick-instance 0

Supported Joysticks

Currently only the following joysticks are supported:

  • Nintendo Switch Pro Controller

Development

This project is managed with UV.

Build & Publish

# edit the project version in pyproject.toml
uv sync
git commit -m "Prepare 0.1.0" .
git tag '0.1.0'
rm -rf dist
uv build
uv publish
git push --tags
git push

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ndi_ptz-0.1.2.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

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

ndi_ptz-0.1.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file ndi_ptz-0.1.2.tar.gz.

File metadata

  • Download URL: ndi_ptz-0.1.2.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.15

File hashes

Hashes for ndi_ptz-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d272c7da9fb97d5ec32294beef58eae51b51edff01f3ba25bc4b1e85b2095889
MD5 962f86d9f4e64775039184c4925f8706
BLAKE2b-256 56f1201737a18130f9be00c568a820f8fe3136e7d7dc1937ac61ae6323a4dbcc

See more details on using hashes here.

File details

Details for the file ndi_ptz-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ndi_ptz-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.15

File hashes

Hashes for ndi_ptz-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f900225992db04cef16b7d5fb3396554ffc25b0451fa19a7d0d4448ebbc625d8
MD5 8e75fce07a617d084d97dfa38bf7672a
BLAKE2b-256 5420adb3126e8529f77674a31d50ef87a4814a6608d6845c8beebc8339bd885f

See more details on using hashes here.

Supported by

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