Analyses games and positions. Possible to have a Game Report similar to the one from chess.com, including graphs.
Project description
pythonChessAnalyzer
Analyses games and positions. Possible to have a Game Report similar to the one from chess.com, including graphs. Also has a Coordinate trainer(author: Stephen Ryan)
Installation
Use the package manager pip to install pythonChessAnalyzer.
pip install chessAnalyzer
Usage
import chessAnalyzer, os
ca = chessAnalyzer.main.AnnotatePosition(0.5, os.cwd(), <engine(optional)>)
ca.graph(pgn_loc, end_loc) # creates a graph
annotated_pgn = ca.annotate_game(pgn_loc) # annotates game
ca.train_coordinates() # trains coordinates
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
chessAnalyzer-0.0.1.tar.gz
(8.2 kB
view hashes)
Built Distribution
Close
Hashes for chessAnalyzer-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffd1da988b6aa39f1b88cad3211c4d82d0e8084cbfa4506058f617b99fb69fa7 |
|
MD5 | 767c6f10ea03d6fbe3fe5adf7c022e85 |
|
BLAKE2b-256 | 0085c84b4a80d14823f110ccdb1e0e4efd8dc812a92a9af6651636b9fa0853b8 |