Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Library to process 2 players' games recordings (only chess now)

Project description

**gamerec** is Python package intended to help process game recordings for 2 payers' games.
File with game records can be loaded to Python collection object, be manipulated by user Python code,
and then be saved back to file. Current very limited version of package only supports Chess game
and only .pgn file meta-data.

Below is an example of package use to save games from .pgn file to SQLite database:
from import ChessGameCollection as PGNChessGC
from import ChessGameCollection as SQLiteChessGC

PGNFile = sys.argv[1]
SQLFile = sys.argv[2]

pgngc = PGNChessGC()
sqlgc = SQLiteChessGC() =
sqlgc.coding = "utf_8"

Consider installing [normalizePGN]( which is an example of
how this package may be used.

For more information see files and included in source-ball or
in typical installation using pip deployed to folders:
- /usr/local/share/doc/gamerec (Linux)
- C:\Python35\doc\gamerec (Windows) or
- <USER>\AppData\Local\Programs\Python\Python35-32\Doc\gamerec

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
gamerec-0.1.0.tar.gz (11.5 kB) Copy SHA256 hash SHA256 Source None Feb 6, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page