Skip to main content

CLI listing your online chess games results

Project description

pawnhub

Retrieve results of your online chess games from lichess.org and chess.com.

Instantly see how you negotiated first moves to reach your favourite positions. Spot which lines are your kryptonite leading to a dry/deceiving middle game.

Behind the scenes, it exploits pawnstore library to fetch games into a local database then make them rich.

Read documentation at https://pawnhub.readthedocs.io/

Screencast

asciicast

Install

pawnhub is written for Python 3.7+, install with pip via pip3 install pawnhub command.

Usage

Usage: pawnhub.py [OPTIONS]  

  List games for CHESSCOM_USER and LICHESS_USER.  

  Display for each game the first move out of repertoire if WHITE_REP or/and
  BLACK_REP are given.  

Options:
  -c, --chesscom_user CHESSCOM_USER
                                  chess.com user login
  -l, --lichess_user LICHESS_USER
                                  lichess.org user login
  -n, --lines NUM                 Print the NUM most recent games
  -s, --search [FIELD:]TEXT       Search for text in given field (see
                                  https://kraymer.github.io/pawnhub/#search).
                                  Omit FIELD: to search in whole games data.
  --rw WHITE_REP                  Path or url to a PGN file for white
                                  repertoire
  --rb BLACK_REP                  Path or url to a PGN file for black
                                  repertoire
  --color                         Always color terminal output
  --version                       Show the version and exit.
  -h, --help                      Show this message and exit.

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

pawnhub-0.2.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

pawnhub-0.2.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file pawnhub-0.2.0.tar.gz.

File metadata

  • Download URL: pawnhub-0.2.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/37.1 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.12.0 keyring/23.9.1 rfc3986/2.0.0 colorama/0.4.5 CPython/3.9.13

File hashes

Hashes for pawnhub-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c5189063fb7965f3d08f899cf7978e87991a6715cf37158ece3c4b5011c7428b
MD5 33011dfcf1e1e46e875b3b04826c76ab
BLAKE2b-256 b71a58edad0b972ac765f5f0bbfaac1b3abd43aa6ca196d8aab2f1f7f2c855f8

See more details on using hashes here.

File details

Details for the file pawnhub-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pawnhub-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/37.1 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.12.0 keyring/23.9.1 rfc3986/2.0.0 colorama/0.4.5 CPython/3.9.13

File hashes

Hashes for pawnhub-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 032e4f4c762e3a56941f2b2df9316f5a9ea790b262e8d9279f2d5b6abb9c5c7b
MD5 a4420f4f71e8fb20d08af91883521ced
BLAKE2b-256 b0953a17a8947bc0198d40a4cf2e9a9d86352579424869b9b88292e185f2945b

See more details on using hashes here.

Supported by

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