Skip to main content

Azure Batch Transcription API Python Client

Speech to Text API v3.0.

This Python package is automatically generated by the Swagger Codegen project:

  • API version: v3.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.PythonClientCodegen

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

pip install git+https://github.com//.git

(you may need to run pip with root permission: sudo pip install git+https://github.com//.git)

Then import the package:

import azure_transcription_client

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import azure_transcription_client

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import azure_transcription_client
from azure_transcription_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: apiKeyHeader
configuration = azure_transcription_client.Configuration()
configuration.api_key['Ocp-Apim-Subscription-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Ocp-Apim-Subscription-Key'] = 'Bearer'
# Configure API key authorization: apiKeyQuery
configuration = azure_transcription_client.Configuration()
configuration.api_key['subscription-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['subscription-key'] = 'Bearer'

# create an instance of the API class
api_instance = azure_transcription_client.DefaultApi(azure_transcription_client.ApiClient(configuration))
id = 'id_example' # str | Format - uuid. The identifier of the model that will be copied.
model_copy = azure_transcription_client.ModelCopy() # ModelCopy | The body contains the subscription key of the target subscription. (optional)

try:
    # Copy Model
    api_response = api_instance.copy_model_to_subscription(id, model_copy=model_copy)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->copy_model_to_subscription: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://cognitiveuseprod.cognitiveservices.azure.com/speechtotext/v3.0

Class Method HTTP request Description
DefaultApi copy_model_to_subscription POST /models/{id}/copyto Copy Model
DefaultApi create_dataset POST /datasets Create Dataset
DefaultApi create_endpoint POST /endpoints Create Endpoint
DefaultApi create_evaluation POST /evaluations Create Evaluation
DefaultApi create_hook POST /webhooks Create Web Hook
DefaultApi create_model POST /models Create Model
DefaultApi create_project POST /projects Create Project
DefaultApi create_transcription POST /transcriptions Create Transcription
DefaultApi delete_base_model_log DELETE /endpoints/base/{locale}/files/logs/{logId} Delete Base Model Endpoint Log
DefaultApi delete_base_model_logs DELETE /endpoints/base/{locale}/files/logs Delete All Base Model Endpoint Logs
DefaultApi delete_dataset DELETE /datasets/{id} Delete Dataset
DefaultApi delete_endpoint DELETE /endpoints/{id} Delete Endpoint
DefaultApi delete_endpoint_log DELETE /endpoints/{id}/files/logs/{logId} Delete Custom Model Endpoint Log
DefaultApi delete_endpoint_logs DELETE /endpoints/{id}/files/logs Delete All Custom Model Endpoint Logs
DefaultApi delete_evaluation DELETE /evaluations/{id} Delete Evaluation
DefaultApi delete_hook DELETE /webhooks/{id} Delete Web Hook
DefaultApi delete_model DELETE /models/{id} Delete Model
DefaultApi delete_project DELETE /projects/{id} Delete Project
DefaultApi delete_transcription DELETE /transcriptions/{id} Delete Transcription
DefaultApi get_base_model GET /models/base/{id} Get Base Model
DefaultApi get_base_model_log GET /endpoints/base/{locale}/files/logs/{logId} Get Base Model Endpoint Log
DefaultApi get_base_model_logs GET /endpoints/base/{locale}/files/logs Get Base Model Endpoint Logs
DefaultApi get_base_model_manifest GET /models/base/{id}/manifest Get Base Model Manifest
DefaultApi get_base_models GET /models/base Get Base Models
DefaultApi get_dataset GET /datasets/{id} Get Dataset
DefaultApi get_dataset_file GET /datasets/{id}/files/{fileId} Get Dataset File
DefaultApi get_dataset_files GET /datasets/{id}/files Get Dataset Files
DefaultApi get_datasets GET /datasets Get Datasets
DefaultApi get_datasets_for_project GET /projects/{id}/datasets Get Datasets for Project
DefaultApi get_endpoint GET /endpoints/{id} Get Endpoint
DefaultApi get_endpoint_log GET /endpoints/{id}/files/logs/{logId} Get Custom Model Endpoint Log
DefaultApi get_endpoint_logs GET /endpoints/{id}/files/logs Get Custom Model Endpoint Logs
DefaultApi get_endpoints GET /endpoints Get Endpoints
DefaultApi get_endpoints_for_project GET /projects/{id}/endpoints Get Endpoints for Project
DefaultApi get_evaluation GET /evaluations/{id} Get Evaluation
DefaultApi get_evaluation_file GET /evaluations/{id}/files/{fileId} Get Evaluation File
DefaultApi get_evaluation_files GET /evaluations/{id}/files Get Evaluation Files
DefaultApi get_evaluations GET /evaluations Get Evaluations
DefaultApi get_evaluations_for_project GET /projects/{id}/evaluations Get Evaluations for Project
DefaultApi get_health_status GET /healthstatus Get Health Status
DefaultApi get_hook GET /webhooks/{id} Get Web Hook
DefaultApi get_hooks GET /webhooks Get Web Hooks
DefaultApi get_model GET /models/{id} Get Model
DefaultApi get_model_manifest GET /models/{id}/manifest Get Custom Model Manifest
DefaultApi get_models GET /models Get Custom Models
DefaultApi get_models_for_project GET /projects/{id}/models Get Models for Project
DefaultApi get_project GET /projects/{id} Get Project
DefaultApi get_projects GET /projects Get Projects
DefaultApi get_supported_locales_for_datasets GET /datasets/locales Get Supported Locales for Datasets
DefaultApi get_supported_locales_for_endpoints GET /endpoints/locales Get Supported Locales for Endpoints
DefaultApi get_supported_locales_for_evaluations GET /evaluations/locales Get Supported Locales for Evaluations
DefaultApi get_supported_locales_for_models GET /models/locales Get Supported Locales for Models
DefaultApi get_supported_locales_for_transcriptions GET /transcriptions/locales Get Supported Locales for Transcriptions
DefaultApi get_supported_project_locales GET /projects/locales Get Supported Locales for Projects
DefaultApi get_transcription GET /transcriptions/{id} Get Transcription
DefaultApi get_transcription_file GET /transcriptions/{id}/files/{fileId} Get Transcription File
DefaultApi get_transcription_files GET /transcriptions/{id}/files Get Transcription Files
DefaultApi get_transcriptions GET /transcriptions Get Transcriptions
DefaultApi get_transcriptions_for_project GET /projects/{id}/transcriptions Get Transcriptions for Project
DefaultApi ping_hook POST /webhooks/{id}/ping Ping Web Hook
DefaultApi test_hook POST /webhooks/{id}/test Test Web Hook
DefaultApi update_dataset PATCH /datasets/{id} Update Dataset
DefaultApi update_endpoint PATCH /endpoints/{id} Update Endpoint
DefaultApi update_evaluation PATCH /evaluations/{id} Update Evaluation
DefaultApi update_hook PATCH /webhooks/{id} Update Web Hook
DefaultApi update_model PATCH /models/{id} Update Model
DefaultApi update_project PATCH /projects/{id} Update Project
DefaultApi update_transcription PATCH /transcriptions/{id} Update Transcription
DefaultApi upload_dataset_from_form POST /datasets/upload Create Dataset from Form

Documentation For Models

Documentation For Authorization

apiKeyHeader

  • Type: API key
  • API key parameter name: Ocp-Apim-Subscription-Key
  • Location: HTTP header

apiKeyQuery

  • Type: API key
  • API key parameter name: subscription-key
  • Location: URL query string

Author

Metadata

Release files for azure-transcription-client 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-transcription-client 0.1.0
File Size Uploaded Provenance Actions
azure_transcription_client-0.1.0.tar.gz 78.4 kB Without provenance Details for azure_transcription_client-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 227.9 kB

Release files / azure_transcription_client-0.1.0.tar.gz

Download URL azure_transcription_client-0.1.0.tar.gz
Size 78.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3c321a86218fa52037d924b0ae32f370cc5b94f695fd0db3633c4703b2653722
BLAKE2b-256 checksum
How to use checksums
6824a5dee519906babac6ecf9aa08b9b02515db13f36ecd93fc4df529c8317ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

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

Download URL azure_transcription_client-0.1.0-py3-none-any.whl
Size 149.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e9d16446f77384a2984fb09eb9d24bfaed26f61284194dcc0e16d2355210189
BLAKE2b-256 checksum
How to use checksums
292089017dca8dfee776f7ce7d663418b10be68b3fc1473a58125b79cfad7712
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

Security for azure-transcription-client 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