Skip to main content

Description

This package provides a parser for Chess Query Language (CQL).

The documentation for CQL version 6.0.4 as found in first half of 2020, plus CQL version 6.1 and CQL version 6.2 as found in mid-2024, was used as a reference.

CQLi provides an alternative implementation of CQL-6.1 and a ‘-parse’ option which gives output more easily compared with ChessQL output.

This package does not implement an evaluator to find games in a PGN file which match a query.

Installation Instructions

This package is available on PyPI so can be installed by typing

python -m pip install –user chessql

at the command prompt.

See Python and pip documentation for alternatives and platform-specific points.

Use

Function core.parser.parse(<string>) returns a QueryContainer instance with the result of parsing a string usually read from a <*>.cql file.

Function core.parser.parse_command_line_query() returns a QueryContainer instance with the result of parsing a command line usually passed to the CQL executable.

Notes

Version 3.0 of Chessql is incompatible with earlier versions.

An evaluator for some CQL constructs is implemented in ChessTab.

Release files for chessql 3.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chessql 3.0.3
File Size Uploaded
chessql-3.0.3.tar.gz 94.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chessql 3.0.3
File Interpreter ABI Platform
chessql-3.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 195.1 kB

Release files / chessql-3.0.3.tar.gz

Download URL chessql-3.0.3.tar.gz
Size 94.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ea9c460c2d15713df106d95e5de891140b2af28763de6d1d06837af24e9e8ab2
BLAKE2b-256 checksum
How to use checksums
65c72cd7a33df359ff2f2f0ff9b1ca53914002176edbfbcb36c09a5e9108efff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / chessql-3.0.3-py3-none-any.whl

Download URL chessql-3.0.3-py3-none-any.whl
Size 101.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c43ef1ea238806e10301c4b8a7101dbffee3976ac8999d9728c37e6a30db4c3
BLAKE2b-256 checksum
How to use checksums
78e53d930b8545887caa308e8c429db2db1b0cb6e1822b2da9d5e23653c40404
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

3.0.3 This release

2 release files

3.0.2

2 release files

3.0.1

2 release files

2.1.3

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.1

1 release file

2.0

1 release file

1.2.2

1 release file

1.2.1

1 release file

1.2

1 release file

1.1.4

1 release file

1.1.3

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.1

1 release file

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