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.1.tar.gz (5.9 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.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shahmat-0.0.1.tar.gz
  • Upload date:
  • Size: 5.9 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.1.tar.gz
Algorithm Hash digest
SHA256 2a063458fbf245258594ef93e029fc3b37312df9b140e927f272afe1aa531942
MD5 288dd4d3c4ef3ddc13e9e471d920bca9
BLAKE2b-256 f811446b772b02015105496574c06722343beb46b57112fd56448826649d5059

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shahmat-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8760fdd6aea3f4156e56752dcb9e3dd75ea845e105d08b6968464394251e19be
MD5 2d4c384e83c5ab09d31a437ef12463ef
BLAKE2b-256 254b94f78c150cc56a043570c563ffa58716a7ae00084777722d14425734f377

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