GithubHelp home page GithubHelp logo

kaveenkumar / gtts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pndurette/gtts

0.0 0.0 0.0 425 KB

Python library and CLI tool to interface with Google Translate's text-to-speech API

Home Page: http://gtts.readthedocs.org/

License: MIT License

Python 100.00%

gtts's Introduction

gTTS

gTTS (Google Text-to-Speech), a Python library and CLI tool to interface with Google Translate's text-to-speech API. Write spoken mp3 data to a file, a file-like object (bytestring) for further audio manipulation, or stdout. Or simply pre-generate Google Translate TTS request URLs to feed to an external program. http://gtts.readthedocs.org/

PyPI version Python versions Tests workflow codecov Commits Since PyPi Downloads Buy me a Coffee

Features

  • Customizable speech-specific sentence tokenizer that allows for unlimited lengths of text to be read, all while keeping proper intonation, abbreviations, decimals and more;
  • Customizable text pre-processors which can, for example, provide pronunciation corrections;

Installation

$ pip install gTTS

Quickstart

Command Line:

$ gtts-cli 'hello' --output hello.mp3

Module:

>>> from gtts import gTTS
>>> tts = gTTS('hello')
>>> tts.save('hello.mp3')

See http://gtts.readthedocs.org/ for documentation and examples.

Disclaimer

This project is not affiliated with Google or Google Cloud. Breaking upstream changes can occur without notice. This project is leveraging the undocumented Google Translate speech functionality and is different from Google Cloud Text-to-Speech.

Project

Licence

The MIT License (MIT) Copyright © 2014-2021 Pierre Nicolas Durette & Contributors

gtts's People

Contributors

pndurette avatar scivision avatar boudewijn26 avatar treymarc avatar dr-horv avatar mashuk999 avatar marctreysonos avatar anselm94 avatar thijstriemstra avatar desbma avatar bakaiadam avatar kremmydas avatar evgsd avatar gowtham-prudhvi avatar hristo-atanasov avatar holzhaus avatar leo-labs avatar mapreri avatar onovy avatar wyohknott avatar allinux avatar ilovenwd avatar mtatsuma avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.