chess-analytica: chess analytics made easy
================================================================================
.. image:: https://readthedocs.org/projects/chess-analytica/badge/?version=latest
:target: https://chess-analytica.readthedocs.io/en/latest/
:alt: Docs
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.
Metadata
Release files for chess-analytica 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| chess-analytica-1.0.6.tar.gz | 10.9 kB | Without provenance | Details for chess-analytica-1.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| chess_analytica-1.0.6-py3-none-any.whl | Python 3 | none | any | Details for chess_analytica-1.0.6-py3-none-any.whl |
Total release size: 21.4 kB
Release files / chess-analytica-1.0.6.tar.gz
| Download URL | chess-analytica-1.0.6.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a87c14af8bef09fd918d4b30d5f7363e3e8e3aa291a7ba38544822974bbdd44
|
|
BLAKE2b-256 checksum How to use checksums |
ccd38d0205d7ef55a797de66ec4f22f34c255bc9495e84238f7867d7c8e9b038
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.1
|
Release files / chess_analytica-1.0.6-py3-none-any.whl
| Download URL | chess_analytica-1.0.6-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fa2084a742083e553c6ac103b6d2c7ef4a3cd9804031a95593e0863274ac0e61
|
|
BLAKE2b-256 checksum How to use checksums |
ad20322d2ef6911ba054edf4eab67c744f666e85b0f5238ae91dbf887de3ad36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.1
|
Security for chess-analytica 1.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.