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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03c435eae5aff115b607e5c6f4f6b660792762b00e69cca471a2a43a944465cd
|
|
| MD5 |
e1b7185f3929761d11df0448e017713c
|
|
| BLAKE2b-256 |
e9c49a9cff7dc7ba8a9b5896ca1f6958d399f24e1c19c4e592d460c409cf28be
|
Provenance
The following attestation bundles were made for chess_to_sqlite-0.1.0.tar.gz:
Publisher:
publish.yml on janschill/chess-to-sqlite
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chess_to_sqlite-0.1.0.tar.gz -
Subject digest:
03c435eae5aff115b607e5c6f4f6b660792762b00e69cca471a2a43a944465cd - Sigstore transparency entry: 1005376608
- Sigstore integration time:
-
Permalink:
janschill/chess-to-sqlite@5c45ad79e22e4cdcebf58346507aa20fd19f5eb1 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/janschill
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5c45ad79e22e4cdcebf58346507aa20fd19f5eb1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file chess_to_sqlite-0.1.0-py3-none-any.whl.
File metadata
- Download URL: chess_to_sqlite-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb1ecb0c9d6ba3de45cf318cdec555d864f064901d8147480ce8c14ae5520fab
|
|
| MD5 |
f3775f12c4f96d800acc043051b3f678
|
|
| BLAKE2b-256 |
fc34fd18871ef7bc65170d4a8cc13f3ee6fb26cbcbc8bfb723b739f92e5505ef
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chess_to_sqlite-0.1.0-py3-none-any.whl -
Subject digest:
cb1ecb0c9d6ba3de45cf318cdec555d864f064901d8147480ce8c14ae5520fab - Sigstore transparency entry: 1005376610
- Sigstore integration time:
-
Permalink:
janschill/chess-to-sqlite@5c45ad79e22e4cdcebf58346507aa20fd19f5eb1 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/janschill
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5c45ad79e22e4cdcebf58346507aa20fd19f5eb1 -
Trigger Event:
push
-
Statement type: