Skip to main content

A Text-to-speech module

Project description

Sapit - Python Text-to-Speech Module

Sapit is a Python module that enables users to utilize a text-to-speech function similar to the "say" command on macOS. With Sapit, you can easily convert text into speech in your Python scripts or projects.

Installation

You can install Sapit using pip:

pip install sapit

Usage

Using Sapit is simple. Just import the say function from the sapit module and call it with the text you want to convert into speech:

from sapit import say

say("Hello, World!")

Founder

Sapit was created by "ALI LODHI" He is from Pakistan, Ali lodhi is well experienced python programmer who loves writing python code. The Idea of Sapit came when he was making a Desktop Assistant for his personal use and he had to write a lot of code so that's why to ease of use he created sapit.

Versions

Sapit 1.0

In Sapit 1.0 you can use say function to speak something with the default voice of your Computer

Example

from sapit import say

say ("Hello, World!")

# This will result in the text "Hello, World!" being spoken aloud using the default system text-to-speech engine.

Sapit 1.1 (Latest)

In Sapit 1.1 which is the latest version of Sapit so far you can even specify the voice you want to use It can be male or female

For Example

from sapit import say

say ("Hello, World!", gender = "male") # This will speak in Male voice 
say ("Hello, World!", gender = "female") # This will speak in Female voice
say ("Hello, World!")# This will speak in Male voice which is default

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

sapit-1.2.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

sapit-1.2.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file sapit-1.2.0.tar.gz.

File metadata

  • Download URL: sapit-1.2.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for sapit-1.2.0.tar.gz
Algorithm Hash digest
SHA256 28679373bb58a71ab2a9e1e5b06a5a7f98fbadc718f06f1f687b4e230ee228a4
MD5 fa3a92f057e8a43ca10dea1d098b7b4b
BLAKE2b-256 4d0b3cb11c40c0ac55394dbd5d087477b1c6061f902f92d647c18e670b836d76

See more details on using hashes here.

File details

Details for the file sapit-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: sapit-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for sapit-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 81d9e02277b2cb3cd6f6a2a244a62b3d5e25befe0e7caa698e769132ca0417ae
MD5 688b73750ec19904931130f9c8d46f40
BLAKE2b-256 8309be95f717e82e72551dfd261feb9feea73fd8dbc07a4e161fb45430129071

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