ahk-server
A server to allow remote execution of AutoHotkey using the Python ahk wrapper. Uses fastapi.
Installation
pip install ahk-server
Requires you have AutoHotkey installed. See ahk readme for non-python dependencies.
Usage
To start the server:
python -m ahk_server
This accepts two optional command line parameters: --host and --port. Alternatively, you can also configure the host
and port by setting the environment variables AHK_SERVER_HOST and AHK_SERVER_PORT.
Alternatively still, you can also invoke the server using uvicorn
uvicorn ahk_server.app:app
Standalone release
ahk-server is also available in a standalone exe release which can be found in the releases page
For connecting to the server, see the client project: ahk-client.
Status
This project (and its client counterpart) is usable, but in very early stages of development. Notably, it does not currently include any authentication mechanisms for securing server connections, so use with caution.
TODO:
A noninclusive list of things that might come in the future:
- support some kind of basic authentication
- implement
run_scriptfunctionality - implement non-blocking functionality
- implement extension negotiation with clients
Metadata
Release files for ahk-server 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ahk_server-0.1.0.tar.gz | 4.2 kB | Without provenance | Details for ahk_server-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ahk_server-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for ahk_server-0.1.0-py3-none-any.whl |
Total release size: 8.6 kB
Release files / ahk_server-0.1.0.tar.gz
| Download URL | ahk_server-0.1.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d44e676c60bcd04a9617290eeb5daf6cc5c011724718fc316482ce4a974ed1d
|
|
BLAKE2b-256 checksum How to use checksums |
a4fccc0e42bf8913610d034527cf13224c16ddbc84677bf7afe73dbbce683226
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / ahk_server-0.1.0-py3-none-any.whl
| Download URL | ahk_server-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9e5d1f132e2d4a53995203aafb260258b0794f92b93ced9769dcef516aab3ab
|
|
BLAKE2b-256 checksum How to use checksums |
b73c4e33077740617286ab0a92c2b4a00e7fcef3afb0643eb298a29cef4b69cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for ahk-server 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.