chess library to import your PGN games in a local database
Project description
/pɔːnstɔʁ/ :
chess library to import your PGN games in a local databasePortmanteau word from :1. pawns: defined by Philidor as “The soul of chess”2. datastore: repository for persistently storing and managing collections of data
Features
centralized access to your online and OTB chess games
chess.com and lichess.org importers
user-centric data representation to facilitate extraction of your own statistics
Example
import pawnstore as ps from pawnstore.models import Panwstore store = Pawnstore(chesscom=("neTinquietePas", "xxx"), lichess=("kraymer", "xxx")) store.filter(side=ps.side.WHITE, eco=ps.eco.C44, result=ps.result.WIN).order_by("date").limit(3)
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
pawnstore-0.1.1.tar.gz
(7.0 kB
view details)
Built Distribution
File details
Details for the file pawnstore-0.1.1.tar.gz
.
File metadata
- Download URL: pawnstore-0.1.1.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/35.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.4 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a7a39cf13bcc0bbf44a0341027a77511937765d4b1f85d455da1b5b21774c7a |
|
MD5 | c581d3f6c359fa262aa09eb075387c22 |
|
BLAKE2b-256 | 92ad20ba39525daced2846883df772a7f560e1a763a3619881737e577916f65a |
File details
Details for the file pawnstore-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: pawnstore-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/35.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.4 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54b12c81d5872cfa43aa0fd2637afec8e4e423a780ad4a712d9b7028f949135b |
|
MD5 | 950f8fe6e90ec8305e64f08175bcde8a |
|
BLAKE2b-256 | 73d02e08e5a05170e00c9b3c22fbf872d48d1f6159ecb932807afea27e5187dd |