Halsted SDK for surgical video analysis
Project description
Halsted SDK
A Python SDK for processing surgical videos using the Halsted Health API.
Installation
pip install halsted-sdk
Or using Poetry:
poetry add halsted-sdk
Quick Start
from halsted_sdk import HalstedClient
# Initialize the client
client = HalstedClient(
username='your_username',
halsted_api_key='your_api_key'
)
# Process a video
df = client.process_video('/path/to/video.mp4')
# Work with the results DataFrame
print(df.head())
Features
- Upload surgical videos to S3
- Process videos through SageMaker endpoints
- Retrieve and manage inference results
- Simple, Pythonic API
API Reference
HalstedClient
The main client class for interacting with the Halsted SDK.
Methods
process_video(filepath: str) -> pd.DataFrame: Process a surgical video and return results as a DataFrame
Requirements
- Python >= 3.12, < 3.15
- pandas >= 2.3.3
- tqdm >= 4.67.1
License
See LICENSE.md
Support
For any questions, please contact Dani Kiyasseh
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
halsted_sdk-0.1.0.tar.gz
(10.4 kB
view details)
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 halsted_sdk-0.1.0.tar.gz.
File metadata
- Download URL: halsted_sdk-0.1.0.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.12.12 Linux/5.15.0-139-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
571322a839957d609d760e8c918767cec61750ad68fe060f65bcd44348db5816
|
|
| MD5 |
091d31cce1a31577da1110a8161a91ba
|
|
| BLAKE2b-256 |
b23342b9ff769db87b9299e8f3fe42d50328cd136e4649ad8f41176caa6d3a37
|
File details
Details for the file halsted_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: halsted_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.12.12 Linux/5.15.0-139-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
171ac6eeea54620ca0f0954ff4374068f9b12bb96f8e43a3b2f5b1bac4a550f3
|
|
| MD5 |
2ac060e8cad5d789814a3489d1da388e
|
|
| BLAKE2b-256 |
8198fa8f3e460e8df86ea2254983170d05b43180237d91efcc2fb843a85c37fe
|