{"id":19700499,"url":"https://github.com/pratikgajjar/gearman-python-boilerplate","last_synced_at":"2026-06-11T08:31:23.806Z","repository":{"id":103590636,"uuid":"177639650","full_name":"pratikgajjar/gearman-python-boilerplate","owner":"pratikgajjar","description":"Framework to write gearman workers","archived":false,"fork":false,"pushed_at":"2019-03-25T18:17:01.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-24T07:10:09.966Z","etag":null,"topics":["framework","gearman","python","worker"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pratikgajjar.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}},"created_at":"2019-03-25T18:10:58.000Z","updated_at":"2023-03-04T09:15:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"62e91b42-ed9b-48a2-8595-94ee92c54e76","html_url":"https://github.com/pratikgajjar/gearman-python-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pratikgajjar/gearman-python-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratikgajjar%2Fgearman-python-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratikgajjar%2Fgearman-python-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratikgajjar%2Fgearman-python-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratikgajjar%2Fgearman-python-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pratikgajjar","download_url":"https://codeload.github.com/pratikgajjar/gearman-python-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratikgajjar%2Fgearman-python-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34190583,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"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":["framework","gearman","python","worker"],"created_at":"2024-11-11T21:06:12.472Z","updated_at":"2026-06-11T08:31:23.785Z","avatar_url":"https://github.com/pratikgajjar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gearman Python\n\nGearman provides a generic application framework to farm out work to other machines or processes that are better suited to do the work. It allows you to do work in parallel, to load balance processing, and to call functions between languages. It can be used in a variety of applications, from high-availability web sites to the transport of database replication events. In other words, it is the nervous system for how distributed processing communicates. A few strong points about Gearman\n\nFor more info: [Gearman Official](http://gearman.org/)\n\n### Tech\n\n* Python 3.4.3\n* Gearman Python API Doc (https://pythonhosted.org/gearman/)\n\n### Installation\n\nIt requires Python 3.4.3 and above to run.\n\nInstall the dependencies\n\n```sh\n$ sh create_virtualenv.sh\n$ source venv/bin/activate\n$ pip install -r requirements.txt\n```\n\nUpdate config.ini\n\n### Development\nYou need to define gearman worker function name which you want to register to gearman job server in worker_config.ini\n```ini\n[workers]\n{gearman_job_function_name}=workers.{file_name}:{class_name}\n```\nfile_name = python file which has worker class\nclass_name = Worker Class Name\n\nAll the python source code will be in workers dir. Create modular classes. Worker class must need work definition where all job payload will be sent.\n```python\ndef work(data):\n    pass\n``` \n\nTo start the worker:\n\n```sh\n$ source venv/bin/activate\n$ python main.py worker_name\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratikgajjar%2Fgearman-python-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpratikgajjar%2Fgearman-python-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratikgajjar%2Fgearman-python-boilerplate/lists"}