

This will save you time, and increase the chances of your PR being merged without significant changes. Please raise an issue before making a PR, so that the issue and implementation can be discussed before you write any code. If you have feature requests, please file an issue and use the appropriate label. \chess \games \ Feedback and Contribution

save expects a folder path as an argument.Įxample: pgn-to-sqlite -o data.db save. Output is required when saving games from local pgn files to your database.

If you've played a lot of games, be patient, it could take a minute or two. fetch accepts with chess or lichess as an argument for and respectively.Įxample: pgn-to-sqlite -u endlesstrax -o data.db fetch lichess Username and output are required when using fetch to download, parse, and save your games to your database. Save Fetch all pgn file from the given folder.įetch games from or o, -output FILE Where you would like your database saved? įetch Fetch all games from the requested site. u, -user TEXT You username for the chess site. Type `pgn-to-sqlite -help ` for more information. Save your chess games to an sqlite database.
#Putting odds in pgn chess install
Windows: python -m pip install pgn_to_sqlite Usage Usage: pgn-to-sqlite COMMAND. MacOS / Linux: python3 -m pip install pgn_to_sqlite A cli application for pulling pgn files from and and putting your games into a sqlite database.
