{"repo":"EndlessTrax/pgn-to-sqlite","free":true,"listed":false,"github":"https://github.com/EndlessTrax/pgn-to-sqlite","clone":"git clone https://github.com/EndlessTrax/pgn-to-sqlite.git","description":"Pull your Chess games from chess.com and lichess.org into a sqlite3 database.","language":"Python","stars":26,"topics":["chess","pgn","python","sqlite3","database"],"license":"MIT","category":"databases-storage","readme_excerpt":"PGN to SQLite A CLI application for pulling PGN files from Chess.com and Lichess.org and saving your games into a SQLite database. It can also be used to save PGN files from a local folder to a SQLite database. Requirements Python 3.10 or higher is required. Installation It is recommended that you install this package in a virtual or isolated environment. The easiest way to do this is with uv: Alternatively, you can install it with pipx: Or with pip : Usage Fetching Games from Chess.com or Lichess.org To download, parse, and save your games, both --user and --output are required. The fetch command accepts either chess or lichess as an argument for Chess.com and Lichess.org respectively. Example: Note: If you've played a lot of games, be patient—it could take a minute or two to download and process them all. Saving Games from a Local Folder To save games from local PGN files to your database, only --output is required. The save command expects a folder path as an argument. Example: Development This project uses uv for dependency management and development workflows. Setting Up Your Development Environment 1. Install uv if you haven't already: 2. Clone the repository: 3. Sync dependencies and set up the virtual environment: Running Tests Run the test suite with: For coverage reporting: Linting and Formatting This project uses Ruff for linting and formatting: Building the Project To build the package: Contributing Contributions are welcome! Please follow these guidelines: 1. Fil","default_branch":null,"files":null,"tree":[],"storefront":"/r/EndlessTrax","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/EndlessTrax/pgn-to-sqlite/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}