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 hashes)
Built Distribution
Close
Hashes for pawnstore-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54b12c81d5872cfa43aa0fd2637afec8e4e423a780ad4a712d9b7028f949135b |
|
MD5 | 950f8fe6e90ec8305e64f08175bcde8a |
|
BLAKE2b-256 | 73d02e08e5a05170e00c9b3c22fbf872d48d1f6159ecb932807afea27e5187dd |