Skip to main content

Official Python SDK for Kynasmith.

Project description

Kynasmith Python SDK

The official Python SDK for Kynasmith.

Install

pip install kynasmith

What it includes

  • machine-credential bootstrap and access-token helpers
  • detection session and realtime helpers
  • bundled MediaPipe Pose Landmarker support
  • local MP4 replay and local camera helpers

Quick start

from kynasmith import KynasmithClient
from kynasmith.models import DetectionSessionCreate

client = KynasmithClient(
    base_url="https://api.kynasmith.dev",
    project_id="proj_123",
    api_key_id="key_123",
    api_key_secret="secret_123",
)

session = client.detection.create_session(
    DetectionSessionCreate(
        project_id="proj_123",
        movespec_version_id="fsv_123",
        mode="replay",
    )
)

Runtime requirements

  • Python 3.12 or newer
  • the default install includes mediapipe and opencv-python-headless
  • the first detector run may download the default .task model into the local cache unless you provide model_path

Notes

  • machine-credential clients automatically remint short-lived access tokens when the cached token is near expiry
  • raw video stays local; the SDK sends pose frames, not uploaded MP4 bytes
  • see the public docs for auth, troubleshooting, and the end-to-end happy path: https://docs.kynasmith.dev/sdks/python

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

kynasmith-0.1.0.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

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

kynasmith-0.1.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file kynasmith-0.1.0.tar.gz.

File metadata

  • Download URL: kynasmith-0.1.0.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for kynasmith-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0afd71cce1225a60ad9311ed866ba09c4115907a8bd9171cd34f010c23070884
MD5 9e59813a63ab46330a8b01d2a292b68e
BLAKE2b-256 2b77df876ec23f8b917ea153d42fea4f4bd7639eb523f6c82590c710ccf09e6d

See more details on using hashes here.

File details

Details for the file kynasmith-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: kynasmith-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for kynasmith-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 db94bc999e662fc36913f7d5611f7202b432fd4e81737f686cf354932d772232
MD5 4eaa4949039028727ebdb952b5ee3324
BLAKE2b-256 f72f81102eae2d81443af86f50bf02fef32cbddbdafeb81779bed65fa0926afe

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