Universal Chess Interface (UCI)
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
This package is available on PyPI so can be installed by typing
python -m pip install –user uci-net
at the command prompt.
See Python and pip documentation for alternatives and platform-specific points.
Run
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 in <allowed callers> 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 192.168.0.1 and the default port, suitable engine definition records in ChessTab are:
‘//stockfishbox:11111?name=Stockfish 12’ or ‘//192.168.0.1:11111?name=Stockfish 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.
The client is run by applications such as ChessTab when required.
Notes
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.
Metadata
Release files for uci-net 1.2.9
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 |
|---|---|---|---|---|
| uci_net-1.2.9.tar.gz | 21.7 kB | Without provenance | Details for uci_net-1.2.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| uci_net-1.2.9-py3-none-any.whl | Python 3 | none | any | Details for uci_net-1.2.9-py3-none-any.whl |
Total release size: 48.4 kB
Release files / uci_net-1.2.9.tar.gz
| Download URL | uci_net-1.2.9.tar.gz |
|---|---|
| Size | 21.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ecac27c9c0980a9b114fa59a1eaec555419c4af18e7f1c1358780c52abe14d8b
|
|
BLAKE2b-256 checksum How to use checksums |
4ca2fac99dcc7c6f3c43cf6a91a786a6f9121d8c24d73e20bd8d494f4aaaf536
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / uci_net-1.2.9-py3-none-any.whl
| Download URL | uci_net-1.2.9-py3-none-any.whl |
|---|---|
| Size | 26.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d47dffe48cd5a0b8cefa89afa672edc3d32b744c9220e9afbefd71a111a8cf2
|
|
BLAKE2b-256 checksum How to use checksums |
594fc0f13aae906752f66dbb81b0bd33a09c7584d6f4eaa5beaa0e2409fa6879
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for uci-net 1.2.9
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.