Skip to main content

No project description provided

Project description

Conversations

PyPI - Version PyPI - Python Version

Rich analysis of conversations.

Installation

pip install conversations

Usage

from conversations import report
from conversations.transcribe import whisper
from conversations.diarise import simple


audio_file = '/path/to/audio.mp4'

transcript = whisper.process(audio_file=audio_file, model_name="tiny.en")
diarisation = simple.process(audio_file=audio_file, num_speakers=2)
html_report = report.generate(transcript=transcript, audio_file=audio_file, diarisation=diarisation)

with open('conversation.html', 'w') as f:
    f.write(html_report.render())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

conversations-0.12.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

conversations-0.12.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file conversations-0.12.0.tar.gz.

File metadata

  • Download URL: conversations-0.12.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.2 readme-renderer/37.3 requests/2.28.1 requests-toolbelt/0.10.1 urllib3/1.26.13 tqdm/4.64.1 importlib-metadata/5.2.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.9

File hashes

Hashes for conversations-0.12.0.tar.gz
Algorithm Hash digest
SHA256 d7abc1e1440c1eac36d0fcf02559043fba9463f26460f19831466274ba9d6368
MD5 018b87d20f8a3f0cbb9290a0b855c1c7
BLAKE2b-256 4146cbca8af284c374972f3072cf4b29539d312376f7854762fcc68259abe490

See more details on using hashes here.

Provenance

File details

Details for the file conversations-0.12.0-py3-none-any.whl.

File metadata

  • Download URL: conversations-0.12.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.2 readme-renderer/37.3 requests/2.28.1 requests-toolbelt/0.10.1 urllib3/1.26.13 tqdm/4.64.1 importlib-metadata/5.2.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.9

File hashes

Hashes for conversations-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54d04f84ca319f7f56e6ed301d00c06f41c4b2811ce1b6c5b8f1f0472e71e17e
MD5 23346082340adcb131cc4c32ec98e68c
BLAKE2b-256 aaa3d08dc2bdd2c4a2b09578334c1384e1bd3b093d5793daa80c681c5e881c3e

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page