Skip to main content

DeepZeka Clear Voice Python SDK

Clear Voice REST API için Python istemcisi. Ses dosyalarını yükler, asenkron işleri takip eder ve temizlenmiş sonucu indirir.

  • PyPI paketi: deepzeka-clearvoice
  • Python modülü: clearvoice
  • Python 3.9 ve üzeri sürümlerle uyumludur.

Kurulum

pip install deepzeka-clearvoice

Hızlı başlangıç

from clearvoice import ClearVoice

client = ClearVoice("cv_live_your_api_key_here")

job = client.create_job(
    "kayit.wav",
    model="V3",
    enhance_speech=True,
    normalize_volume=True,
)
print(job.id, job.status)

completed_job = client.wait_for_job(job.id)
output = client.download_result(completed_job.id, "temiz-kayit.mp3")
print(output)

Tüm akış tek çağrıyla da çalıştırılabilir:

from clearvoice import ClearVoice, Model

with ClearVoice("cv_live_your_api_key_here") as client:
    output = client.process(
        "kayit.wav",
        "temiz-kayit.wav",
        model=Model.V4,
        format="wav",
        timeout=600,
    )

Anahtar kod içinde tutulmak istenmiyorsa CLEARVOICE_API_KEY ortam değişkenine yazılabilir ve ClearVoice() parametresiz oluşturulabilir.

Kullanım ve bakiye

usage = client.get_usage()
print(usage.to_dict())

Webhook doğrulama

İmzayı JSON'a dönüştürülmemiş özgün istek gövdesiyle doğrulayın:

from clearvoice import verify_webhook_signature

valid = verify_webhook_signature(
    raw_request_body,
    request.headers["X-ClearVoice-Signature"],
    "whsec_your_webhook_signing_secret",
)

Hata yönetimi

from clearvoice import AuthenticationError, ClearVoice, RateLimitError

try:
    client = ClearVoice("cv_live_...")
    job = client.create_job("kayit.wav")
except AuthenticationError:
    print("API anahtarı geçersiz")
except RateLimitError:
    print("İstek limiti aşıldı")

Geliştirme

Kaynak kodu klonlayıp geliştirme bağımlılıklarıyla kurmak için:

git clone https://github.com/Eminkorkut/deepzeka-clearvoice.git
cd deepzeka-clearvoice
python -m pip install -e ".[dev]"
pytest
ruff check .
python -m build

Destek

API veya SDK ile ilgili sorular için destek@clearvoice.com.tr adresine ulaşabilirsiniz.

Geliştirici

Muhammed Emin KORKUT

Lisans

Bu proje MIT Lisansı ile lisanslanmıştır.

Download files

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

Source Distribution

deepzeka_clearvoice-0.1.1.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deepzeka_clearvoice-0.1.1-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file deepzeka_clearvoice-0.1.1.tar.gz.

File metadata

  • Download URL: deepzeka_clearvoice-0.1.1.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for deepzeka_clearvoice-0.1.1.tar.gz
Algorithm Hash digest
SHA256 87d44294318a28f9c100e1acfd6d6d1419f32112bd1edd1f67dd9af40e483c42
MD5 5d9e5142b03e618a87bdcb4392835cfe
BLAKE2b-256 246fc349b1474678ef12a0945250d8b9536d5f24c89a118189a221e264e491bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepzeka_clearvoice-0.1.1.tar.gz:

Publisher: release.yml on Eminkorkut/deepzeka-clearvoice

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file deepzeka_clearvoice-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for deepzeka_clearvoice-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 412ba2f80a0d41d847352de1040c98ebd3b723d3aa217cce81a2f9e42d38b8cc
MD5 4096532be3eb3acc3e87871aaa093bd1
BLAKE2b-256 7992fa060330f2887facfa7e03ff9c3231f8087ab943ac5622d6001837d7f00d

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepzeka_clearvoice-0.1.1-py3-none-any.whl:

Publisher: release.yml on Eminkorkut/deepzeka-clearvoice

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

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