pawnhub


Namepawnhub JSON
Version 0.3.0 PyPI version JSON
download
home_pagehttps://github.com/KraYmer/pawnhub
SummaryCLI listing your online chess games results
upload_time2023-08-31 12:50:37
maintainer
docs_urlNone
authorFabrice Laporte
requires_python>=3.6
licenseMIT
keywords chess
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![](https://readthedocs.org/projects/pawnhub/badge/?version=latest)](http://pawnhub.readthedocs.org/en/latest/?badge=latest)
[![](https://pepy.tech/badge/pawnhub)](https://pepy.tech/project/pawnhub)

# 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](https://github.com/Kraymer/pawnstore) library to fetch games
into a local database then make them
[rich](https://github.com/Textualize/rich).

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

## Screencast

[![asciicast](https://asciinema.org/a/518641.svg)](https://asciinema.org/a/518641)

## 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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/KraYmer/pawnhub",
    "name": "pawnhub",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "chess",
    "author": "Fabrice Laporte",
    "author_email": "kraymer@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/f0/58/6fd2255aae73c30e5849834b30c1526a8c85816ba8dff92e2eaa0afb03a9/pawnhub-0.3.0.tar.gz",
    "platform": "ALL",
    "description": "[![](https://readthedocs.org/projects/pawnhub/badge/?version=latest)](http://pawnhub.readthedocs.org/en/latest/?badge=latest)\n[![](https://pepy.tech/badge/pawnhub)](https://pepy.tech/project/pawnhub)\n\n# pawnhub\n\n\nRetrieve results of your online chess games from lichess.org and\nchess.com.\n\nInstantly see how you negotiated first moves to reach your favourite\npositions. Spot which lines are your kryptonite leading to a\ndry/deceiving middle game.\n\nBehind the scenes, it exploits\n[pawnstore](https://github.com/Kraymer/pawnstore) library to fetch games\ninto a local database then make them\n[rich](https://github.com/Textualize/rich).\n\n**Read documentation at https://pawnhub.readthedocs.io/**\n\n## Screencast\n\n[![asciicast](https://asciinema.org/a/518641.svg)](https://asciinema.org/a/518641)\n\n## Install\n\n`pawnhub` is written for Python 3.7+, install with pip via ``pip3 install pawnhub`` command.\n\n## Usage\n\n    Usage: pawnhub.py [OPTIONS]  \n\n      List games for CHESSCOM_USER and LICHESS_USER.  \n\n      Display for each game the first move out of repertoire if WHITE_REP or/and\n      BLACK_REP are given.  \n\n    Options:\n      -c, --chesscom_user CHESSCOM_USER\n                                      chess.com user login\n      -l, --lichess_user LICHESS_USER\n                                      lichess.org user login\n      -n, --lines NUM                 Print the NUM most recent games\n      -s, --search [FIELD:]TEXT       Search for text in given field (see\n                                      https://kraymer.github.io/pawnhub/#search).\n                                      Omit FIELD: to search in whole games data.\n      --rw WHITE_REP                  Path or url to a PGN file for white\n                                      repertoire\n      --rb BLACK_REP                  Path or url to a PGN file for black\n                                      repertoire\n      --color                         Always color terminal output\n      --version                       Show the version and exit.\n      -h, --help                      Show this message and exit.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "CLI listing your online chess games results",
    "version": "0.3.0",
    "project_urls": {
        "Homepage": "https://github.com/KraYmer/pawnhub"
    },
    "split_keywords": [
        "chess"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2c3f72b572d2da1682f5e3040cc746f0e94ecef044840935ed95e20f107ef6e8",
                "md5": "d0833a907ad36c487907b55df08d5db2",
                "sha256": "106eb2137a283de8be31351ace1ed9c6f8515c32688d0fb16409e40614c4cc33"
            },
            "downloads": -1,
            "filename": "pawnhub-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d0833a907ad36c487907b55df08d5db2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 7959,
            "upload_time": "2023-08-31T12:50:36",
            "upload_time_iso_8601": "2023-08-31T12:50:36.353524Z",
            "url": "https://files.pythonhosted.org/packages/2c/3f/72b572d2da1682f5e3040cc746f0e94ecef044840935ed95e20f107ef6e8/pawnhub-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f0586fd2255aae73c30e5849834b30c1526a8c85816ba8dff92e2eaa0afb03a9",
                "md5": "86199221ae2b14a531b05806550c6546",
                "sha256": "197c8a2167e1765c1c9e7d22b4e6fe055c5c0b068592a064fd113ddec221fa02"
            },
            "downloads": -1,
            "filename": "pawnhub-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "86199221ae2b14a531b05806550c6546",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 8060,
            "upload_time": "2023-08-31T12:50:37",
            "upload_time_iso_8601": "2023-08-31T12:50:37.384035Z",
            "url": "https://files.pythonhosted.org/packages/f0/58/6fd2255aae73c30e5849834b30c1526a8c85816ba8dff92e2eaa0afb03a9/pawnhub-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-31 12:50:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "KraYmer",
    "github_project": "pawnhub",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "pawnhub"
}
        
Elapsed time: 0.10499s