{"id":50809421,"url":"https://github.com/ericvaladas/pyda","last_synced_at":"2026-06-13T03:14:32.590Z","repository":{"id":29969987,"uuid":"33516916","full_name":"ericvaladas/pyda","owner":"ericvaladas","description":"A Dark Ages client written in Python","archived":false,"fork":false,"pushed_at":"2017-10-01T16:18:14.000Z","size":29,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-03-25T13:05:59.617Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ericvaladas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-07T02:14:48.000Z","updated_at":"2016-12-20T02:01:39.000Z","dependencies_parsed_at":"2022-09-07T18:12:51.420Z","dependency_job_id":null,"html_url":"https://github.com/ericvaladas/pyda","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/ericvaladas/pyda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericvaladas%2Fpyda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericvaladas%2Fpyda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericvaladas%2Fpyda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericvaladas%2Fpyda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericvaladas","download_url":"https://codeload.github.com/ericvaladas/pyda/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericvaladas%2Fpyda/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34270550,"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-06-13T02:00:06.617Z","response_time":62,"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":[],"created_at":"2026-06-13T03:14:32.076Z","updated_at":"2026-06-13T03:14:32.573Z","avatar_url":"https://github.com/ericvaladas.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyda\nA Dark Ages client written in Python\n\nThis project is a language rewrite of kojasou's [consoleda](https://github.com/kojasou/consoleda).\n\n### Setup\nClone this repository.\n```sh\ngit clone https://github.com/ericvaladas/pyda.git\n```\n\n### Usage\nExtend the base Client class and override the packet handlers.\n```py\nfrom client import Client as _Client\n\nclass Client(_Client):\n    def packet_handler_0x0A_system_message(self, packet):\n        packet.read_byte()\n        message = packet.read_string16()\n        print(message)\n\nClient.run('username', 'password')\n```\nWant to reconnect after being disconnected? No problem.\n```py\nclass Client(_Client):\n    def handle_recv(self, recv_buffer):\n        super(Client, self).handle_recv(recv_buffer)\n        if not recv_buffer:\n            self.reconnect()\n```\n\n### Todo\n- Implement [a better IO Loop](http://tornado.readthedocs.org/en/latest/ioloop.html)\n- ~~Generate a working client ID for login~~\n- Add more packet handlers\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericvaladas%2Fpyda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericvaladas%2Fpyda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericvaladas%2Fpyda/lists"}