Skip to main content

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_script functionality
  • 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)

Source distribution for ahk-server 0.1.0
File Size Uploaded
ahk_server-0.1.0.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ahk-server 0.1.0
File Interpreter ABI Platform
ahk_server-0.1.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page