{"id":43484541,"url":"https://github.com/snower/sevent","last_synced_at":"2026-02-03T09:03:45.534Z","repository":{"id":16426646,"uuid":"19177954","full_name":"snower/sevent","owner":"snower","description":"The highest performance event loop.","archived":false,"fork":false,"pushed_at":"2025-12-23T07:28:02.000Z","size":541,"stargazers_count":14,"open_issues_count":0,"forks_count":21,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-27T14:08:34.609Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"clowwindy/ssloop","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/snower.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,"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}},"created_at":"2014-04-26T13:26:39.000Z","updated_at":"2025-12-23T07:19:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba278e3c-d314-44de-b827-b6838190b502","html_url":"https://github.com/snower/sevent","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/snower/sevent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snower%2Fsevent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snower%2Fsevent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snower%2Fsevent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snower%2Fsevent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snower","download_url":"https://codeload.github.com/snower/sevent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snower%2Fsevent/sbom","scorecard":{"id":834925,"data":{"date":"2025-08-11","repo":{"name":"github.com/snower/sevent","commit":"ae26ca00bebf5c30cc8472982f839b5a7ff2d49c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/docker-release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docker-release.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/snower/sevent/docker-release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker-release.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/snower/sevent/docker-release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker-release.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/snower/sevent/docker-release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker-release.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/snower/sevent/docker-release.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating python:3.13-slim to python:3.13-slim@sha256:4d55aff3915a8622fdb8e6ab3645992de771bd97c3dd1279860cd5e18bcd7582","Warn: pipCommand not pinned by hash: Dockerfile:9-10","Warn: pipCommand not pinned by hash: Dockerfile:9-10","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.4.37 not signed: https://api.github.com/repos/snower/sevent/releases/230746842","Warn: release artifact v0.4.36 not signed: https://api.github.com/repos/snower/sevent/releases/228588003","Warn: release artifact v0.4.35 not signed: https://api.github.com/repos/snower/sevent/releases/228300808","Warn: release artifact v0.4.34 not signed: https://api.github.com/repos/snower/sevent/releases/228222943","Warn: release artifact v0.4.33 not signed: https://api.github.com/repos/snower/sevent/releases/228003138","Warn: release artifact v0.4.37 does not have provenance: https://api.github.com/repos/snower/sevent/releases/230746842","Warn: release artifact v0.4.36 does not have provenance: https://api.github.com/repos/snower/sevent/releases/228588003","Warn: release artifact v0.4.35 does not have provenance: https://api.github.com/repos/snower/sevent/releases/228300808","Warn: release artifact v0.4.34 does not have provenance: https://api.github.com/repos/snower/sevent/releases/228222943","Warn: release artifact v0.4.33 does not have provenance: https://api.github.com/repos/snower/sevent/releases/228003138"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/docker-release.yml:18"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}}]},"last_synced_at":"2025-08-23T18:44:33.792Z","repository_id":16426646,"created_at":"2025-08-23T18:44:33.792Z","updated_at":"2025-08-23T18:44:33.792Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29039341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T08:41:49.363Z","status":"ssl_error","status_checked_at":"2026-02-03T08:40:19.255Z","response_time":96,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-02-03T09:03:43.193Z","updated_at":"2026-02-03T09:03:45.519Z","avatar_url":"https://github.com/snower.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sevent\r\n\r\nThe highest performance event loop.\r\n\r\n# Examples\r\n\r\n ### Simple Http Client\r\n \r\n```python\r\nimport sevent\r\n\r\ndef on_data(s, data):\r\n    print(data.decode(\"utf-8\"))\r\n\r\ns = sevent.tcp.Socket()\r\ns.on_data(on_data)\r\ns.on_close(lambda s: sevent.current().stop())\r\ns.connect(('www.google.com', 80))\r\ns.write(b'GET / HTTP/1.1\\r\\nHost: www.google.com\\r\\nConnection: Close\\r\\nUser-Agent: curl/7.58.0\\r\\nAccept: */*\\r\\n\\r\\n')\r\n\r\nsevent.instance().start()\r\n```\r\n\r\n```python\r\nimport sevent\r\n\r\nasync def http_test():\r\n    s = sevent.tcp.Socket()\r\n    await s.connectof(('www.google.com', 80))\r\n    await s.send(b'GET / HTTP/1.1\\r\\nHost: www.google.com\\r\\nConnection: Close\\r\\nUser-Agent: curl/7.58.0\\r\\nAccept: */*\\r\\n\\r\\n')\r\n\r\n    data = b''\r\n    while True:\r\n        try:\r\n            data += (await s.recv()).read()\r\n        except sevent.tcp.SocketClosed:\r\n            break\r\n    print(data.decode(\"utf-8\"))\r\n    await s.closeof()\r\n\r\nsevent.run(http_test)\r\n```\r\n\r\n### Simple TCP Port Forward\r\n\r\n```python\r\nimport sys\r\nimport sevent\r\n\r\ndef on_connection(server, conn):\r\n    pconn = sevent.tcp.Socket()\r\n    pconn.connect((sys.argv[2], int(sys.argv[3])))\r\n    conn.link(pconn)\r\n\r\nserver = sevent.tcp.Server()\r\nserver.on_connection(on_connection)\r\nserver.listen((\"0.0.0.0\", int(sys.argv[1])))\r\nsevent.instance().start()\r\n```\r\n\r\n```python\r\nimport sys\r\nimport sevent\r\n\r\nasync def tcp_port_forward_server():\r\n    server = sevent.tcp.Server()\r\n    server.listen((\"0.0.0.0\", int(sys.argv[1])))\r\n\r\n    while True:\r\n        conn = await server.accept()\r\n        pconn = sevent.tcp.Socket()\r\n        pconn.connect((sys.argv[2], int(sys.argv[3])))\r\n        conn.link(pconn)\r\n\r\nsevent.run(tcp_port_forward_server)\r\n```\r\n\r\n# License\r\n\r\nsevent uses the MIT license, see LICENSE file for the details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnower%2Fsevent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnower%2Fsevent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnower%2Fsevent/lists"}