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.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lczerolens-0.5.1.tar.gz.
File metadata
- Download URL: lczerolens-0.5.1.tar.gz
- Upload date:
- Size: 80.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3ec257312fa64e5e5de224805106a61bfcdfb2aa4e8b1665fb6d58c4a2dfb40
|
|
| MD5 |
3024adf78c7ba93fe86d4fc1e787948d
|
|
| BLAKE2b-256 |
0f2e93274f9476ff27ff5fd0a2a6501a242b1d518d44fcb9f25722cfa8e3d1f3
|
Provenance
The following attestation bundles were made for lczerolens-0.5.1.tar.gz:
Publisher:
publish.yml on Xmaster6y/lczerolens
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lczerolens-0.5.1.tar.gz -
Subject digest:
b3ec257312fa64e5e5de224805106a61bfcdfb2aa4e8b1665fb6d58c4a2dfb40 - Sigstore transparency entry: 2701483262
- Sigstore integration time:
-
Permalink:
Xmaster6y/lczerolens@470ac9e2ff5525d10f5b6b9cd5b6e944aa54c28e -
Branch / Tag:
refs/tags/v0.5.1 - Owner: https://github.com/Xmaster6y
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@470ac9e2ff5525d10f5b6b9cd5b6e944aa54c28e -
Trigger Event:
release
-
Statement type:
File details
Details for the file lczerolens-0.5.1-py3-none-any.whl.
File metadata
- Download URL: lczerolens-0.5.1-py3-none-any.whl
- Upload date:
- Size: 89.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0bfd7f8637f97a332f0b61470ee10b1598f40ab8062a54552af3596fc3ec84c
|
|
| MD5 |
ac982e8eb0279fc7eb7d51c6ef799dcc
|
|
| BLAKE2b-256 |
236188b1b1ec510506b8a93d722ccc6a9f5fde7834b39042abb56f6e521d8684
|
Provenance
The following attestation bundles were made for lczerolens-0.5.1-py3-none-any.whl:
Publisher:
publish.yml on Xmaster6y/lczerolens
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lczerolens-0.5.1-py3-none-any.whl -
Subject digest:
c0bfd7f8637f97a332f0b61470ee10b1598f40ab8062a54552af3596fc3ec84c - Sigstore transparency entry: 2701483401
- Sigstore integration time:
-
Permalink:
Xmaster6y/lczerolens@470ac9e2ff5525d10f5b6b9cd5b6e944aa54c28e -
Branch / Tag:
refs/tags/v0.5.1 - Owner: https://github.com/Xmaster6y
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@470ac9e2ff5525d10f5b6b9cd5b6e944aa54c28e -
Trigger Event:
release
-
Statement type: