Skip to main content

Python ctypes bindings for zipvoice-rs

Project description

zipvoice-rs

Python bindings for ZipVoice GGUF inference.

The published wheels bundle the native zipvoice-capi dynamic library for the supported platforms, with the native backend optimized per platform:

  • macOS Apple Silicon: Metal + Accelerate
  • Linux x86_64: Vulkan
  • Linux aarch64: Vulkan
  • Windows x86_64: Vulkan

Install

uv pip install zipvoice-rs

Use

from zipvoice_rs import ZipVoice

with ZipVoice("zipvoice-en-q8_0.gguf", "vocos-mel-24khz-q8_0.gguf") as model:
    model.generate_wav(
        "prompt.wav",
        "ɹˈiəl tʃˈeɪndʒ bɪɡˈɪnz wˈɛn jɔːɹ hˈoʊp bɪkˈʌmz stɹˈɔŋɡɚ ðæn jɔːɹ ɛkskjˈuːsᵻz.",
        "ðə mˈɔːɹnɪŋ tɹˈeɪn ɚˈaɪvd bɪsˈaɪd ði ˈoʊld stˈoʊn bɹˈɪdʒ.",
        "out.wav",
    )

See examples/ for English, Hebrew, and mixed Hebrew/English phonemization examples.

For local development and native-library packaging notes, see BUILDING.md.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

zipvoice_rs-0.1.0-py3-none-win_amd64.whl (19.6 MB view details)

Uploaded Python 3Windows x86-64

zipvoice_rs-0.1.0-py3-none-manylinux_2_28_x86_64.whl (10.5 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

zipvoice_rs-0.1.0-py3-none-manylinux_2_28_aarch64.whl (10.3 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

zipvoice_rs-0.1.0-py3-none-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file zipvoice_rs-0.1.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: zipvoice_rs-0.1.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 19.6 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for zipvoice_rs-0.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 242b17d85dd9654b4d7b9fe2f50c0315e8a05781db499b19ac05507059674af7
MD5 9ebe7235d28cf7daa5dc224a583714fb
BLAKE2b-256 13edf7beb72292b868b5666e41b6c1e2b961302cb5b9ae3114c5b959b2a301e7

See more details on using hashes here.

File details

Details for the file zipvoice_rs-0.1.0-py3-none-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: zipvoice_rs-0.1.0-py3-none-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 10.5 MB
  • Tags: Python 3, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for zipvoice_rs-0.1.0-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dee30ee3c07e702c78b1ff316c1f30d0055e0ff7631cf722c2500314f8c9e0cd
MD5 b909cb5b83de451fdca6e4193ef77eb2
BLAKE2b-256 5c1e6568672e53d3495abd67c71f73335a6cd09f08ca5c902cb3166c453c9377

See more details on using hashes here.

File details

Details for the file zipvoice_rs-0.1.0-py3-none-manylinux_2_28_aarch64.whl.

File metadata

  • Download URL: zipvoice_rs-0.1.0-py3-none-manylinux_2_28_aarch64.whl
  • Upload date:
  • Size: 10.3 MB
  • Tags: Python 3, manylinux: glibc 2.28+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for zipvoice_rs-0.1.0-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1afec11544c76f99899319b9eec1efbd851a8b6e61859c7932fc6cd905494827
MD5 ba8009325486c3ede0bf3098011a3ac1
BLAKE2b-256 447d9bcd0f21e5986ae4e1744ad962766c21f2e44071315af56863e116812cca

See more details on using hashes here.

File details

Details for the file zipvoice_rs-0.1.0-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: zipvoice_rs-0.1.0-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for zipvoice_rs-0.1.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 819da6c70f96caa3f1112a5e80fe66bc853b684a0eb7c793fce6e50b25cf0a3f
MD5 595587e13f3c2e47ea7679872811097e
BLAKE2b-256 e8896947ccd2ec3f27e1b554b636ad7b018840f9bc2d05d580d7adc4c27b6623

See more details on using hashes here.

Supported by

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