{"id":22398432,"url":"https://github.com/etrusci-org/kmzshuffle","last_synced_at":"2026-07-17T03:34:53.554Z","repository":{"id":238505161,"uuid":"796699778","full_name":"etrusci-org/kmzshuffle","owner":"etrusci-org","description":"Shuffle the order of placemark's in a folder from Google Earth kmz files.","archived":false,"fork":false,"pushed_at":"2024-06-30T21:01:41.000Z","size":132,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-17T22:35:26.796Z","etag":null,"topics":["google-earth","kmz","kmz-files","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/etrusci-org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-05-06T13:13:11.000Z","updated_at":"2024-06-30T21:01:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"9169a55a-68f5-4e42-8462-38fd765b3b0d","html_url":"https://github.com/etrusci-org/kmzshuffle","commit_stats":null,"previous_names":["etrusci-org/kmzshuffle"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/etrusci-org/kmzshuffle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etrusci-org%2Fkmzshuffle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etrusci-org%2Fkmzshuffle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etrusci-org%2Fkmzshuffle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etrusci-org%2Fkmzshuffle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/etrusci-org","download_url":"https://codeload.github.com/etrusci-org/kmzshuffle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etrusci-org%2Fkmzshuffle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35566568,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-17T02:00:06.162Z","response_time":116,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["google-earth","kmz","kmz-files","python"],"created_at":"2024-12-05T07:10:38.026Z","updated_at":"2026-07-17T03:34:53.537Z","avatar_url":"https://github.com/etrusci-org.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kmzshuffle\n\nShuffle the order of placemark's in a folder from [Google Earth](https://earth.google.com) kmz files.\n\nThe original file won't be touched. E.g. if your input file is foo.kmz, the output will be named foo_shuffled.kmz.\n\n**Why**: In Google Earth you can only sort a folder with placemarks by A-Z but not randomize the order. This is my quick solution. Didn't test it much - it works with the files I have and it should also with yours.\n\nYou can test with the example files in the [doc directory](./doc).\n\n**Also**: Python's built-in xml module is not my friend, so there you have the answer if the method to accomplish the task irritates you 👽\n\n\n\n\n## Dependencies\n\n- [Python](https://python.org) `\u003e= 3.11.2`\n\n\n\n\n## Usage\n\n```text\nkmzshuffle.py [-h] [-i FILEPATH] [-y]\n\noptions:\n  -h, --help   show this help message and exit\n  -i FILEPATH  path to the kmz file to read, default: \u003ccurrent_working_directory\u003e/places.kmz\n  -y           do not ask for confirmation before starting, default: ask for confirmation\n```\n\n```bash\n# get help\nkmzshuffle.py -h\nkmzshuffle.py --help\n\n# run with defaults\nkmzshuffle.py\n\n# change input file path\nkmzshuffle.py -i /path/to/input.kmz\n\n# skip confirmation with\nkmzshuffle.py -y\n\n# combine options\nkmzshuffle.py -y -i /path/to/input.kmz\n```\n\n\n\n\n## Create Placemarks Folder in Google Earth\n\nCreate kmz file from a folder with placemarks. Right-click on folder and select *Save Place as...*:\n![1](./doc/1.png)\n\nGive it a name and save as kmz:  \n![1](./doc/2.png)\n\nRun kmzshuffle:  \n![1](./doc/3.png)\n\nTest shuffled places. Open places_shuffled.kmz in Google Earth again:  \n![1](./doc/4.png)\n\n\n\n\n\n## License\n\n[The Unlicense](./LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetrusci-org%2Fkmzshuffle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fetrusci-org%2Fkmzshuffle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetrusci-org%2Fkmzshuffle/lists"}