{"id":15750304,"url":"https://github.com/objarni/buztest","last_synced_at":"2025-03-31T07:15:53.591Z","repository":{"id":26782834,"uuid":"30241027","full_name":"objarni/buztest","owner":"objarni","description":"Experiment with pub-sub architecture (goal: refactor pytddmon)","archived":false,"fork":false,"pushed_at":"2015-02-08T17:43:21.000Z","size":184,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-06T11:55:25.863Z","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/objarni.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":"2015-02-03T12:13:13.000Z","updated_at":"2015-02-08T17:43:22.000Z","dependencies_parsed_at":"2022-07-30T19:18:04.436Z","dependency_job_id":null,"html_url":"https://github.com/objarni/buztest","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/objarni%2Fbuztest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objarni%2Fbuztest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objarni%2Fbuztest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objarni%2Fbuztest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/objarni","download_url":"https://codeload.github.com/objarni/buztest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246429493,"owners_count":20775808,"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-04T06:23:34.555Z","updated_at":"2025-03-31T07:15:53.567Z","avatar_url":"https://github.com/objarni.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# buztest\nExperiment with pub-sub architecture (goal: refactor pytddmon).\n\nThe goal is to increase testability and elegance/understandability of pytddmon, NOT higher performance (which is likely to occur anyway but that is a side-effect).\n\nExample of code that implements a simple producer-consumer scenario:\n\n```python\nimport threading\nimport buz\n\n# The producer publishes 10 messages of kind 'item', then a 'done' when done.\n# Then it stops (thread of execution), by returning from run() function.\n# The consumer (subscribes to messages of kind 'item' and \n... TODO\n\n# The consumer subscribes to 'item' and 'done' messages.\n# Items are printed to console.\n# The done message quits the thread.\n... TODO\n\n# TODO: write unit tests first...?\n\nproducer = Producer()\nconsumer = Consumer()\nproducer.start()\nconsumer.start()\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobjarni%2Fbuztest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobjarni%2Fbuztest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobjarni%2Fbuztest/lists"}