A modular Python SDK for document, image, and audio AI actions powered by OpenAI.
Project description
MySDK
mysdk is a modular Python SDK that wraps OpenAI behind practical AI actions for documents, images, and audio.
Install
pip install .
For development:
pip install -e .[dev]
Environment
$env:OPENAI_API_KEY="your_api_key"
Advanced Quick Start
from mysdk import AIActions
sdk = AIActions()
print(sdk.documents.summarize_short("Long document text"))
print(sdk.documents.extract_keywords_detailed("Python SDKs simplify AI integration."))
print(sdk.documents.answer_question(
context="Paris is the capital of France.",
question="What is the capital of France?",
))
print(sdk.images.describe("sample.png"))
print(sdk.audio.transcribe("meeting.wav"))
Modules
sdk.documents: text generation, summarization, keywords, sentiment, question answeringsdk.images: image description, image question answeringsdk.audio: audio transcription and transcript summarization
Notes
- Internally, the SDK uses the official OpenAI Python library.
- The advanced stage preserves top-level compatibility methods like
generate_text()andsummarize(). - Unit tests mock OpenAI, so
pytestdoes not require a live API key.
Verify Installation
python -c "from mysdk import AIActions; print(AIActions)"
Run Tests
pytest
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
mysdk_vijay-0.3.0.tar.gz
(9.3 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 mysdk_vijay-0.3.0.tar.gz.
File metadata
- Download URL: mysdk_vijay-0.3.0.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ebbcf5ed3b0c5abb0e1f523bc4350b02c3b8977bd17b27208c5443d3f534f4f
|
|
| MD5 |
7e009d8b7ec6f21c408d81f746761a4a
|
|
| BLAKE2b-256 |
d491d026d7a9284654c80474f31e5626732d17e1d9034665b285c88336a942da
|
File details
Details for the file mysdk_vijay-0.3.0-py3-none-any.whl.
File metadata
- Download URL: mysdk_vijay-0.3.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
221825e3aa9e09c575d88535403f20c7b27d81722001db9dead8f23324c4dd75
|
|
| MD5 |
deed9075c108b995cbb2c8a5906b8b5e
|
|
| BLAKE2b-256 |
c9b1760aa467f67257b14ad6df1a7257b5f7b3cf62d917f548dc2a0b502fef35
|