sachin-chess-utils 0.1.4__py3-none-any.whl → 0.1.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sachin_chess_utils-0.1.4.dist-info → sachin_chess_utils-0.1.5.dist-info}/METADATA +4 -6
- {sachin_chess_utils-0.1.4.dist-info → sachin_chess_utils-0.1.5.dist-info}/RECORD +5 -5
- {sachin_chess_utils-0.1.4.dist-info → sachin_chess_utils-0.1.5.dist-info}/WHEEL +0 -0
- {sachin_chess_utils-0.1.4.dist-info → sachin_chess_utils-0.1.5.dist-info}/entry_points.txt +0 -0
- {sachin_chess_utils-0.1.4.dist-info → sachin_chess_utils-0.1.5.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: sachin-chess-utils
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.5
|
4
4
|
Summary: UNKNOWN
|
5
5
|
Home-page: UNKNOWN
|
6
6
|
Author: Sachin Chauhan Infocusp
|
@@ -17,14 +17,12 @@ Some examples below.
|
|
17
17
|
### 1. Convert chess move to human readable sentence:
|
18
18
|
|
19
19
|
```
|
20
|
-
from sachin_chess_utils import describe_move
|
20
|
+
>>> from sachin_chess_utils import describe_move
|
21
21
|
|
22
|
-
print(describe_move('Nxe4#'))
|
22
|
+
>>> print(describe_move('Nxe4#'))
|
23
|
+
"knight captures e4 check and mate"
|
23
24
|
```
|
24
25
|
|
25
|
-
Output:
|
26
|
-
`"knight captures e4 check and mate"`
|
27
|
-
|
28
26
|
- This is useful for the text to speech model. Machine can "say" the moves.
|
29
27
|
- Function might look simple at first glance but there are **some corner cases which are handled here** (That's why I thought to make it open source).
|
30
28
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
sachin_chess_utils/__init__.py,sha256=MeOM322WTU8yCmRUToqwaPquyvlnI8WxBFuM-HUpE3c,57
|
2
2
|
sachin_chess_utils/main.py,sha256=Hg4BBo12oTsUeANHQ4t77WcK-lvUaMFrtkc0azI0qkI,97
|
3
3
|
sachin_chess_utils/move.py,sha256=-ivdjh_38S2fSy7Gqbx_7tJzLn4VQsBN_-2P9I_w5zE,1643
|
4
|
-
sachin_chess_utils-0.1.
|
5
|
-
sachin_chess_utils-0.1.
|
6
|
-
sachin_chess_utils-0.1.
|
7
|
-
sachin_chess_utils-0.1.
|
8
|
-
sachin_chess_utils-0.1.
|
4
|
+
sachin_chess_utils-0.1.5.dist-info/METADATA,sha256=DpPZMpPRQTV8rJuXv5ZRY84zvylhbP0Vl2Wowibt2EQ,809
|
5
|
+
sachin_chess_utils-0.1.5.dist-info/WHEEL,sha256=00yskusixUoUt5ob_CiUp6LsnN5lqzTJpoqOFg_FVIc,92
|
6
|
+
sachin_chess_utils-0.1.5.dist-info/entry_points.txt,sha256=hGJ3J_tepCGzSrdCfH8OplmaMPvCVDKvDKMrWfVYgac,59
|
7
|
+
sachin_chess_utils-0.1.5.dist-info/top_level.txt,sha256=7rW6areR0D7SZ19i5nqaKF9L_NeM_7jeqvOXnqx1iBc,19
|
8
|
+
sachin_chess_utils-0.1.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|