{"id":50533173,"url":"https://github.com/daedalus/execd","last_synced_at":"2026-06-03T15:30:27.243Z","repository":{"id":356530061,"uuid":"1232296737","full_name":"daedalus/execd","owner":"daedalus","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-08T13:45:22.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-08T14:33:42.660Z","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/daedalus.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-07T19:40:08.000Z","updated_at":"2026-05-08T12:59:01.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/daedalus/execd","commit_stats":null,"previous_names":["daedalus/execd"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/daedalus/execd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daedalus%2Fexecd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daedalus%2Fexecd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daedalus%2Fexecd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daedalus%2Fexecd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daedalus","download_url":"https://codeload.github.com/daedalus/execd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daedalus%2Fexecd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33872297,"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-03T02:00:06.370Z","response_time":59,"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-06-03T15:30:25.114Z","updated_at":"2026-06-03T15:30:27.227Z","avatar_url":"https://github.com/daedalus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"**execd** — HTTP REST API execution daemon with Python client library.\n\n[![PyPI](https://img.shields.io/pypi/v/execd.svg)](https://pypi.org/project/execd/)\n[![Python](https://img.shields.io/pypi/pyversions/execd.svg)](https://pypi.org/project/execd/)\n[![Coverage](https://codecov.io/gh/daedalus/execd/branch/master/graph/badge.svg)](https://codecov.io/gh/daedalus/execd)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/master/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/daedalus/execd)\n\n## Install\n\n```bash\npip install execd\n```\n\n## Usage\n\n### Start the Server\n\n```bash\nexecd-server --host localhost --port 8080\n```\n\n### Use the Client\n\n```python\nfrom execd import ExecClient\n\nclient = ExecClient(host=\"localhost\", port=8080)\n\n# Submit a task\ntask_id = client.submit_task(\"print('hello world')\")\n\n# Wait for completion\ntask = client.wait_for_task(task_id)\nprint(task[\"status\"])  # \"completed\"\nprint(task[\"result\"])  # \"Executed: print('hello world')\"\n\n# Get task status\ntask = client.get_task(task_id)\n\n# Delete task\nclient.delete_task(task_id)\n```\n\n### CLI Client\n\n```bash\n# Submit a task\nexecd-client submit \"print('hello')\"\n\n# Get task status\nexecd-client get \u003ctask_id\u003e\n\n# Delete a task\nexecd-client delete \u003ctask_id\u003e\n```\n\n## API\n\n### REST Endpoints\n\n| Endpoint | Method | Description |\n|----------|--------|-------------|\n| `/tasks` | POST | Submit a new task |\n| `/tasks/{id}` | GET | Get task status and result |\n| `/tasks/{id}` | DELETE | Cancel/remove a task |\n\n### Python API\n\n- `ExecServer(host, port)` - HTTP REST API server\n- `ExecClient(host, port)` - Client for interacting with server\n- `submit_task(code)` - Submit task, returns task_id\n- `get_task(task_id)` - Get task status\n- `delete_task(task_id)` - Delete task\n- `wait_for_task(task_id, timeout)` - Wait for task completion\n\n## Development\n\n```bash\ngit clone https://github.com/daedalus/execd.git\ncd execd\npip install -e \".[test]\"\n\n# run tests\npytest\n\n# format\nruff format src/ tests/\n\n# lint + type check (prospector runs ruff check + mypy together)\nprospector --with-tool ruff --with-tool mypy src/\nsemgrep --config=auto --severity=ERROR src/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaedalus%2Fexecd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaedalus%2Fexecd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaedalus%2Fexecd/lists"}