{"id":20332509,"url":"https://github.com/permutationlock/merge-pgn","last_synced_at":"2025-04-11T21:32:59.330Z","repository":{"id":95722155,"uuid":"264678548","full_name":"permutationlock/merge-pgn","owner":"permutationlock","description":"A simple tool to merge several chess games stored in pgn files into a single game with all lines included as variations. Useful for creating pgns for opening trainers such as ChessTempo.","archived":false,"fork":false,"pushed_at":"2021-01-12T06:07:23.000Z","size":1,"stargazers_count":31,"open_issues_count":5,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T17:23:25.099Z","etag":null,"topics":["chess","python-chess"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/permutationlock.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-17T13:54:47.000Z","updated_at":"2024-12-26T18:50:48.000Z","dependencies_parsed_at":"2023-04-26T11:02:17.740Z","dependency_job_id":null,"html_url":"https://github.com/permutationlock/merge-pgn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permutationlock%2Fmerge-pgn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permutationlock%2Fmerge-pgn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permutationlock%2Fmerge-pgn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permutationlock%2Fmerge-pgn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/permutationlock","download_url":"https://codeload.github.com/permutationlock/merge-pgn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248482941,"owners_count":21111404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chess","python-chess"],"created_at":"2024-11-14T20:27:03.017Z","updated_at":"2025-04-11T21:32:59.323Z","avatar_url":"https://github.com/permutationlock.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Merge-PGN\n\nA simple tool for merging several pgn games into a single pgn with one\ngame including all moves as variations. All headers and comments are ignored as\nthis is designed only to manipulate the move lines.\n\nRequires you to have [python-chess](https://python-chess.readthedocs.io)\ninstalled.\n\n```\npip install python-chess\n```\n\nI needed this tool to construct pgn files to upload to ChessTempo's opening\ntrainer.\n\nExample:\n```\npython merge-pgn.py \"game1.pgn\" \"game2.pgn\" \"games3-7.pgn\" \u003e \"all_games.pgn\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpermutationlock%2Fmerge-pgn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpermutationlock%2Fmerge-pgn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpermutationlock%2Fmerge-pgn/lists"}