pylips


Namepylips JSON
Version 0.0.11 PyPI version JSON
download
home_pagehttps://github.com/interaction-lab/PyLips
SummaryAn interface for embodied conversational interaction.
upload_time2024-04-04 06:00:20
maintainerNone
docs_urlNone
authorInteraction Lab
requires_python>=3.8.0
licenseMIT license
keywords lipsynch robot interaction conversational agent
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PyLips

**PyLips** is a Python-based interface for developing screen-based conversational agents.
It is designed to make developing socially assistive robotics easier by providing a
simple, expressive, and customizable framework for developing conversational agents.


PyLips is easy to install, simple to use, and open-source.
It comes ready to use with your system's speech synthesis tools, and
uses other free and open-source software for turning these sounds into facial expressions.

![The PyLips Face](docs/source/_static/imgs/many_faces.png)

## To Install from PyPI

You can install PyLips using pip. To install PyLips, run this command in your terminal:

```
python3 -m pip install pylips
```

If you are running PyLips on a Linux Distribution, you may need to also install the following packages:

```
sudo apt update && sudo apt install espeak-ng ffmpeg libespeak1
```

## PyLips Quickstart

Here is a quick example to test your installation. This code will make your computer face say 
"Hello, welcome to pylips!". The voice will be the default system voice, but this is something
we can change later.

First, we will have to start the PyLips server. This is a simple flask sever that can serve several
faces at the same time. To start the server, run the following command:

```
python3 -m pylips.face.start
```

This will start the server on port 8000. Do not worry about the warning message, the package will 
still work. You can connect any web browser to the urls printed, even across computers on the local network.
For now, just open a browser and go to `http://localhost:8000/face` to see the face.

Now open a new terminal tab and run the following code:

```
from pylips.speech import RobotFace

face = RobotFace()
# you may need to wait here for a minute or two to let allosaurus download on the first run

face.say("Hello, welcome to pylips!")
```

If all goes well, the face should have said the message!




# History

## 0.0.0 (2024-03-24)

- pylips begins

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/interaction-lab/PyLips",
    "name": "pylips",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8.0",
    "maintainer_email": null,
    "keywords": "lipsynch, robot, interaction, conversational, agent",
    "author": "Interaction Lab",
    "author_email": "dennler@usc.edu",
    "download_url": "https://files.pythonhosted.org/packages/04/b1/c92ab1fa4e0ea87c3381af9aeebc3d2c219d854be818ce986c02e0aa9541/pylips-0.0.11.tar.gz",
    "platform": null,
    "description": "# PyLips\n\n**PyLips** is a Python-based interface for developing screen-based conversational agents.\nIt is designed to make developing socially assistive robotics easier by providing a\nsimple, expressive, and customizable framework for developing conversational agents.\n\n\nPyLips is easy to install, simple to use, and open-source.\nIt comes ready to use with your system's speech synthesis tools, and\nuses other free and open-source software for turning these sounds into facial expressions.\n\n![The PyLips Face](docs/source/_static/imgs/many_faces.png)\n\n## To Install from PyPI\n\nYou can install PyLips using pip. To install PyLips, run this command in your terminal:\n\n```\npython3 -m pip install pylips\n```\n\nIf you are running PyLips on a Linux Distribution, you may need to also install the following packages:\n\n```\nsudo apt update && sudo apt install espeak-ng ffmpeg libespeak1\n```\n\n## PyLips Quickstart\n\nHere is a quick example to test your installation. This code will make your computer face say \n\"Hello, welcome to pylips!\". The voice will be the default system voice, but this is something\nwe can change later.\n\nFirst, we will have to start the PyLips server. This is a simple flask sever that can serve several\nfaces at the same time. To start the server, run the following command:\n\n```\npython3 -m pylips.face.start\n```\n\nThis will start the server on port 8000. Do not worry about the warning message, the package will \nstill work. You can connect any web browser to the urls printed, even across computers on the local network.\nFor now, just open a browser and go to `http://localhost:8000/face` to see the face.\n\nNow open a new terminal tab and run the following code:\n\n```\nfrom pylips.speech import RobotFace\n\nface = RobotFace()\n# you may need to wait here for a minute or two to let allosaurus download on the first run\n\nface.say(\"Hello, welcome to pylips!\")\n```\n\nIf all goes well, the face should have said the message!\n\n\n\n\n# History\n\n## 0.0.0 (2024-03-24)\n\n- pylips begins\n",
    "bugtrack_url": null,
    "license": "MIT license",
    "summary": "An interface for embodied conversational interaction.",
    "version": "0.0.11",
    "project_urls": {
        "Homepage": "https://github.com/interaction-lab/PyLips"
    },
    "split_keywords": [
        "lipsynch",
        " robot",
        " interaction",
        " conversational",
        " agent"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c31fe5d24556fe6f6399c9874f648beaec11ce7b69591aeac4ab6dc0fabf81e2",
                "md5": "05fe34c324f9ee68a38ce2459270d7d4",
                "sha256": "97dd37d2f230e009fc89e3d194d7bdb339d136c1280c1efb51c9e2d9bbe53dd9"
            },
            "downloads": -1,
            "filename": "pylips-0.0.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "05fe34c324f9ee68a38ce2459270d7d4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8.0",
            "size": 90585,
            "upload_time": "2024-04-04T06:00:17",
            "upload_time_iso_8601": "2024-04-04T06:00:17.195681Z",
            "url": "https://files.pythonhosted.org/packages/c3/1f/e5d24556fe6f6399c9874f648beaec11ce7b69591aeac4ab6dc0fabf81e2/pylips-0.0.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "04b1c92ab1fa4e0ea87c3381af9aeebc3d2c219d854be818ce986c02e0aa9541",
                "md5": "89e72fa4d5eb142fb53288866178c4fc",
                "sha256": "9193ac077d2c2108f5903d71de44f0ccc2b66b0cd18b3ea7cfe5bee8595dff77"
            },
            "downloads": -1,
            "filename": "pylips-0.0.11.tar.gz",
            "has_sig": false,
            "md5_digest": "89e72fa4d5eb142fb53288866178c4fc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8.0",
            "size": 88969,
            "upload_time": "2024-04-04T06:00:20",
            "upload_time_iso_8601": "2024-04-04T06:00:20.291663Z",
            "url": "https://files.pythonhosted.org/packages/04/b1/c92ab1fa4e0ea87c3381af9aeebc3d2c219d854be818ce986c02e0aa9541/pylips-0.0.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-04 06:00:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "interaction-lab",
    "github_project": "PyLips",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pylips"
}
        
Elapsed time: 0.28309s