Metadata-Version: 2.1
Name: chessAnalyzer
Version: 0.0.2
Summary: Analyses games and positions. Possible to have a Game Report similar to the one from chess.com, including graphs.
Home-page: https://github.com/CoderAryanAnand/pythonChessAnalyzer
Author: Aryan Anand
Author-email: aryananand.chess@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# 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](https://github.com/stephen70))

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install pythonChessAnalyzer.

```bash
pip install chessAnalyzer
```

## Usage

```python
import chessAnalyzer, os

ca = chessAnalyzer.main.AnnotatePosition(0.5, os.getcwd(), <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
[MIT](https://choosealicense.com/licenses/mit/)


