Skip to main content

OnePin Python SDK + CLI

Project description

onepin

Python SDK + CLI for OnePin — the AI-powered voice workflow platform.

Installation

pip install onepin

Quickstart

Full documentation: docs.onepin.ai

Authentication

Mint an API key at app.onepin.ai/settings/api-keys, then:

onepin login
# Paste your key when prompted — saved to ~/.onepin/credentials (mode 0600)

Common commands

onepin whoami                          # Show active auth source + workspace
onepin workflows list                  # List workflows
onepin workflows run <id> --watch      # Start a run and stream status
onepin voices list                     # Browse available voices
onepin templates list                  # Browse gallery templates
onepin templates run <id>              # Clone a template and start a run
onepin uploads create --file script.txt --category script

Global flags available on every command:

--api-key     Override stored credentials
--base-url    Override API base URL (useful for dev/staging)
--workspace   Target workspace UUID
--json        Emit machine-readable JSON instead of rich tables
--no-color    Disable ANSI coloring
-v/--verbose  Log HTTP requests/responses to stderr
--debug       Verbose + full tracebacks on failure

SDK usage

The SDK surface is generated by Fern from the OpenAPI spec. It will be available after the first Fern regen lands.

from onepin import __version__
print(__version__)

Repository structure

  • src/onepin/ — Fern-generated SDK (do not hand-edit; overwritten on each regen)
  • src/onepin/_cli/ — hand-rolled Typer CLI atop the generated client
  • scripts/post_fern.sh — restores py.typed markers after Fern overwrites src/onepin/

License

MIT — see LICENSE.

Status

Pre-launch. First published release: v0.1.0 (pending TestPyPI rehearsal + production publish).

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

onepin-0.2.0.tar.gz (119.6 kB view details)

Uploaded Source

Built Distribution

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

onepin-0.2.0-py3-none-any.whl (52.4 kB view details)

Uploaded Python 3

File details

Details for the file onepin-0.2.0.tar.gz.

File metadata

  • Download URL: onepin-0.2.0.tar.gz
  • Upload date:
  • Size: 119.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for onepin-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b56fa9c5795865d4433d99057075870eba09a460e22688b53b47fc985dd378f6
MD5 716878459a10228ccc99a0308e748c7c
BLAKE2b-256 c3ab2251c366ffe67cc54360fa33d365f2de553a3a9acebf15e066ea975c45c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for onepin-0.2.0.tar.gz:

Publisher: publish.yml on podonos/onepin-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file onepin-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: onepin-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 52.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for onepin-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17e90f0a8b3112e57fa7aae4dbd3608d2807e5d1c85b9564a7bff0534f4dd811
MD5 2d5b7027f032e6966959ca27f22d17b2
BLAKE2b-256 3bdaf4e364843e8796ac94746b0efedc4cd792ce7426851fc2fd602073717bbe

See more details on using hashes here.

Provenance

The following attestation bundles were made for onepin-0.2.0-py3-none-any.whl:

Publisher: publish.yml on podonos/onepin-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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