lczerolens 🔍
Portable PyTorch evaluation and chess-decision evidence for lc0-family models.
Getting Started
Install the package. Use the hub extra for the example below:
pip install "lczerolens[hub]"
Evaluate a position:
import chess
from lczerolens import LczeroEvaluator, LczeroModel
model = LczeroModel.from_hf("lczerolens/maia-1100")
evaluator = LczeroEvaluator(model)
evaluation = evaluator.evaluate(chess.Board())
print(evaluation.policy.best_move)
print(evaluation.policy["e2e4"].probability)
Examples
The documentation provides executable tutorial notebooks and the generated API reference. The tutorials cover model inputs, evaluation, chess evidence, search, model comparison, and puzzle analysis, and each one can be launched in Colab.
Contribute
See CONTRIBUTING.md. Development and test commands live there rather than in the quick-start path.
Citation
If you use lczerolens in research, cite the version you used. The canonical
metadata is in CITATION.cff.
@software{poupart_lczerolens_2026,
author = {Poupart, Yoann},
title = {LczeroLens},
version = {0.5.1},
year = {2026},
url = {https://github.com/Xmaster6y/lczerolens}
}
License
lczerolens is licensed under the MIT License. See LICENSE for details.
Metadata
Release files for lczerolens 0.5.1
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 |
|---|---|---|---|---|
| lczerolens-0.5.1.tar.gz | 80.1 kB | With provenance | Details for lczerolens-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lczerolens-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for lczerolens-0.5.1-py3-none-any.whl |
Total release size: 169.1 kB
Release files / lczerolens-0.5.1.tar.gz
| Download URL | lczerolens-0.5.1.tar.gz |
|---|---|
| Size | 80.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3ec257312fa64e5e5de224805106a61bfcdfb2aa4e8b1665fb6d58c4a2dfb40
|
|
BLAKE2b-256 checksum How to use checksums |
0f2e93274f9476ff27ff5fd0a2a6501a242b1d518d44fcb9f25722cfa8e3d1f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 3, 2026.
Transparency logRelease files / lczerolens-0.5.1-py3-none-any.whl
| Download URL | lczerolens-0.5.1-py3-none-any.whl |
|---|---|
| Size | 89.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c0bfd7f8637f97a332f0b61470ee10b1598f40ab8062a54552af3596fc3ec84c
|
|
BLAKE2b-256 checksum How to use checksums |
236188b1b1ec510506b8a93d722ccc6a9f5fde7834b39042abb56f6e521d8684
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 3, 2026.
Transparency logSecurity for lczerolens 0.5.1
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for lczerolens-0.5.1.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 Sep 3, 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.