Skip to main content

Import PGN chess games into a SQLite database

Project description

chess-to-sqlite

Import PGN chess games into a SQLite database.

Works with exports from Lichess, Chess.com, or any standard PGN source.

Installation

pip install chess-to-sqlite

Usage

chess-to-sqlite games.pgn chess.db

Add player perspective columns:

chess-to-sqlite games.pgn chess.db --player janschill

Options:

--table TEXT     Target table name (default: games)
--player TEXT    Your username — adds my_color, my_result, etc.
--silent         Suppress progress output
--version        Show version
--help           Show help

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

chess_to_sqlite-0.1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chess_to_sqlite-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file chess_to_sqlite-0.1.0.tar.gz.

File metadata

  • Download URL: chess_to_sqlite-0.1.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for chess_to_sqlite-0.1.0.tar.gz
Algorithm Hash digest
SHA256 03c435eae5aff115b607e5c6f4f6b660792762b00e69cca471a2a43a944465cd
MD5 e1b7185f3929761d11df0448e017713c
BLAKE2b-256 e9c49a9cff7dc7ba8a9b5896ca1f6958d399f24e1c19c4e592d460c409cf28be

See more details on using hashes here.

Provenance

The following attestation bundles were made for chess_to_sqlite-0.1.0.tar.gz:

Publisher: publish.yml on janschill/chess-to-sqlite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chess_to_sqlite-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for chess_to_sqlite-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb1ecb0c9d6ba3de45cf318cdec555d864f064901d8147480ce8c14ae5520fab
MD5 f3775f12c4f96d800acc043051b3f678
BLAKE2b-256 fc34fd18871ef7bc65170d4a8cc13f3ee6fb26cbcbc8bfb723b739f92e5505ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for chess_to_sqlite-0.1.0-py3-none-any.whl:

Publisher: publish.yml on janschill/chess-to-sqlite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page