python-msspeak


Namepython-msspeak JSON
Version 0.6.4 PyPI version JSON
download
home_pagehttps://github.com/newfies-dialer/python-msspeak
SummaryText-To-Speech with MSSpeak
upload_time2023-10-03 09:22:06
maintainer
docs_urlNone
authorAreski Belaid
requires_python
licenseMIT
keywords mstranslator tts speech
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            ===============================================
MSSpeak - Microsoft Translator Speak for Python
===============================================

:Author: Arezqui Belaid and Joshua Patten
:Description: Microsoft Translator API module for Python
:Documentation: RTD https://python-msspeak.readthedocs.org
:Contributors: https://github.com/newfies-dialer/python-msspeak/graphs/contributors
:License: MIT

.. image:: https://img.shields.io/travis/newfies-dialer/python-msspeak.svg
        :target: https://travis-ci.org/newfies-dialer/python-msspeak

.. image:: https://img.shields.io/pypi/v/python-msspeak.svg
        :target: https://pypi.python.org/pypi/python-msspeak


Microsoft Speech Bing Documentation:
https://www.microsoft.com/cognitive-services/en-us/speech-api/documentation/API-Reference-REST/BingVoiceOutput


Python Bing Speech
------------------

python-msspeak is a library to synthesize text into human sounding speech
using `Microsoft Cognitive Services`_.

In order to utilize this service you must sign up for Microsoft Cognitive
service and register an application. More information on creating a Microsoft
account is located at the `getting started with Text to Speech`_ page.


Quickstart
----------

A quick-and-dirty script to utilize the python-msspeak library.

::

    from msspeak import msspeak

    subscription_key = 'XXXXXXXXXXXX'

    tts_msspeak = msspeak.MSSpeak(subscription_key, '/tmp/')
    output_filename = tts_msspeak.speak("This is the text I will speak to you", "en-US")

    print ("Recorded TTS to %s" % output_filename)


Installation
------------

Install, upgrade and uninstall python-msspeak.py with these commands:
::

    $ pip install python-msspeak
    $ pip install --upgrade python-msspeak
    $ pip uninstall python-msspeak


Example usage and output
------------------------

Usage:
::

    $ python-msspeak --subscription_key=<subscription_key> -t <text> [-d <directory>] [-url <service_url>] [-h]

Example:
::

    $ msspeak --subscription_key=XXXXXXXXX -t "Salut, Vous vous appelez comment?" -l fr

Output :
::

    $ Recorded TTS to /tmp/MSTRANSLATE-8895934760117809679-fr.mp3


Feedback
--------

Feedback are more than welcome, post bugs and feature requests on github:
http://github.com/newfies-dialer/python-msspeak/issues


Extra information
-----------------

Newfies-Dialer, an open source Auto Dialer software, uses this module to
synthetize audio files being play to the end-user.
Further information about Newfies-Dialer can be found at https://www.newfies-dialer.org

This module is built and supported by Star2Billing: https://www.star2billing.com


Source download
---------------

The source code is currently available on github. Fork away!

https://github.com/newfies-dialer/python-msspeak


Other libraries
---------------

* Javascript: https://github.com/nanek/mstranslator
* Python: https://pypi.python.org/pypi/mstranslator
* Python: https://github.com/bebound/Python-Microsoft-Translate-API


.. _Microsoft Cognitive Services: https://www.microsoft.com/cognitive-services/en-us/
.. _getting started with Text to Speech: https://www.microsoft.com/cognitive-services/en-us/speech-api


TODO
----

- [ ] Rename package to python-bing-speech




History
-------


0.2.1 (2017-03-03)
------------------

* Support Python 3


0.2.0 (2017-02-21)
------------------

* Support switch to Azure portal


1.1.4 (2017-01-20)
------------------

* fix request deps don't force single version


0.1.1 (2015-10-08)
------------------

* Improve Readme and add script to updateversion


0.1.0 (2015-10-06)
---------------------

