Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Universal Chess Interface client-server conversation

Project description


This package provides a pure Python client-server Universal Chess Interface to a chess engine intended for analysing positions rather than playing games.

Installation Instructions

Usually this package will be installed by installing ChessTab.

Install the package by typing

python install

at the command prompt with in the current directory.

You may need to give the path and version of Python depending on your system’s configuration:

<path to python>/python<version> install

For example

C:\Python36\python install

on Microsoft Windows or

python3.6 install

on Unix-like systems.

Use Python 3.6 or later.


The command to run the server is:

python -m uci_net.tcp_driver [port] [allowed callers] path [options]

A path to a UCI chess engine must be given.

See chess engine documentation for options.

By default anyone is allowed to use the server, subject to firewall restrictions. A comma separated list of hostnames prevents hosts not in the list from using the server.

Conections to the server are made on port ‘port’. The default is 11111.

Assuming a hostname ‘stockfishbox’ with IP address and the default port, suitable engine definition records in ChessTab are:

‘//stockfishbox:11111?name=Stockfish 12’ or ‘// 12’.

The record says ‘name=Stockfish 12’ because ‘Stockfish 12’ is the ‘id name’ value returned by Stockfish 12 in response to the ‘uci’ command.


Project name and package name changed from ‘uci’ to ‘uci-net’ prior to upload to PyPI.

The version numbers of uci-net continue on from uci.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for uci-net, version 1.2.1
Filename, size File type Python version Upload date Hashes
Filename, size uci-net-1.2.1.tar.gz (20.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page