{"id":16876205,"url":"https://github.com/fuyukai/stickney","last_synced_at":"2025-03-19T04:41:56.574Z","repository":{"id":205388270,"uuid":"713524692","full_name":"Fuyukai/Stickney","owner":"Fuyukai","description":"I hate epoll! I hate epoll!","archived":false,"fork":false,"pushed_at":"2023-12-10T06:42:09.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"mizuki","last_synced_at":"2025-01-25T03:39:53.930Z","etag":null,"topics":["anyio","python","trio","websocket"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Fuyukai.png","metadata":{"files":{"readme":"README.rst","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-02T17:38:17.000Z","updated_at":"2023-11-02T22:10:31.000Z","dependencies_parsed_at":"2023-12-10T07:27:40.526Z","dependency_job_id":"21d64387-4b20-4f9a-b3e4-ef138e43d089","html_url":"https://github.com/Fuyukai/Stickney","commit_stats":null,"previous_names":["fuyukai/stickney"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuyukai%2FStickney","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuyukai%2FStickney/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuyukai%2FStickney/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuyukai%2FStickney/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fuyukai","download_url":"https://codeload.github.com/Fuyukai/Stickney/tar.gz/refs/heads/mizuki","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244358339,"owners_count":20440355,"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":["anyio","python","trio","websocket"],"created_at":"2024-10-13T15:38:36.054Z","updated_at":"2025-03-19T04:41:56.552Z","avatar_url":"https://github.com/Fuyukai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Stickney\n========\n\n.. image:: https://img.shields.io/pypi/v/stickney\n   :alt: PyPI - Version\n   :target: https://pypi.org/project/stickney/\n\nStickney is an asynchronous websockets library for `AnyIO`_ and Python 3.11+. This is primarily\ndesigned for Trio (as asyncio is a bastard evil terrible library that deadlocks constantly) usage.\n\nInstallation\n------------\n\nStickney is available on PyPI.\n\n.. code-block:: fish\n\n    $ poetry add stickney@latest\n\nUsage\n-----\n\nCreate a new websocket with the ``open_ws_connection`` function:\n\n.. code-block:: python\n\n    async with open_ws_connection(url=\"wss://example.websocket.server/path?a=b\") as ws:\n        ...\n\nYou can send messages with the ``send_message`` function and receive messages with the\n``receive_single_message`` function. You can also use ``close``, but the WS is closed automatically\nwhen the context manager exits.\n\nThere's not really much else to it. See ``stickney/frames.py`` for the available message types.\n\nNaming\n------\n\nStickney is named after the `Stickney crater`_ on Phobos.\n\n.. _AnyIO: https://anyio.readthedocs.io/en/stable/\n.. _Stickney crater: https://en.wikipedia.org/wiki/Stickney_(crater)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuyukai%2Fstickney","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuyukai%2Fstickney","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuyukai%2Fstickney/lists"}