Skip to main content

pythonChessAnalyzer

Analyses games and positions. Possible to have a Game Report similar to the one from chess.com, including graphs.

Installation

Use the package manager pip to install pythonChessAnalyzer.

pip install chessAnalyzer

Usage

import os, chessAnalyzer, chessAnalyzer.main

# Always use a string for file paths!

ca = chessAnalyzer.main.AnnotatePosition(0.5, os.getcwd(), <engine file path(string)>)

ca.graph(pgn_loc, end_loc) # creates a graph
annotated_pgn = ca.annotate_game(pgn_loc) # annotates game
white_lost_positions: list, black_lost_positions: list, annotated game: list = ca.game_report(pgn_loc, annotate=True) # gets you a game report(saves graph elsewhere)
# and more!

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Metadata

Release files for chessAnalyzer 0.1.0

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

Source distribution (sdist)

Source distribution for chessAnalyzer 0.1.0
File Size Uploaded
chessAnalyzer-0.1.0.tar.gz 8.4 kB Details

Built distribution (wheel)

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

Total release size: 24.4 kB

Release files / chessAnalyzer-0.1.0.tar.gz

Download URL chessAnalyzer-0.1.0.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b187b7091491f48b8a893ed833b822d819164200c0c6e5b8c7cf5cadae79c1de
BLAKE2b-256 checksum
How to use checksums
1787b0f34caeb788d02188b3a521656213d0c7e73d46fb132b73e46a2f238da8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

Release files / chessAnalyzer-0.1.0-py3-none-any.whl

Download URL chessAnalyzer-0.1.0-py3-none-any.whl
Size 16.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37f653bcd820a4abb3539db90abfa97bd9688a6e178e6b0f8f443fa4f4669f66
BLAKE2b-256 checksum
How to use checksums
695f72345da5ef4e0126eb231b863c616b9a5fc6fbf69ffd6089058b90615584
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release 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