# 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/4f/8b/bfe4eddae1362663078da96212007ead6576f863dd412f8d9d876ddf629a/alexapy-1.29.7.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.7",
"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": "0bb2b6763b0b5861b1a3603b5ac73b602cf8d34bd02c0569fe538b66d6312c36",
"md5": "3b709d0c3c416c45364e50c4d990e6ed",
"sha256": "df63fd3ee354eabe7ba5ad1798d920c9f82769b8040b077e8dfb14d3348d5d67"
},
"downloads": -1,
"filename": "alexapy-1.29.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3b709d0c3c416c45364e50c4d990e6ed",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.11",
"size": 49544,
"upload_time": "2025-07-17T17:28:32",
"upload_time_iso_8601": "2025-07-17T17:28:32.112601Z",
"url": "https://files.pythonhosted.org/packages/0b/b2/b6763b0b5861b1a3603b5ac73b602cf8d34bd02c0569fe538b66d6312c36/alexapy-1.29.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4f8bbfe4eddae1362663078da96212007ead6576f863dd412f8d9d876ddf629a",
"md5": "d4ffd107502dd56c6e7ef73b09a49047",
"sha256": "c54ad1e44e4379055cc17fc312be0d168e678e90682b75c5d94662c90747a74f"
},
"downloads": -1,
"filename": "alexapy-1.29.7.tar.gz",
"has_sig": false,
"md5_digest": "d4ffd107502dd56c6e7ef73b09a49047",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.11",
"size": 45307,
"upload_time": "2025-07-17T17:28:33",
"upload_time_iso_8601": "2025-07-17T17:28:33.179755Z",
"url": "https://files.pythonhosted.org/packages/4f/8b/bfe4eddae1362663078da96212007ead6576f863dd412f8d9d876ddf629a/alexapy-1.29.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-17 17:28:33",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "keatontaylor",
"gitlab_project": "alexapy",
"lcname": "alexapy"
}