Current collected state Current
Observed since 20 Oct, 17:11 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A Python3 client to connect and use Abax.AI Speech services
This is the speech client python package built by Abax.AI
It allows use to use speech to text services in both manners: offline and online
Online streaming will take audio stream in realtime, and return the transcripts on the fly
Offline transcribing will read your audio file, transcribe and return the transcripts in different formats.
import io
from abaxai_sdk import streaming
accessToken = 'YOUR_ACCESS_TOKEN'
def get_wav_data(wavfile):
for block in iter(lambda: wavfile.read(1280), b""):
yield generate_block(block)
def generate_block(block):
return block
def abaxai_streaming(stream_file):
"""Streams transcription of the given audio file."""
client = streaming.SpeechClient()
config = streaming.RecognitionConfig(
encoding=streaming.AudioEncoding.LINEAR16,
sample_rate_hertz=16000,
language_code="en-US",
model="basic_english",
)
streaming_config = streaming.StreamingRecognitionConfig(config, accessToken)
# In practice, stream should be a generator yielding chunks of audio data.
with io.open(stream_file, 'rb') as audiostream:
data = get_wav_data(audiostream)
requests = (
streaming.StreamingRecognizeRequest(audio_content=chunk) for chunk in data
)
responses = client.streaming_recognize(
config=streaming_config,
requests=requests,
)
print("\n\nFinal transcripts: \n")
for response in responses:
print(response)
audio_file = "your_audio_file.wav"
print("Streaming the audio file")
abaxai_streaming(audio_file)
from abaxai_sdk import transcribing
accessToken = 'YOUR_ACCESS_TOKEN'
def abaxai_transcribe(audio_filepath):
"""Streams transcription of the given audio file."""
client = transcribing.SpeechClient()
config = transcribing.RecognitionConfig(
encoding=transcribing.AudioEncoding.LINEAR16,
sample_rate_hertz=16000,
language_code="en-US",
model="wenet-english",
)
transcribing_config = transcribing.TranscribeConfig(config, accessToken)
client.recognize(config=transcribing_config,
audiofilepath=audio_filepath,)
# speechid = "<your_speech_id>"
# client.get_transcription(speechid, accessToken)
print("Done.")
audio_file = "your_audio_file.wav"
print("Transcribe the audio file")
abaxai_transcribe(audio_file)
Homepage: https://abax.ai/
pypistats · 64 observations shown. Missing days are unknown. Source category: overall: without mirrors.
| Date / source period | Value | Observed at |
|---|---|---|
| 2026-10-19 – 2026-10-19 | 2 | 2026-10-20T17:41:17.7216754Z |
| 2026-10-18 – 2026-10-18 | 4 | 2026-10-20T17:41:17.7216754Z |
| 2026-10-17 – 2026-10-17 | 7 | 2026-10-20T17:41:17.7216754Z |
| 2026-10-15 – 2026-10-15 | 6 | 2026-10-20T17:41:17.7216754Z |
| 2026-10-13 – 2026-10-13 | 1 | 2026-10-20T17:41:17.7216754Z |
| 2026-10-12 – 2026-10-12 | 5 | 2026-10-20T17:41:17.7216754Z |
| 2026-10-11 – 2026-10-11 | 8 | 2026-10-20T17:41:17.7216754Z |
| 2026-10-10 – 2026-10-10 | 9 | 2026-10-20T17:41:17.7216754Z |
| 2026-10-09 – 2026-10-09 | 7 | 2026-10-20T17:41:17.7216754Z |
| 2026-10-08 – 2026-10-08 | 5 | 2026-10-20T17:41:17.7216754Z |
| 2026-10-07 – 2026-10-07 | 2 | 2026-10-20T17:41:17.7216754Z |
| 2026-10-06 – 2026-10-06 | 2 | 2026-10-20T17:41:17.7216754Z |
| 2026-10-03 – 2026-10-03 | 1 | 2026-10-20T17:41:17.7216754Z |
| 2026-10-02 – 2026-10-02 | 2 | 2026-10-20T17:41:17.7216754Z |
| 2026-10-01 – 2026-10-01 | 3 | 2026-10-20T17:41:17.7216754Z |
| 2026-09-30 – 2026-09-30 | 8 | 2026-10-20T17:41:17.7216754Z |
| 2026-09-29 – 2026-09-29 | 3 | 2026-10-20T17:41:17.7216754Z |
| 2026-09-28 – 2026-09-28 | 2 | 2026-10-20T17:41:17.7216754Z |
| 2026-09-27 – 2026-09-27 | 3 | 2026-10-20T17:41:17.7216754Z |
| 2026-09-26 – 2026-09-26 | 1 | 2026-10-20T17:41:17.7216754Z |
| 2026-09-25 – 2026-09-25 | 1 | 2026-10-20T17:41:17.7216754Z |
| 2026-09-24 – 2026-09-24 | 2 | 2026-10-20T17:41:17.7216754Z |
| 2026-09-23 – 2026-09-23 | 3 | 2026-10-20T17:41:17.7216754Z |
| 2026-09-22 – 2026-09-22 | 3 | 2026-10-20T17:41:17.7216754Z |
| 2026-09-20 – 2026-09-20 | 2 | 2026-10-20T17:41:17.7216754Z |
| 2026-09-17 – 2026-09-17 | 1 | 2026-10-20T17:41:17.7216754Z |
| 2026-09-14 – 2026-09-14 | 1 | 2026-10-20T17:41:17.7216754Z |
| 2026-09-13 – 2026-09-13 | 1 | 2026-10-20T17:41:17.7216754Z |
| 2026-09-12 – 2026-09-12 | 1 | 2026-10-20T17:41:17.7216754Z |
| 2026-09-10 – 2026-09-10 | 1 | 2026-10-20T17:41:17.7216754Z |
| 2026-09-09 – 2026-09-09 | 2 | 2026-10-20T17:41:17.7216754Z |
| 2026-09-07 – 2026-09-07 | 1 | 2026-10-20T17:41:17.7216754Z |
| 2026-09-06 – 2026-09-06 | 4 | 2026-10-20T17:41:17.7216754Z |
| 2026-09-03 – 2026-09-03 | 2 | 2026-10-20T17:41:17.7216754Z |
| 2026-09-01 – 2026-09-01 | 1 | 2026-10-20T17:41:17.7216754Z |
| 2026-08-31 – 2026-08-31 | 2 | 2026-10-20T17:41:17.7216754Z |
| 2026-08-30 – 2026-08-30 | 1 | 2026-10-20T17:41:17.7216754Z |
| 2026-08-28 – 2026-08-28 | 1 | 2026-10-20T17:41:17.7216754Z |
| 2026-08-27 – 2026-08-27 | 1 | 2026-10-20T17:41:17.7216754Z |
| 2026-08-25 – 2026-08-25 | 3 | 2026-10-20T17:41:17.7216754Z |
| 2026-08-24 – 2026-08-24 | 12 | 2026-10-20T17:41:17.7216754Z |
| 2026-08-23 – 2026-08-23 | 4 | 2026-10-20T17:41:17.7216754Z |
| 2026-08-21 – 2026-08-21 | 2 | 2026-10-20T17:41:17.7216754Z |
| 2026-08-20 – 2026-08-20 | 1 | 2026-10-20T17:41:17.7216754Z |
| 2026-08-19 – 2026-08-19 | 2 | 2026-10-20T17:41:17.7216754Z |
| 2026-08-18 – 2026-08-18 | 36 | 2026-10-20T17:41:17.7216754Z |
| 2026-08-17 – 2026-08-17 | 6 | 2026-10-20T17:41:17.7216754Z |
| 2026-08-14 – 2026-08-14 | 4 | 2026-10-20T17:41:17.7216754Z |
| 2026-08-13 – 2026-08-13 | 2 | 2026-10-20T17:41:17.7216754Z |
| 2026-08-09 – 2026-08-09 | 2 | 2026-10-20T17:41:17.7216754Z |
| 2026-08-08 – 2026-08-08 | 1 | 2026-10-20T17:41:17.7216754Z |
| 2026-08-06 – 2026-08-06 | 1 | 2026-10-20T17:41:17.7216754Z |
| 2026-08-04 – 2026-08-04 | 6 | 2026-10-20T17:41:17.7216754Z |
| 2026-08-03 – 2026-08-03 | 12 | 2026-10-20T17:41:17.7216754Z |
| 2026-08-02 – 2026-08-02 | 1 | 2026-10-20T17:41:17.7216754Z |
| 2026-08-01 – 2026-08-01 | 1 | 2026-10-20T17:41:17.7216754Z |
| 2026-07-29 – 2026-07-29 | 14 | 2026-10-20T17:41:17.7216754Z |
| 2026-07-28 – 2026-07-28 | 1 | 2026-10-20T17:41:17.7216754Z |
| 2026-07-27 – 2026-07-27 | 2 | 2026-10-20T17:41:17.7216754Z |
| 2026-07-26 – 2026-07-26 | 1 | 2026-10-20T17:41:17.7216754Z |
| 2026-07-25 – 2026-07-25 | 2 | 2026-10-20T17:41:17.7216754Z |
| 2026-07-24 – 2026-07-24 | 3 | 2026-10-20T17:41:17.7216754Z |
| 2026-07-23 – 2026-07-23 | 4 | 2026-10-20T17:41:17.7216754Z |
| 2026-07-22 – 2026-07-22 | 1 | 2026-10-20T17:41:17.7216754Z |
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.2 | 21 Jun 2023 | 0 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 17:11 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:1c700299882652ec34cbd6aebf3a957a0725af0431c986bf81ebd2e8d9ac77d3