A Chess GUI using PyQt
Project description
MzChess: a chess GUI using PyQt6 and chess
_ modules
The chess GUI allows for:
- play standard chess games
- configure the game header
- load and/or save games and/or databases with many games
- configure and run Universal Chess Interface (
UCI
_) engines - detects Encyclopaedia of Chess Openings (
ECO
_) - annotates games or single moves
- shows score graphs
- allows to monitor scores and move hints continously (for training purposes)
- allows to warn on danger (for training purposes)
- allows to show move options (for training purposes)
It supports the following game formats:
- Portable Game Notation (
PGN
_) standard - Pickled PGN (PPNG), an internal format for rapid loading
Installing
Mz Chess is based on Python 3.7+.
.. warning::
If you’re not on Windows, you are responsible for the installation of the binary PyQt-packages, i.e.
- PyQt6, PyQt6.QtCharts (v6.2+)
- or PyQt5, PyQt5.QtChart, and - if available - PyQt5.QtSvg (v5.11+),
using a Linux Package Manager
, Homebrew
or pip3 in advance.
Linux users planning a pip3 installation should consult the manylinux
_ webpage
to see whether their distribution is supported.
Then, download and install the latest release:
::
pip install mzChess
If you are under Windows or Linux, you can run
::
<python> -c "import MzChess; MzChess.postInstall()"
to get symbolic links to the tools mzChess and fenBuild on the desktop ( is the python interpreter used for installation). Under Windows, the postInstall function must be executed as administrator.
Running the GUI
An executable is generated and installed in python's Scripts directory. So, if this directory is in your search PATH, you type simply
::
mzChess
to start the GUI. A little helper
::
buildFen
allows to build position strings using the Forsyth-Edwards Notation (FEN
_)
and copy them to the clipboard.
.. _chess: https://pypi.org/project/chess .. _UCI: http://wbec-ridderkerk.nl/html/UCIProtocol.html .. _PGN: https://github.com/fsmosca/PGN-Standard .. _ECO: https://github.com/niklasf/chess-openings .. _Linux Package Manager: https://packaging.python.org/guides/installing-using-linux-tools/ .. _Homebrew: https://docs.brew.sh/ .. _manylinux: https://github.com/pypa/manylinux .. _FEN: https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file MzChess-2.4.0.tar.gz
.
File metadata
- Download URL: MzChess-2.4.0.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c27c10b607ddc759559bfc7266dfb665502ef525fc94130930dd11d524463e7 |
|
MD5 | 2afd941c1f6009709bb72b4597cf7454 |
|
BLAKE2b-256 | fdb78be08f6331955772ec30b2d440c7668f1b5e3e885fc1b4b643d70f4dbbc9 |
File details
Details for the file MzChess-2.4.0-py3-none-any.whl
.
File metadata
- Download URL: MzChess-2.4.0-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50705194d0c9d72bfa9087e148de3f8c4ce013fb1c0c05c705f50f9545800140 |
|
MD5 | b223a5f8b9b059f30ea6cbd6e0fba678 |
|
BLAKE2b-256 | 961a2c21011a7ba500568c10b4bfb93d60cae7b071b9eda2e467957dd5bb27a2 |