A Python SDK for interacting with the Sporo API to generate summaries.
Project description
SporoSDK
SporoSDK is a Python SDK for interacting with the Sporo API to generate summaries from transcripts.
Installation
You can install SporOSDK via pip:
pip install sporosdk
Usage
from sporosdk import SporoClient
# Initialize the client with your API key
client = SporoClient(api_key='YOUR_API_KEY')
# Generate summary
transcript = "Your transcript text here."
summary = client.generate_summary(transcript)
print(summary)
Configuration
Alternatively, you can set the SPORO_API_KEY environment variable:
export SPORO_API_KEY='YOUR_API_KEY'
And initialize the client without passing the API key:
from sporosdk import SporoClient
client = SporoClient()
summary = client.generate_summary("Your transcript text here.")
Project details
Release history Release notifications | RSS feed
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 sporosdk-0.1.0.tar.gz.
File metadata
- Download URL: sporosdk-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88399cc74f5a4ead5737f6feddc84b3f03330596add4436576ca8ad60bf40721
|
|
| MD5 |
a8ed3064df24568bcb189690bff0a757
|
|
| BLAKE2b-256 |
424c35ebea0aa8f218238ef88503cc01524019c1d9d99e9d3721ecc9ea76f7c2
|
File details
Details for the file sporosdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sporosdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
deac9fcff49712903eecc5c11b74b98bd02b15bfdfe5eac079e75e14050f7c70
|
|
| MD5 |
d93ad55dcb0cac4655f8fb2560bc2594
|
|
| BLAKE2b-256 |
fd4cdee30be803be7eefcb7bfeb021107a3e6ae8cbe0837d772392e6da3b414a
|