Skip to main content

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.

Metadata

Release files for pawnhub 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pawnhub 0.3.0
File Size Uploaded Provenance
pawnhub-0.3.0.tar.gz 8.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pawnhub 0.3.0
File Interpreter ABI Platform
pawnhub-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.0 kB

Release files / pawnhub-0.3.0.tar.gz

Download URL pawnhub-0.3.0.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
197c8a2167e1765c1c9e7d22b4e6fe055c5c0b068592a064fd113ddec221fa02
BLAKE2b-256 checksum
How to use checksums
f0586fd2255aae73c30e5849834b30c1526a8c85816ba8dff92e2eaa0afb03a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/41.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.4 tqdm/4.66.1 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.13

Release files / pawnhub-0.3.0-py3-none-any.whl

Download URL pawnhub-0.3.0-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
106eb2137a283de8be31351ace1ed9c6f8515c32688d0fb16409e40614c4cc33
BLAKE2b-256 checksum
How to use checksums
2c3f72b572d2da1682f5e3040cc746f0e94ecef044840935ed95e20f107ef6e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/41.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.4 tqdm/4.66.1 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.13

Security for pawnhub 0.3.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page