{"id":16367159,"url":"https://github.com/snower/pyslock","last_synced_at":"2025-09-02T16:51:44.252Z","repository":{"id":62583544,"uuid":"142418454","full_name":"snower/pyslock","owner":"snower","description":"slock python client","archived":false,"fork":false,"pushed_at":"2021-12-28T09:13:31.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-24T22:33:16.575Z","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/snower.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":"2018-07-26T09:21:33.000Z","updated_at":"2021-12-28T09:13:33.000Z","dependencies_parsed_at":"2022-11-03T20:19:03.992Z","dependency_job_id":null,"html_url":"https://github.com/snower/pyslock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snower%2Fpyslock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snower%2Fpyslock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snower%2Fpyslock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snower%2Fpyslock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snower","download_url":"https://codeload.github.com/snower/pyslock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239850437,"owners_count":19707350,"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":[],"created_at":"2024-10-11T02:48:45.895Z","updated_at":"2025-02-20T14:05:42.822Z","avatar_url":"https://github.com/snower.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyslock\n\nHigh-performance distributed sync service and atomic DB. Provides good multi-core support through lock queues, high-performance asynchronous binary network protocols. Can be used for spikes, synchronization, event notification, concurrency control. https://github.com/snower/slock\n\n# Install\n\n```bash\npip install pyslock\n```\n\n# Event \n\n```python\nimport redis\nimport pyslock\n\nslock_client = pyslock.Client(\"localhost\")\n\nevent = slock_client.Event(\"test\", 5, 120, False)\nevent.set()\n```\n\n```python\nimport asyncio\nimport pyslock\n\nasync def run():\n    slock_client = pyslock.AsyncClient(\"localhost\")\n\n    event = slock_client.Event(\"test\", 5, 120, False)\n    await event.set()\n\nloop = asyncio.get_event_loop()\nloop.run_until_complete(run())\n```\n\n# License\n\nslock uses the MIT license, see LICENSE file for the details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnower%2Fpyslock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnower%2Fpyslock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnower%2Fpyslock/lists"}