Skip to main content

Pychess External Engine

Analyse positions on Pychess with native engines running on your own computer. Use your own UCI-compatible engine for its supported variants. The required pyffish and pyffish-alice libraries validate rules and moves; they do not choose your analysis engine.

Version 0.1.0 registers your local engine with a Pychess account token and requires the matching Pychess frontend/server integration.

Install and run

Install uv and obtain your engine executable. Create an engine token at Pychess Account → External engines and save it to a local file. Run:

uvx --python 3.13 pychess-external-engine@0.1.0 \
  --engine /path/to/your-uci-engine --token-file /path/to/your-token

Engines and NNUE networks are supplied locally. For Alice, configure a compatible engine and any network it needs as described in the usage guide.

Connect to Pychess

  1. Leave the app running after it reports that your engine is registered.
  2. Open Pychess analysis engine settings and select your engine by name.
  3. Allow local network access if your browser asks, then enable analysis.

The default address is http://127.0.0.1:9670. Stop the app with Ctrl+C; restarting refreshes its registration automatically. Select the browser engine to switch back; the remove button removes an external registration. Only one tab can use the native engine at a time. Account tokens stay in the local app; search traffic stays local.

This release is verified on Linux x86_64 with Chromium and Edge. Firefox native UI, Safari and other operating systems remain unverified. Connection controls require Pychess's external-engine frontend integration.

For configuration, resource limits and troubleshooting, see the usage guide. See compatibility for tested engines and variants.

PyPI · Issues · AGPL-3.0-or-later · Attribution

Metadata

Release files for pychess-external-engine 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 pychess-external-engine 0.1.0
File Size Uploaded
pychess_external_engine-0.1.0.tar.gz 167.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pychess-external-engine 0.1.0
File Interpreter ABI Platform
pychess_external_engine-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 211.7 kB

Release files / pychess_external_engine-0.1.0.tar.gz

Download URL pychess_external_engine-0.1.0.tar.gz
Size 167.5 kB
Tags Source
SHA-256 checksum
How to use checksums
22fe577e547eb29df53a81c1e374fa742e69d0eb9c51a5427eff6f6f593dee37
BLAKE2b-256 checksum
How to use checksums
703c35405ecf675b6311a6fc76191518ad1773d0b009adb6b4de73389d765b6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.1

Release files / pychess_external_engine-0.1.0-py3-none-any.whl

Download URL pychess_external_engine-0.1.0-py3-none-any.whl
Size 44.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7bda5bef4a962206182f763bb86ff1b17f8d1480af9ff4a2b788137873445692
BLAKE2b-256 checksum
How to use checksums
7bc36b9b90cfcf1f69b0d54a36081afcacc079e6cfcc57917d14352925fa1ebf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.1

Release history Release notifications | RSS feed

0.2.0

2 release files

This release

0.1.0 This release

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