{"id":30660675,"url":"https://github.com/felixwolf/pymetaverse","last_synced_at":"2025-08-31T14:12:29.923Z","repository":{"id":299757738,"uuid":"1004076750","full_name":"FelixWolf/pymetaverse","owner":"FelixWolf","description":"Python Library for Second Life","archived":false,"fork":false,"pushed_at":"2025-08-30T01:21:24.000Z","size":194,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-30T03:18:34.578Z","etag":null,"topics":["bot","metaverse","python3","second-life","zlib-license"],"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/FelixWolf.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"patreon":"softhyena"}},"created_at":"2025-06-18T04:55:02.000Z","updated_at":"2025-08-30T01:21:27.000Z","dependencies_parsed_at":"2025-07-05T00:26:37.221Z","dependency_job_id":"c46bcfb2-0b3d-45db-b487-867981308a7d","html_url":"https://github.com/FelixWolf/pymetaverse","commit_stats":null,"previous_names":["felixwolf/pymetaverse"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FelixWolf/pymetaverse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FelixWolf%2Fpymetaverse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FelixWolf%2Fpymetaverse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FelixWolf%2Fpymetaverse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FelixWolf%2Fpymetaverse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FelixWolf","download_url":"https://codeload.github.com/FelixWolf/pymetaverse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FelixWolf%2Fpymetaverse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272988919,"owners_count":25026961,"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","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"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":["bot","metaverse","python3","second-life","zlib-license"],"created_at":"2025-08-31T14:12:26.229Z","updated_at":"2025-08-31T14:12:29.915Z","avatar_url":"https://github.com/FelixWolf.png","language":"Python","funding_links":["https://patreon.com/softhyena"],"categories":[],"sub_categories":[],"readme":"[![License](https://img.shields.io/pypi/l/metaverse.svg)](https://pypi.python.org/pypi/metaverse/)\n[![PyPI version shields.io](https://img.shields.io/pypi/v/metaverse.svg)](https://pypi.python.org/pypi/metaverse/)\n\n# PyMetaverse\nA library for connecting to Second Life, OpenSimulator, or other compatible grids.\n\n# Simple bot example\n```py\nimport asyncio\nimport datetime\nfrom metaverse import login\nfrom metaverse.bot import SimpleBot\nfrom metaverse.const import *\n\nbot = SimpleBot()\n\n@bot.on(\"message\", name=\"ChatFromSimulator\")\ndef ChatFromSimulator(simulator, message):\n    # Ignore start / stop\n    if message.ChatData.ChatType in (4, 5):\n        return\n    \n    sender = message.ChatData.FromName.rstrip(b\"\\0\").decode()\n    text = message.ChatData.Message.rstrip(b\"\\0\").decode()\n    \n    if text == \"logout\":\n        bot.say(0, \"Ok!\")\n        bot.logout()\n        \n    print(\"[{}] {}: {}\".format(\n        datetime.datetime.now().strftime(\"%Y-%M-%d %H:%m:%S\"),\n        sender,\n        text\n    ))\n\nasync def main():\n    await bot.login((\"Example\", \"Resident\"), \"password\")\n    await bot.run()\n\n# Run everything\nasyncio.run(main())\n```\n\n# Similar Projects\n* Second Life Viewer (C++) - https://github.com/secondlife/viewer\n* LibreMetaverse (C#) - https://github.com/cinderblocks/libremetaverse\n* Node Metaverse (NodeJS) - https://github.com/CasperTech/node-metaverse","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelixwolf%2Fpymetaverse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelixwolf%2Fpymetaverse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelixwolf%2Fpymetaverse/lists"}