Skip to main content

Analyze your Chess.com games: fetch, stats (hour, Elo diff), and clean visualizations.

Project description

ShahMat

Python
License

ShahMat is a Python package that leverages the official Chess.com API to fetch, analyze, and visualize your games.
It is part of the AG Algo Lab initiative: making finance & tech accessible to everyone — and yes, sometimes we have fun applying data science to chess too!

The name ShahMat comes from the ancient expression that later gave birth to the word “checkmate” :)


Features

  • Fetch games directly from Chess.com using a single function
  • Analyze performance (through Visualizations) by:
    • Hour of the day
    • Elo difference vs opponents
    • Color (White / Black)
    • Result type breakdown (wins, losses, draws)
  • Download: export your data in a csv file

Quick Start

Install ShahMat (when available on PyPI):

pip install ShahMat

chesscom('your_username', start_year=2024)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shahmat-0.0.3.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shahmat-0.0.3-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file shahmat-0.0.3.tar.gz.

File metadata

  • Download URL: shahmat-0.0.3.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for shahmat-0.0.3.tar.gz
Algorithm Hash digest
SHA256 eb61605827e4f5643b97433bc035092198b10e09123de461f9cebf1253b0fcf9
MD5 b670c9bcc42d016efd19b82c8e74160f
BLAKE2b-256 88c07fa2fcb36d3d52c240ba246442927168e19a29212ada07e7f43a66eec3b7

See more details on using hashes here.

File details

Details for the file shahmat-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: shahmat-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for shahmat-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6734e86e3df46a623dcdc0cd2bd6e04b833348d4196a664996850651e0e63f9c
MD5 cd0ad92c7b6c2add54b6027488b4275a
BLAKE2b-256 3029456e84aa394434e285587205a3453ec69608cee6c6ea57dc3fcd17d367c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page