{"id":41051304,"url":"https://github.com/vectorhacker/pygeteventstore","last_synced_at":"2026-01-22T11:27:44.773Z","repository":{"id":57433984,"uuid":"81959892","full_name":"vectorhacker/pygeteventstore","owner":"vectorhacker","description":"A client for Event Store, the open-source, functional database with Complex Event Processing, written in python","archived":false,"fork":false,"pushed_at":"2017-11-27T14:31:20.000Z","size":1583,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-19T15:58:40.328Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vectorhacker.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-02-14T15:33:09.000Z","updated_at":"2022-04-12T14:08:49.000Z","dependencies_parsed_at":"2022-08-27T21:11:03.401Z","dependency_job_id":null,"html_url":"https://github.com/vectorhacker/pygeteventstore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vectorhacker/pygeteventstore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vectorhacker%2Fpygeteventstore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vectorhacker%2Fpygeteventstore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vectorhacker%2Fpygeteventstore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vectorhacker%2Fpygeteventstore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vectorhacker","download_url":"https://codeload.github.com/vectorhacker/pygeteventstore/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vectorhacker%2Fpygeteventstore/sbom","scorecard":{"id":917768,"data":{"date":"2025-08-11","repo":{"name":"github.com/vectorhacker/pygeteventstore","commit":"b3fa2acb9bb450e037d3100a86021cc6eb2d2e4c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"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"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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/29 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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":4,"reason":"binaries present in source code","details":["Warn: binary detected: venv/bin/python:1","Warn: binary detected: venv/bin/python3:1","Warn: binary detected: venv/bin/python3.6:1","Warn: binary detected: venv/lib/python3.6/site-packages/aiohttp/_websocket.cpython-36m-darwin.so:1","Warn: binary detected: venv/lib/python3.6/site-packages/multidict/_multidict.cpython-36m-darwin.so:1","Warn: binary detected: venv/lib/python3.6/site-packages/yarl/_quoting.cpython-36m-darwin.so:1"],"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":"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":["Info: Possibly incomplete results: error parsing shell code: invalid UTF-8 encoding: venv/lib/python3.6/site-packages/setuptools-18.1-py3.6.egg:0"],"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"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":0,"reason":"17 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2023-120 / GHSA-45c4-8wx5-qw6w","Warn: Project is vulnerable to: GHSA-5m98-qgg9-wh84","Warn: Project is vulnerable to: GHSA-7gpw-8wmc-pm8g","Warn: Project is vulnerable to: GHSA-8495-4g3g-x7pr","Warn: Project is vulnerable to: PYSEC-2024-26 / GHSA-8qpw-xqxj-h4r2","Warn: Project is vulnerable to: GHSA-9548-qrrj-x5pj","Warn: Project is vulnerable to: PYSEC-2023-246 / GHSA-gfw2-4jvh-wgfg","Warn: Project is vulnerable to: GHSA-pjjw-qhg8-p2p9","Warn: Project is vulnerable to: PYSEC-2023-250 / GHSA-q3qx-c6g2-7pw2","Warn: Project is vulnerable to: PYSEC-2023-251 / GHSA-qvrw-v9rv-5rjx","Warn: Project is vulnerable to: PYSEC-2021-76 / GHSA-v6wp-4m6f-gcjg","Warn: Project is vulnerable to: PYSEC-2023-247 / GHSA-xx9p-xxvh-7g8j","Warn: Project is vulnerable to: PYSEC-2011-18 / GHSA-3mwg-gp5g-fv3q","Warn: Project is vulnerable to: PYSEC-2012-14 / GHSA-hjf3-r7gw-9rwg","Warn: Project is vulnerable to: PYSEC-2011-19","Warn: Project is vulnerable to: PYSEC-2011-20","Warn: Project is vulnerable to: PYSEC-2011-21"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T21:48:33.113Z","repository_id":57433984,"created_at":"2025-08-24T21:48:33.113Z","updated_at":"2025-08-24T21:48:33.113Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28662058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"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-01-22T11:27:44.113Z","updated_at":"2026-01-22T11:27:44.768Z","avatar_url":"https://github.com/vectorhacker.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"geteventstore\n========================\n\nThis is a simple implementation of the Event Store client for the HTTP interface. It uses asyncio to asyncly parse events\n\n## Reference\n\nAccessing the Event Store\n\n### Client\n\n`Client(options) -\u003e client`\n\nCreates a new event store client. The keyword arguments are:\n\n- `host`: host of the RethinkDB instance. The default value is `localhost`.\n- `port`: the driver port, by default `2113`.\n- `loop`: the asyncio event loop, by default `asyncio.get_event_loop()`\n\n*Example*: Create a new client to the default event store\n\n```python\nloop=asyncio.get_event_loop()\nclient = geteventstore.Client(loop=loop)\n```\n\n### stream_reader\n\n`client.stream_reader(options) -\u003e Reader`\n\nCreates a stream reader. The keyword arguments are:\n\n- `stream`: the stream to read from.\n\n*Example*: Create a new stream readers\n\n```python\nimport geteventstore\nimport asyncio\n\nasync def test(loop):\n    try:\n        current = 0\n        poll = 10\n        while True:\n            current = await get_events(loop, current, poll)\n    except KeyboardInterrupt:\n        return\n\nasync def get_events(loop, current=0, poll=0):\n    client = geteventstore.Client(loop=loop)\n    reader = client.stream_reader('flyers')\n    reader.next_version = current\n    if poll \u003e 0:\n        reader.long_poll(poll)\n\n    async for event, meatadata, updated in reader:\n        print(event)\n        print(metadata)\n        print(updated)\n    return reader.next_version\n\nif __name__ == '__main__':\n    loop = asyncio.get_event_loop()\n    loop.run_until_complete(test(loop))\n```\n\n### Reader\n\n`geteventstore.Reader(options) -\u003e Reader`\n\nCreates a stream reader. The keyword arguments are:\n\n- `stream`: the stream to read from\n- `client`: the geteventstore client\n- `feed_parser`: the feed parser to use, defaults to `feedparser`. Must be compatible with feedparser\n- `http`: the http client to use, defaults to `aiohttp`. Must be compatible with aiohttp\n\n*Example*: Create a new stream and read from *text*\n\n```python\nimport geteventstore\nimport asyncio\n\nasync def test(loop):\n    try:\n        current = 0\n        poll = 10\n        while True:\n            current = await get_events(loop, current, poll)\n    except KeyboardInterrupt:\n        return\n\nasync def get_events(loop, current=0, poll=0):\n    client = geteventstore.Client(loop=loop)\n    reader = geteventstore.Reader('flyers', client)\n    reader.next_version = current\n    if poll \u003e 0:\n        reader.long_poll(poll)\n\n    async for event, _, updated in reader:\n        print(event.id)\n        print(updated)\n    return reader.next_version\n\nif __name__ == '__main__':\n    loop = asyncio.get_event_loop()\n    loop.run_until_complete(test(loop))\n```\n\nTODO:\n\n- [-] Read from stream\n    - [x] Catchup subscription\n    - [x] Volatile Subscriptions\n    - [ ] Persistent Subscription\n- [x] Write to stream","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvectorhacker%2Fpygeteventstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvectorhacker%2Fpygeteventstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvectorhacker%2Fpygeteventstore/lists"}