# alexapy
[](https://opensource.org/licenses/Apache-2.0)
[](https://pypi.org/project/alexapy)
[](https://pypi.org/project/alexapy)
[](https://gitlab.com/keatontaylor/alexapy/commits/master)



Python Package for controlling Alexa devices (echo dot, etc) programmatically. This was originally designed for [alexa_media_player](https://github.com/custom-components/alexa_media_player) a custom_component for [Home Assistant](https://www.home-assistant.io/).
**NOTE:** Alexa has no official API; therefore, this library may stop
working at any time without warning.
# Credits
Originally inspired by [this blog](https://blog.loetzimmer.de/2017/10/amazon-alexa-hort-auf-die-shell-echo.html) [(GitHub)](https://github.com/thorsten-gehrig/alexa-remote-control).
Additional scaffolding from [simplisafe-python](https://github.com/bachya/simplisafe-python)
# Contributing
1. [Check for open features/bugs](https://gitlab.com/keatontaylor/alexapy/issues)
or [initiate a discussion on one](https://gitlab.com/keatontaylor/alexapy/issues/new).
2. [Fork the repository](https://gitlab.com/keatontaylor/alexapy/forks/new).
3. Install the dev environment: `make init`.
4. Enter the virtual environment: `pipenv shell`
5. Code your new feature or bug fix.
6. Write a test that covers your new functionality.
7. Update `README.md` with any new documentation.
8. Run tests and ensure 100% code coverage for your contribution: `make coverage`
9. Ensure you have no linting errors: `make lint`
10. Ensure you have typed your code correctly: `make typing`
11. Add yourself to `AUTHORS.md`.
12. Submit a pull request!
# License
[Apache-2.0](LICENSE). By providing a contribution, you agree the contribution is licensed under Apache-2.0.
# API Reference
[See the docs 📚](https://alexapy.readthedocs.io/en/latest/index.html).
Raw data
{
"_id": null,
"home_page": "https://gitlab.com/keatontaylor/alexapy",
"name": "AlexaPy",
"maintainer": null,
"docs_url": null,
"requires_python": "<4,>=3.11",
"maintainer_email": null,
"keywords": "amazon, alexa, homeassistant",
"author": "Keaton Taylor",
"author_email": "keatonstaylor@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/c4/57/283b5d2f9bec0247b00c292c96db2f83d528655d2c6c5d274170eb09cd0e/alexapy-1.29.8.tar.gz",
"platform": null,
"description": "# alexapy\n\n[](https://opensource.org/licenses/Apache-2.0)\n[](https://pypi.org/project/alexapy)\n[](https://pypi.org/project/alexapy)\n[](https://gitlab.com/keatontaylor/alexapy/commits/master)\n\n\n\n\nPython Package for controlling Alexa devices (echo dot, etc) programmatically. This was originally designed for [alexa_media_player](https://github.com/custom-components/alexa_media_player) a custom_component for [Home Assistant](https://www.home-assistant.io/).\n\n**NOTE:** Alexa has no official API; therefore, this library may stop\nworking at any time without warning.\n\n# Credits\n\nOriginally inspired by [this blog](https://blog.loetzimmer.de/2017/10/amazon-alexa-hort-auf-die-shell-echo.html) [(GitHub)](https://github.com/thorsten-gehrig/alexa-remote-control).\nAdditional scaffolding from [simplisafe-python](https://github.com/bachya/simplisafe-python)\n\n# Contributing\n\n1. [Check for open features/bugs](https://gitlab.com/keatontaylor/alexapy/issues)\n or [initiate a discussion on one](https://gitlab.com/keatontaylor/alexapy/issues/new).\n2. [Fork the repository](https://gitlab.com/keatontaylor/alexapy/forks/new).\n3. Install the dev environment: `make init`.\n4. Enter the virtual environment: `pipenv shell`\n5. Code your new feature or bug fix.\n6. Write a test that covers your new functionality.\n7. Update `README.md` with any new documentation.\n8. Run tests and ensure 100% code coverage for your contribution: `make coverage`\n9. Ensure you have no linting errors: `make lint`\n10. Ensure you have typed your code correctly: `make typing`\n11. Add yourself to `AUTHORS.md`.\n12. Submit a pull request!\n\n# License\n\n[Apache-2.0](LICENSE). By providing a contribution, you agree the contribution is licensed under Apache-2.0.\n\n# API Reference\n\n[See the docs \ud83d\udcda](https://alexapy.readthedocs.io/en/latest/index.html).\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Python API to control Amazon Echo Devices Programmatically.",
"version": "1.29.8",
"project_urls": {
"Homepage": "https://gitlab.com/keatontaylor/alexapy",
"Repository": "https://gitlab.com/keatontaylor/alexapy"
},
"split_keywords": [
"amazon",
" alexa",
" homeassistant"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fb1754bff1c30366c85edd2d36c0b84f6cd329d8636ade38a5625af92984a831",
"md5": "7f719acb4685dd8e67270b8edd634913",
"sha256": "7d5e3d1bfe48d0656721785e65306b2c9f996c3cd955665a342d93ede17007c1"
},
"downloads": -1,
"filename": "alexapy-1.29.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7f719acb4685dd8e67270b8edd634913",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.11",
"size": 49646,
"upload_time": "2025-08-21T01:26:32",
"upload_time_iso_8601": "2025-08-21T01:26:32.375770Z",
"url": "https://files.pythonhosted.org/packages/fb/17/54bff1c30366c85edd2d36c0b84f6cd329d8636ade38a5625af92984a831/alexapy-1.29.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c457283b5d2f9bec0247b00c292c96db2f83d528655d2c6c5d274170eb09cd0e",
"md5": "28e729f8393b11542072404481ae0c8a",
"sha256": "13cc1a0636b440ae412dbd93cc36ab4530097d7edf7aa3447cddab38555819be"
},
"downloads": -1,
"filename": "alexapy-1.29.8.tar.gz",
"has_sig": false,
"md5_digest": "28e729f8393b11542072404481ae0c8a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.11",
"size": 45412,
"upload_time": "2025-08-21T01:26:33",
"upload_time_iso_8601": "2025-08-21T01:26:33.359213Z",
"url": "https://files.pythonhosted.org/packages/c4/57/283b5d2f9bec0247b00c292c96db2f83d528655d2c6c5d274170eb09cd0e/alexapy-1.29.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-21 01:26:33",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "keatontaylor",
"gitlab_project": "alexapy",
"lcname": "alexapy"
}