cmcr
Chess Move Calculation Return — a lightweight Python candidate-move selector built on python-chess that returns up to five diverse, verified legal moves for external chess engines.
Overview
cmcr separates candidate generation from deep search/evaluation:
- Defensive — responds to attacked pieces, captures threatening attackers, or reinforces threatened squares.
- Aggressive — looks at captures, promotions, checks, and attacks near the opponent's king.
- King Safety — evaluates castling, escaping check, and pawn-shield/king-square safety.
- Utility #1 (Activity) — favors piece development, central/file influence, and tactical tension.
- Utility #2 (Structure) — favors pawn advancement, positional structure, and safer squares.
If fewer than five distinct role moves apply, cmcr automatically backfills remaining slots from unused legal moves while respecting a strict time_limit.
Installation
Local Editable Install (Development)
pip install -e .
Metadata
Release files for cmcr 0.1.0
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 |
|---|---|---|---|---|
| cmcr-0.1.0.tar.gz | 5.5 kB | With provenance | Details for cmcr-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cmcr-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for cmcr-0.1.0-py3-none-any.whl |
Total release size: 11.3 kB
Release files / cmcr-0.1.0.tar.gz
| Download URL | cmcr-0.1.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
932cacf6c4faf744565d78cc70d16463104487250fd8aa38d47ee80d7600fef2
|
|
BLAKE2b-256 checksum How to use checksums |
248808872be689dc68cb5d516135e7b127af39cf855bcf42cdc3598a44684856
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / cmcr-0.1.0-py3-none-any.whl
| Download URL | cmcr-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
892b9ad12b0bce58b1b64faa1e504726166e1d1d6a20eff099a4c98474406fb8
|
|
BLAKE2b-256 checksum How to use checksums |
b24107f2355ae8109a600fb518185cca34682b48f1b46bab3356282fa7b451a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logSecurity for cmcr 0.1.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for cmcr-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logA 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.