Skip to main content

[![](https://pepy.tech/badge/pawnstore)](https://pepy.tech/project/pawnstore)

# pawnstore ♟

> /pɔːnstɔʁ/ : > > n. 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"))
>>> for game in store.filter(white=True).limit(3):
    print(game)
neTinquietePas x rms1952
neTinquietePas x AnselmoBarrena
neTinquietePas x samisamuel
>>> print(game.as_dict().keys())
dict_keys(['id', 'slug', 'analysis', 'eco', 'eco_name', 'elo', 'moves', 'num_moves', 'opp_elo', 'opp_name', 'pgn', 'result', 'termination', 'speed', 'term', 'timestamp', 'user', 'accuracy', 'time_control', 'website', 'white'])

Metadata

Release files for pawnstore 0.2.2

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

Source distribution (sdist)

Source distribution for pawnstore 0.2.2
File Size Uploaded Provenance
pawnstore-0.2.2.tar.gz 6.1 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 12.6 kB

Release files / pawnstore-0.2.2.tar.gz

Download URL pawnstore-0.2.2.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
26ace46d7258d515c555e15ee4b37a42a17b606a1c023aaad0def8ab75fcbcaa
BLAKE2b-256 checksum
How to use checksums
0e596ab2ad6d722d1d422e6cbdf512d3485299b89022815124ffbd2e5e25c2d7
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 / pawnstore-0.2.2-py3-none-any.whl

Download URL pawnstore-0.2.2-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f54da6f303ff03a16e5f4e1ab639eca49b37f577a3f2dab79fc6ecb910729cf
BLAKE2b-256 checksum
How to use checksums
a985a03c0570fb3aefbfe51becdd9264ced18f5946b3907a51ee639343e390cd
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 pawnstore 0.2.2

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