wiseman-library


Namewiseman-library JSON
Version 1.2.1 PyPI version JSON
download
home_pagehttps://github.com/adem-ocel/wiseman-library
Summarywiseman bundles the voice assistant infrastructure into a python library
upload_time2024-07-17 14:34:18
maintainerNone
docs_urlNone
authorAdem
requires_python<4.0,>=3.12
licenseMIT
keywords voice assistant wiseman library
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# wiseman library

 
Wiseman is a Python library for adding voice assistant features to your applications and building personal assistant applications.


## Features

- executes the function you give when called
- can be called by more than one name
- voice recording
- audio playback
- voice to text
- text-to-speech (Gtts)
- text-to-speech (Elevenlabs)


## download

Run this project to use it

```bash
 pip install wiseman_library
```

  
## Usage/Examples





|function|module|function
|---|---|---|
|lissen()|wiseman_library| listens to the microphone at the specified interval and calls the given function when its name is called|   
|stop_listen()|wiseman_library|stops listening to microphone| 
|record()|wiseman_library.Recorder| records audio for the given recording time and saves it to the given location|   
|recognize()|wiseman_library.Recognizer|translates the given audio to text with the default method|
|recognize_from_google()|wiseman_library.Recognizer| converts the given voice to text with the speech_recognition library|
|play_sound()|wiseman_library.speaker|plays the given sound file|
|speak()|wiseman_library.speaker|reads text with default text reader|
|speak_with_eleven_labs()|wiseman_library.speaker| Speaks text with eleven_labs api|
|speak_with_gtts()|wiseman_library.speaker| Speaks text with Gtts|








Example of **lissen() function**
```python
import wiseman_library
def fun(name,text):
    print(name+" :: "+text)
wiseman_library.lissen(function=fun)
```

  
## Authors and Acknowledgments

- [@adem-ocel](https://github.com/adem-ocel) for design and development.

  [![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/adem-ocel/wiseman-library",
    "name": "wiseman-library",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.12",
    "maintainer_email": null,
    "keywords": "voice assistant, wiseman, library",
    "author": "Adem",
    "author_email": "adem@example.com",
    "download_url": "https://files.pythonhosted.org/packages/38/3d/8d3c264e2bf371e838747b38f5da9249d542f8ad0c1e65cdb7f2cb7fce53/wiseman_library-1.2.1.tar.gz",
    "platform": null,
    "description": "\n# wiseman library\n\n \nWiseman is a Python library for adding voice assistant features to your applications and building personal assistant applications.\n\n\n## Features\n\n- executes the function you give when called\n- can be called by more than one name\n- voice recording\n- audio playback\n- voice to text\n- text-to-speech (Gtts)\n- text-to-speech (Elevenlabs)\n\n\n## download\n\nRun this project to use it\n\n```bash\n pip install wiseman_library\n```\n\n  \n## Usage/Examples\n\n\n\n\n\n|function|module|function\n|---|---|---|\n|lissen()|wiseman_library| listens to the microphone at the specified interval and calls the given function when its name is called|   \n|stop_listen()|wiseman_library|stops listening to microphone| \n|record()|wiseman_library.Recorder| records audio for the given recording time and saves it to the given location|   \n|recognize()|wiseman_library.Recognizer|translates the given audio to text with the default method|\n|recognize_from_google()|wiseman_library.Recognizer| converts the given voice to text with the speech_recognition library|\n|play_sound()|wiseman_library.speaker|plays the given sound file|\n|speak()|wiseman_library.speaker|reads text with default text reader|\n|speak_with_eleven_labs()|wiseman_library.speaker| Speaks text with eleven_labs api|\n|speak_with_gtts()|wiseman_library.speaker| Speaks text with Gtts|\n\n\n\n\n\n\n\n\nExample of **lissen() function**\n```python\nimport wiseman_library\ndef fun(name,text):\n    print(name+\" :: \"+text)\nwiseman_library.lissen(function=fun)\n```\n\n  \n## Authors and Acknowledgments\n\n- [@adem-ocel](https://github.com/adem-ocel) for design and development.\n\n  [![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "wiseman bundles the voice assistant infrastructure into a python library",
    "version": "1.2.1",
    "project_urls": {
        "Homepage": "https://github.com/adem-ocel/wiseman-library",
        "Repository": "https://github.com/adem-ocel/wiseman-library"
    },
    "split_keywords": [
        "voice assistant",
        " wiseman",
        " library"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f0b7b7a092327975f9625d995d343f26d537a7de1e1b4079ce7805eb969d1647",
                "md5": "b82089dd3cf7650b0a09feb030feffa6",
                "sha256": "cb5476124779833351bb5abc7d1888c6aee848f98686c838cfec9022f6b078bd"
            },
            "downloads": -1,
            "filename": "wiseman_library-1.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b82089dd3cf7650b0a09feb030feffa6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.12",
            "size": 4901,
            "upload_time": "2024-07-17T14:34:16",
            "upload_time_iso_8601": "2024-07-17T14:34:16.908250Z",
            "url": "https://files.pythonhosted.org/packages/f0/b7/b7a092327975f9625d995d343f26d537a7de1e1b4079ce7805eb969d1647/wiseman_library-1.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "383d8d3c264e2bf371e838747b38f5da9249d542f8ad0c1e65cdb7f2cb7fce53",
                "md5": "7e9a5a8cbc2223a4bb1d5cc5ff305964",
                "sha256": "85871f2c02b4f9fabc60fcd9e933eb3e3269d603f9a1e473924e5a73805e7302"
            },
            "downloads": -1,
            "filename": "wiseman_library-1.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "7e9a5a8cbc2223a4bb1d5cc5ff305964",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.12",
            "size": 3786,
            "upload_time": "2024-07-17T14:34:18",
            "upload_time_iso_8601": "2024-07-17T14:34:18.458421Z",
            "url": "https://files.pythonhosted.org/packages/38/3d/8d3c264e2bf371e838747b38f5da9249d542f8ad0c1e65cdb7f2cb7fce53/wiseman_library-1.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-17 14:34:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "adem-ocel",
    "github_project": "wiseman-library",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "wiseman-library"
}
        
Elapsed time: 0.30648s