Skip to main content

azure-ai-helper

A simple, human-friendly wrapper over Azure AI Vision and Language services.

  • Clean API: one-line calls like ai.vision.analyze(path_or_url) and ai.language.summarize(text).
  • Human-readable outputs instead of raw JSON.
  • Friendly errors with quick hints.

Install

Choose extras for services you need:

pip install "azure-ai-helper[vision,language]"

Or base package only (no SDKs):

pip install azure-ai-helper

Quick Start

from azure_ai_helper import AzureAI

# IMPORTANT: Use your own Vision & Language endpoint/key
# Do NOT reuse credentials from other Azure services
ai = AzureAI(endpoint="https://<your-endpoint>", key="<your-key>")

print(ai.vision.analyze("my_image.jpg"))  # local file
print(ai.vision.analyze("https://example.com/photo.jpg"))  # URL

print(ai.language.summarize("Long text..."))
print(ai.language.sentiment("I love this!"))

Credentials

  • You must provide your own Azure Cognitive Services endpoint and key.
  • This library never ships with embedded credentials and will not read any demo defaults. You control the endpoint/key.
  • Use resource keys for the specific services included here (Vision and Text Analytics). Do not use keys from unrelated services.

Errors

  • All errors raise AzureAIError with a helpful hint. Common cases:
    • Missing SDK -> install the corresponding extra.
    • Invalid image URL -> provide a direct .jpg/.png or local path.
    • Summarization unsupported -> we fallback to key phrases; consider enabling the feature in your Azure resource.

Testing

Install dev tools and run tests:

pip install pytest
pytest -q

Roadmap

  • Speech service placeholders are present and will be implemented in a future release.

License

Select a license (e.g., MIT) and update this section.

Metadata

Release files for azure-ai-helper 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for azure-ai-helper 0.1.0
File Size Uploaded Provenance Actions
azure_ai_helper-0.1.0.tar.gz 6.3 kB Without provenance Details for azure_ai_helper-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for azure-ai-helper 0.1.0
File Interpreter ABI Platform Actions
azure_ai_helper-0.1.0-py3-none-any.whl Python 3 none any Details for azure_ai_helper-0.1.0-py3-none-any.whl

Total release size: 13.4 kB

Release files / azure_ai_helper-0.1.0.tar.gz

Download URL azure_ai_helper-0.1.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
efbcd495795e3d36adca8a60eb2572840c554074825a75891e64332e1cf50991
BLAKE2b-256 checksum
How to use checksums
c7133037bea3244bbd12a90832d4528b1409c3eca22a36a5f30d16678f686201
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Release files / azure_ai_helper-0.1.0-py3-none-any.whl

Download URL azure_ai_helper-0.1.0-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8d8ba697a100ca5bda1201869cdb2ca5208de8ae483880c1f4d00977080e0646
BLAKE2b-256 checksum
How to use checksums
dec49ad9a8f4b0dcbb5f74f48308cb1a6eb361dc5e45dbb6f39121334604e93b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Security for azure-ai-helper 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page