chessAnalyzer-0.1.0
توضیحات
Analyses games and positions. Possible to have a Game Report similar to the one from chess.com, including graphs.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | chessAnalyzer-0.1.0 |
| نام | chessAnalyzer |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Aryan Anand |
| ایمیل نویسنده | aryananand.chess@gmail.com |
| آدرس صفحه اصلی | https://github.com/CoderAryanAnand/pythonChessAnalyzer |
| آدرس اینترنتی | https://pypi.org/project/chessAnalyzer/ |
| مجوز | - |
# 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](https://pip.pypa.io/en/stable/) to install pythonChessAnalyzer.
```bash
pip install chessAnalyzer
```
## Usage
```python
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](https://choosealicense.com/licenses/mit/)
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl chessAnalyzer-0.1.0:
pip install chessAnalyzer-0.1.0.whl
نصب پکیج tar.gz chessAnalyzer-0.1.0:
pip install chessAnalyzer-0.1.0.tar.gz