Skip to main content

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 database

Portmanteau 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)

Uploaded Source

Built Distribution

pawnstore-0.1.1-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

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