{"id":15655028,"url":"https://github.com/torxed/slimws","last_synced_at":"2025-08-25T13:18:35.104Z","repository":{"id":57468421,"uuid":"106870755","full_name":"Torxed/slimWS","owner":"Torxed","description":"WebSocket API engine.","archived":false,"fork":false,"pushed_at":"2021-03-20T12:58:03.000Z","size":465,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T13:16:14.205Z","etag":null,"topics":["http","https","json","minimal","not-secure","server","tiny","vhost","web","websocket"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Torxed.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}},"created_at":"2017-10-13T20:33:17.000Z","updated_at":"2021-08-01T04:07:35.000Z","dependencies_parsed_at":"2022-09-19T09:31:38.831Z","dependency_job_id":null,"html_url":"https://github.com/Torxed/slimWS","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torxed%2FslimWS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torxed%2FslimWS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torxed%2FslimWS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torxed%2FslimWS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Torxed","download_url":"https://codeload.github.com/Torxed/slimWS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248665189,"owners_count":21142118,"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":["http","https","json","minimal","not-secure","server","tiny","vhost","web","websocket"],"created_at":"2024-10-03T12:55:34.912Z","updated_at":"2025-04-13T04:35:45.268Z","avatar_url":"https://github.com/Torxed.png","language":"Python","readme":"# \u003cimg src=\"https://github.com/Torxed/slimWS/raw/master/docs/_static/slimWS.png\" alt=\"drawing\" width=\"200\"/\u003e\nWebSocket framework writtein in Python.\u003cbr\u003e\nWorks standalone but is preferred as `@upgrader` for [slimHTTP](https://github.com/Torxed/slimHTTP). \n\n * slimWS [documentation](https://slimws.readthedocs.io/en/latest)\n * slimWS via slimHTTP's [discord](https://discord.gg/CMjZbwR) server\n\n# Installation\n\n### pypi\n\n    pip install slimWS\n\n### Git it to a project\n\n    git submodule add -b master https://github.com/Torxed/slimWS.git \n\n*(Or just `git clone https://github.com/Torxed/slimWS.git`)*\n\n# Usage\n\nMost examples will be found under the [documentation](https://slimws.readthedocs.io/en/latest), but here's a quick one.\n\n```python\nfrom slimWS import slimws\n\nserver = slimws.host(address='', port=4001)\n\n@server.frame\ndef parse_frame(self, frame):\n\tprint('Got WebSocket frame:', frame.data)\n\tyield {'status' : 'successful'}\n\nwhile 1:\n\tfor event, *event_data in server.poll():\n\t\tpass\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorxed%2Fslimws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorxed%2Fslimws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorxed%2Fslimws/lists"}