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 clientscripts/post_fern.sh— restorespy.typedmarkers after Fern overwritessrc/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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b56fa9c5795865d4433d99057075870eba09a460e22688b53b47fc985dd378f6
|
|
| MD5 |
716878459a10228ccc99a0308e748c7c
|
|
| BLAKE2b-256 |
c3ab2251c366ffe67cc54360fa33d365f2de553a3a9acebf15e066ea975c45c5
|
Provenance
The following attestation bundles were made for onepin-0.2.0.tar.gz:
Publisher:
publish.yml on podonos/onepin-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
onepin-0.2.0.tar.gz -
Subject digest:
b56fa9c5795865d4433d99057075870eba09a460e22688b53b47fc985dd378f6 - Sigstore transparency entry: 1650368313
- Sigstore integration time:
-
Permalink:
podonos/onepin-python@4b2769382852f63f5786244b8a7d69a93210bac0 -
Branch / Tag:
refs/tags/onepin-v0.2.0 - Owner: https://github.com/podonos
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4b2769382852f63f5786244b8a7d69a93210bac0 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17e90f0a8b3112e57fa7aae4dbd3608d2807e5d1c85b9564a7bff0534f4dd811
|
|
| MD5 |
2d5b7027f032e6966959ca27f22d17b2
|
|
| BLAKE2b-256 |
3bdaf4e364843e8796ac94746b0efedc4cd792ce7426851fc2fd602073717bbe
|
Provenance
The following attestation bundles were made for onepin-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on podonos/onepin-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
onepin-0.2.0-py3-none-any.whl -
Subject digest:
17e90f0a8b3112e57fa7aae4dbd3608d2807e5d1c85b9564a7bff0534f4dd811 - Sigstore transparency entry: 1650368356
- Sigstore integration time:
-
Permalink:
podonos/onepin-python@4b2769382852f63f5786244b8a7d69a93210bac0 -
Branch / Tag:
refs/tags/onepin-v0.2.0 - Owner: https://github.com/podonos
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4b2769382852f63f5786244b8a7d69a93210bac0 -
Trigger Event:
push
-
Statement type: