Making chess analytics easy.
Project description
Chess-Analytica: chess analytics made easy
================================================================================
.. image:: https://badge.fury.io/py/chess-analytica.svg
:target: https://badge.fury.io/py/chess-analytica
Introduction
Chess-Analytica is a chess library that allows for the simple scraping of data using the chess.com API, and subsequent
analysis of that data. Built on top of the python-chess library, Chess-Analytica allows for you to easily scrape
all of a given player's past (or current) games, filter the games down, and then analyze them.
.. code:: python
>>> from chess_analytica import Board, ChessDotCom
>>> profile = ChessDotCom("aronfrish", False) #False means that it will not try to import the games from the "cache" folder
>>> print(profile.games[0].white_player)
#aronfrish
>>> print(profile.games[0].final_state + " \n" + profile.games[0].link)
#r n b . k b . r
#p p p p q p p p
#. . . . . . . .
#. . . . . . . .
#. . . . . . N .
#. . . P . . . .
#P P P K . P P P
#R N B n . B . R
#https://www.chess.com/game/live/77569257661
Installing
Download and install the latest release:
::
pip install chess-analytica
Documentation <https://chess-analytica.readthedocs.io/en/latest/>__
-
Examples <https://chess-analytica.readthedocs.io/en/latest/usage.html>_ -
ChessDotCom Class <https://chess-analytica.readthedocs.io/en/latest/chessdotcom.html>_ -
Board Class <https://chess-analytica.readthedocs.io/en/latest/board.html>_
Features
-
Scrape all game info from a given player's profile
-
Simulate games and analyze them
-
Filter games by time control
License
Chess-Analytica is licensed under the MIT License.
Check out LICENSE.txt for the full text.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chess-analytica-1.1.2.tar.gz.
File metadata
- Download URL: chess-analytica-1.1.2.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c2c051da32b6349abdccc3a018d713aa2e0739ac7c4ccc7737e5dcc0c66491d
|
|
| MD5 |
65bef945aab38d5249bf280b382d027b
|
|
| BLAKE2b-256 |
e7632545ce466e3a6986d7f88216146623c3e775bc0171e31e029ca6319d1b9f
|
File details
Details for the file chess_analytica-1.1.2-py3-none-any.whl.
File metadata
- Download URL: chess_analytica-1.1.2-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93c15ae265bbf1b2f750160de19c8c3ff9093a501bf4298c7e439d201e43ae14
|
|
| MD5 |
8c7ebb40aff3789f0736c672e160bffb
|
|
| BLAKE2b-256 |
061269cd4091da6d1056d06b9b5605086de2176e5773cecf222981cb0ce992fb
|