{"id":44463881,"url":"https://github.com/mu373/epydemix-webapi","last_synced_at":"2026-05-27T00:02:28.655Z","repository":{"id":335162098,"uuid":"1144571715","full_name":"mu373/epydemix-webapi","owner":"mu373","description":"REST API for running epidemic simulations on epydemix","archived":false,"fork":false,"pushed_at":"2026-05-20T22:25:51.000Z","size":3336,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-21T03:37:23.326Z","etag":null,"topics":["epidemic-model","epydemix","fastapi","rest-api"],"latest_commit_sha":null,"homepage":"https://epydemix-webapi.vercel.app/docs/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mu373.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-28T20:09:03.000Z","updated_at":"2026-05-20T22:25:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mu373/epydemix-webapi","commit_stats":null,"previous_names":["mu373/epydemix-webapi"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/mu373/epydemix-webapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mu373%2Fepydemix-webapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mu373%2Fepydemix-webapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mu373%2Fepydemix-webapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mu373%2Fepydemix-webapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mu373","download_url":"https://codeload.github.com/mu373/epydemix-webapi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mu373%2Fepydemix-webapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33543974,"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":"ssl_error","status_checked_at":"2026-05-26T15:22:15.568Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["epidemic-model","epydemix","fastapi","rest-api"],"created_at":"2026-02-12T19:34:34.548Z","updated_at":"2026-05-27T00:02:28.650Z","avatar_url":"https://github.com/mu373.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# epydemix WebAPI\n\nREST API for running epidemic simulations on [epydemix](https://github.com/epistorm/epydemix).\n\nDocumentation and API reference: https://epydemix-webapi.vercel.app/docs\n\n## Quick Start\n\n```bash\n# Install dependencies\nuv sync\n\n# Run development server\nuv run uvicorn app.main:app --reload\n\n# Run tests\nuv run pytest\n```\n\n## API Endpoints\n\n- `POST /api/v1/simulations` - Run epidemic simulation\n- `GET /api/v1/populations` - List available populations\n- `GET /api/v1/populations/{name}` - Get population details\n- `GET /api/v1/populations/{name}/contacts` - Get contact matrices\n- `GET /api/v1/models/presets` - List model presets\n- `GET /api/v1/health` - Health check\n\n## Docker\n\n```bash\n# Build and run\ndocker compose up\n\n# Development with hot reload\ndocker compose --profile dev up api-dev\n```\n\n## Examples\n\n```bash\n# List available populations\ncurl http://localhost:8000/api/v1/populations\n\n# Run SIR simulation\ncurl -X POST http://localhost:8000/api/v1/simulations \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"model\": {\"preset\": \"SIR\"},\n    \"population\": {\"name\": \"United_States\"},\n    \"simulation\": {\n      \"start_date\": \"2024-01-01\",\n      \"end_date\": \"2024-03-01\",\n      \"Nsim\": 100\n    }\n  }'\n```\n\n## Documentation\n\nAPI documentation and reference is available [here](https://epydemix-webapi.vercel.app/docs).\n\nMost API parameters follow epydemix conventions. Refer to the [epydemix documentation](https://epydemix.readthedocs.io/en/latest/) for details on model parameters, population data, and simulation options.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmu373%2Fepydemix-webapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmu373%2Fepydemix-webapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmu373%2Fepydemix-webapi/lists"}