Skip to main content

afiz-speech-text

Read more about AssemblyAI here 👇
Docs

Install

pip install afiz-speech-text

How to use

This Library provides a AssemblyAI class using which you can submit audio files for transcribing and uderstanding it better.

from afiz_speech_text.assemblyai import AssemblyAI

First create the assembly_ai instance by providing the AssemblyAI API KEY, which you can get it for free from here

assembly_ai = AssemblyAI(api_key=YOUR_API_KEY)

Submit the audio url for transcription

res = assembly_ai.submit_url_for_transcription(audio_url="https://bit.ly/3yxKEIY")
res.get('id') # This id is used to extract the actual text from the audio files.
'rs3c8julbq-177d-4071-ab6f-d7c7a9bb6dbb'

Getting the Transcription Result

full_details = assembly_ai.get_transcription_results('rs3c8julbq-177d-4071-ab6f-d7c7a9bb6dbb')
print(full_details['text'])
You know, demons on TV like that. And and for people to expose themselves to being rejected on TV or, you know, humili humiliated by Fear Factor or, you know.

We can check out other details like sentiment analysis from full_details

Metadata

Release files for afiz-speech-text 0.0.3

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

Source distribution (sdist)

Source distribution for afiz-speech-text 0.0.3
File Size Uploaded Provenance Actions
afiz-speech-text-0.0.3.tar.gz 8.7 kB Without provenance Details for afiz-speech-text-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for afiz-speech-text 0.0.3
File Interpreter ABI Platform Actions
afiz_speech_text-0.0.3-py3-none-any.whl Python 3 none any Details for afiz_speech_text-0.0.3-py3-none-any.whl

Total release size: 17.0 kB

Release files / afiz-speech-text-0.0.3.tar.gz

Download URL afiz-speech-text-0.0.3.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
267b5139e5a47bdf2fb6b47324cb7dd968390ac37b2e268f1622a64cb345b635
BLAKE2b-256 checksum
How to use checksums
837abc7104fd210c5915c813a6b480e3c829606cd1288567c4680630fff83c7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release files / afiz_speech_text-0.0.3-py3-none-any.whl

Download URL afiz_speech_text-0.0.3-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f45ab4aed3c8e9029f5e4a4de641a32cf5584e676663e477269b4c100d1d4565
BLAKE2b-256 checksum
How to use checksums
bf537d85b18446b0f361c1cdbf204192685eca6ffb511de357712d215583a5cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Security for afiz-speech-text 0.0.3

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.

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