File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,11 @@ pip install chessAnalyzer
14
14
## Usage
15
15
16
16
``` python
17
- import chessAnalyzer, os
17
+ import os, chessAnalyzer, chessAnalyzer.main
18
18
19
- ca = chessAnalyzer.main.AnnotatePosition(0.5 , os.cwd(), < engine(optional)> )
19
+ # Always use a string for file paths!
20
+
21
+ ca = chessAnalyzer.main.AnnotatePosition(0.5 , os.getcwd(), < engine file path(string)> )
20
22
21
23
ca.graph(pgn_loc, end_loc) # creates a graph
22
24
annotated_pgn = ca.annotate_game(pgn_loc) # annotates game
Original file line number Diff line number Diff line change 5
5
6
6
setuptools .setup (
7
7
name = "chessAnalyzer" , # Replace with your own username
8
- version = "0.0.1 " ,
8
+ version = "0.0.4 " ,
9
9
author = "Aryan Anand" ,
10
10
author_email = "aryananand.chess@gmail.com" ,
11
11
description = "Analyses games and positions. Possible to have a Game Report similar to the one from chess.com, "
You can’t perform that action at this time.
0 commit comments