* First release on PyPI.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/newfies-dialer/python-msspeak",
    "name": "python-msspeak",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "mstranslator,tts,speech",
    "author": "Areski Belaid",
    "author_email": "areski@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/c1/00/36d44b6ec379d80884b536958d03cfdbc523c8392c9b106326c3ef94c2a5/python-msspeak-0.6.4.tar.gz",
    "platform": null,
    "description": "===============================================\nMSSpeak - Microsoft Translator Speak for Python\n===============================================\n\n:Author: Arezqui Belaid and Joshua Patten\n:Description: Microsoft Translator API module for Python\n:Documentation: RTD https://python-msspeak.readthedocs.org\n:Contributors: https://github.com/newfies-dialer/python-msspeak/graphs/contributors\n:License: MIT\n\n.. image:: https://img.shields.io/travis/newfies-dialer/python-msspeak.svg\n        :target: https://travis-ci.org/newfies-dialer/python-msspeak\n\n.. image:: https://img.shields.io/pypi/v/python-msspeak.svg\n        :target: https://pypi.python.org/pypi/python-msspeak\n\n\nMicrosoft Speech Bing Documentation:\nhttps://www.microsoft.com/cognitive-services/en-us/speech-api/documentation/API-Reference-REST/BingVoiceOutput\n\n\nPython Bing Speech\n------------------\n\npython-msspeak is a library to synthesize text into human sounding speech\nusing `Microsoft Cognitive Services`_.\n\nIn order to utilize this service you must sign up for Microsoft Cognitive\nservice and register an application. More information on creating a Microsoft\naccount is located at the `getting started with Text to Speech`_ page.\n\n\nQuickstart\n----------\n\nA quick-and-dirty script to utilize the python-msspeak library.\n\n::\n\n    from msspeak import msspeak\n\n    subscription_key = 'XXXXXXXXXXXX'\n\n    tts_msspeak = msspeak.MSSpeak(subscription_key, '/tmp/')\n    output_filename = tts_msspeak.speak(\"This is the text I will speak to you\", \"en-US\")\n\n    print (\"Recorded TTS to %s\" % output_filename)\n\n\nInstallation\n------------\n\nInstall, upgrade and uninstall python-msspeak.py with these commands:\n::\n\n    $ pip install python-msspeak\n    $ pip install --upgrade python-msspeak\n    $ pip uninstall python-msspeak\n\n\nExample usage and output\n------------------------\n\nUsage:\n::\n\n    $ python-msspeak --subscription_key=<subscription_key> -t <text> [-d <directory>] [-url <service_url>] [-h]\n\nExample:\n::\n\n    $ msspeak --subscription_key=XXXXXXXXX -t \"Salut, Vous vous appelez comment?\" -l fr\n\nOutput :\n::\n\n    $ Recorded TTS to /tmp/MSTRANSLATE-8895934760117809679-fr.mp3\n\n\nFeedback\n--------\n\nFeedback are more than welcome, post bugs and feature requests on github:\nhttp://github.com/newfies-dialer/python-msspeak/issues\n\n\nExtra information\n-----------------\n\nNewfies-Dialer, an open source Auto Dialer software, uses this module to\nsynthetize audio files being play to the end-user.\nFurther information about Newfies-Dialer can be found at https://www.newfies-dialer.org\n\nThis module is built and supported by Star2Billing: https://www.star2billing.com\n\n\nSource download\n---------------\n\nThe source code is currently available on github. Fork away!\n\nhttps://github.com/newfies-dialer/python-msspeak\n\n\nOther libraries\n---------------\n\n* Javascript: https://github.com/nanek/mstranslator\n* Python: https://pypi.python.org/pypi/mstranslator\n* Python: https://github.com/bebound/Python-Microsoft-Translate-API\n\n\n.. _Microsoft Cognitive Services: https://www.microsoft.com/cognitive-services/en-us/\n.. _getting started with Text to Speech: https://www.microsoft.com/cognitive-services/en-us/speech-api\n\n\nTODO\n----\n\n- [ ] Rename package to python-bing-speech\n\n\n\n\nHistory\n-------\n\n\n0.2.1 (2017-03-03)\n------------------\n\n* Support Python 3\n\n\n0.2.0 (2017-02-21)\n------------------\n\n* Support switch to Azure portal\n\n\n1.1.4 (2017-01-20)\n------------------\n\n* fix request deps don't force single version\n\n\n0.1.1 (2015-10-08)\n------------------\n\n* Improve Readme and add script to updateversion\n\n\n0.1.0 (2015-10-06)\n---------------------\n\n* First release on PyPI.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Text-To-Speech with MSSpeak",
    "version": "0.6.4",
    "project_urls": {
        "Homepage": "https://github.com/newfies-dialer/python-msspeak"
    },
    "split_keywords": [
        "mstranslator",
        "tts",
        "speech"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c10036d44b6ec379d80884b536958d03cfdbc523c8392c9b106326c3ef94c2a5",
                "md5": "1f016f86326e0c140c38d5f716ae9ad5",
                "sha256": "658c51cfca8b1e8f986a15d7d12b56141d18847737ec7b7e26b87ab31911f627"
            },
            "downloads": -1,
            "filename": "python-msspeak-0.6.4.tar.gz",
            "has_sig": false,
            "md5_digest": "1f016f86326e0c140c38d5f716ae9ad5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 19907,
            "upload_time": "2023-10-03T09:22:06",
            "upload_time_iso_8601": "2023-10-03T09:22:06.021743Z",
            "url": "https://files.pythonhosted.org/packages/c1/00/36d44b6ec379d80884b536958d03cfdbc523c8392c9b106326c3ef94c2a5/python-msspeak-0.6.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-03 09:22:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "newfies-dialer",
    "github_project": "python-msspeak",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "tox": true,
    "lcname": "python-msspeak"
}
        
Elapsed time: 0.19956s