{"id":23477149,"url":"https://github.com/scriptlinestudios/pybiomes","last_synced_at":"2026-03-02T19:07:38.441Z","repository":{"id":267527926,"uuid":"901532818","full_name":"ScriptLineStudios/pybiomes","owner":"ScriptLineStudios","description":"Python bindings for cubiomes","archived":false,"fork":false,"pushed_at":"2025-01-14T12:30:43.000Z","size":293,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-14T13:44:13.022Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/ScriptLineStudios.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-12-10T20:45:25.000Z","updated_at":"2025-01-14T12:30:46.000Z","dependencies_parsed_at":"2025-01-02T21:27:54.695Z","dependency_job_id":"71d1fd0d-8b05-4fee-b3bf-d896dde39339","html_url":"https://github.com/ScriptLineStudios/pybiomes","commit_stats":null,"previous_names":["scriptlinestudios/pybiomes"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScriptLineStudios%2Fpybiomes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScriptLineStudios%2Fpybiomes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScriptLineStudios%2Fpybiomes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScriptLineStudios%2Fpybiomes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScriptLineStudios","download_url":"https://codeload.github.com/ScriptLineStudios/pybiomes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239099677,"owners_count":19581488,"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":[],"created_at":"2024-12-24T18:16:51.959Z","updated_at":"2025-10-31T03:30:35.326Z","avatar_url":"https://github.com/ScriptLineStudios.png","language":"C","readme":"# pybiomes\nPython bindings for cubiomes (currently incomplete)\n\n# installation\n\nTested on Linux, but should work fine on Windows.\n\n```bash\ngit clone https://github.com/ScriptLineStudios/pybiomes --recursive\npip install -e .\n```\n\n# examples\n\nSearching for mushroom islands.\n```python\nimport pybiomes\n\nfrom pybiomes.versions import MC_1_21_1\nfrom pybiomes.dimensions import DIM_OVERWORLD\n\ngenerator = pybiomes.Generator(MC_1_21_1, 0)\n\nfor seed in range(100000):\n    generator.apply_seed(seed, DIM_OVERWORLD)\n    biome_id = generator.get_biome_at(1, 0, 60, 0)\n    if biome_id == pybiomes.biomes.mushroom_fields:\n        print(seed)\n```\n\nSearching for outposts.\n```python\nimport pybiomes\n\nfrom pybiomes.versions import MC_1_21_1\nfrom pybiomes.dimensions import DIM_OVERWORLD\n\nfinder = pybiomes.Finder(MC_1_21_1)\ngenerator = pybiomes.Generator(MC_1_21_1, 0)\n\nfor lower48 in range(1000000):\n    pos = finder.get_structure_pos(pybiomes.structures.Outpost, lower48, 0, 0)\n    \n    if not pos:\n        continue\n\n    if pos.x \u003e= 16 or pos.z \u003e= 16:\n        continue\n\n    for upper16 in range(0x10000):\n        seed = lower48 | (upper16 \u003c\u003c 48)\n        generator.apply_seed(seed, DIM_OVERWORLD)\n\n        if generator.is_viable_structure_pos(pybiomes.structures.Outpost, pos.x, pos.z, 0):\n            print(seed) \n            exit()\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptlinestudios%2Fpybiomes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscriptlinestudios%2Fpybiomes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptlinestudios%2Fpybiomes/lists"}