Skip to main content
logo

lczerolens 🔍

Documentation lczerolens license uv Ruff python versions

codecov ci-tests ci-tests-slow publish docs

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

lczerolens-0.5.1.tar.gz (80.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lczerolens-0.5.1-py3-none-any.whl (89.0 kB view details)

Uploaded Python 3

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

Hashes for lczerolens-0.5.1.tar.gz
Algorithm Hash digest
SHA256 b3ec257312fa64e5e5de224805106a61bfcdfb2aa4e8b1665fb6d58c4a2dfb40
MD5 3024adf78c7ba93fe86d4fc1e787948d
BLAKE2b-256 0f2e93274f9476ff27ff5fd0a2a6501a242b1d518d44fcb9f25722cfa8e3d1f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for lczerolens-0.5.1.tar.gz:

Publisher: publish.yml on Xmaster6y/lczerolens

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for lczerolens-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c0bfd7f8637f97a332f0b61470ee10b1598f40ab8062a54552af3596fc3ec84c
MD5 ac982e8eb0279fc7eb7d51c6ef799dcc
BLAKE2b-256 236188b1b1ec510506b8a93d722ccc6a9f5fde7834b39042abb56f6e521d8684

See more details on using hashes here.

Provenance

The following attestation bundles were made for lczerolens-0.5.1-py3-none-any.whl:

Publisher: publish.yml on Xmaster6y/lczerolens

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 files

0.5.0

2 files

0.4.0

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

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