{"id":18390778,"url":"https://github.com/eifinger/pywaze","last_synced_at":"2026-03-13T08:10:58.479Z","repository":{"id":186676190,"uuid":"675398826","full_name":"eifinger/pywaze","owner":"eifinger","description":"Asynchronous Waze client for calculating routes and travel times.","archived":false,"fork":false,"pushed_at":"2026-03-02T10:42:47.000Z","size":475,"stargazers_count":13,"open_issues_count":9,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-02T14:30:53.934Z","etag":null,"topics":["hacktoberfest","python","traffic","waze"],"latest_commit_sha":null,"homepage":"","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/eifinger.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},"funding":{"github":"eifinger","buy_me_a_coffee":"eifinger","custom":["https://paypal.me/kevinstillhammer"]}},"created_at":"2023-08-06T19:27:13.000Z","updated_at":"2026-03-02T10:42:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"96abb310-294e-4aab-add8-aaa7cd23f341","html_url":"https://github.com/eifinger/pywaze","commit_stats":null,"previous_names":["eifinger/pywaze"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/eifinger/pywaze","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eifinger%2Fpywaze","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eifinger%2Fpywaze/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eifinger%2Fpywaze/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eifinger%2Fpywaze/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eifinger","download_url":"https://codeload.github.com/eifinger/pywaze/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eifinger%2Fpywaze/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30462087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T06:34:02.089Z","status":"ssl_error","status_checked_at":"2026-03-13T06:33:49.182Z","response_time":60,"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":["hacktoberfest","python","traffic","waze"],"created_at":"2024-11-06T01:49:06.999Z","updated_at":"2026-03-13T08:10:58.470Z","avatar_url":"https://github.com/eifinger.png","language":"Python","funding_links":["https://github.com/sponsors/eifinger","https://buymeacoffee.com/eifinger","https://paypal.me/kevinstillhammer","https://www.buymeacoffee.com/eifinger"],"categories":[],"sub_categories":[],"readme":"# pywaze\n\nAsynchronous Waze client for calculating routes and travel times.\n\nBased on [WazeRouteCalculator](https://github.com/kovacsbalu/WazeRouteCalculator)\n\n## Installation\n\n```console\nuv add pywaze\n```\n\n## Usage\n\n```python\n#!/usr/bin/env python3\n\nimport asyncio\nfrom pywaze import route_calculator\n\n\nasync def get_time(start: str, end: str) -\u003e float:\n    \"\"\"Return the travel time home.\"\"\"\n\n    async with route_calculator.WazeRouteCalculator() as client:\n        results = await client.calc_routes(start, end)\n        first_route = results[0]\n        return first_route.duration\n\n\nstart = \"50.00332659227126,8.262322651915843\"\nend = \"50.08414976707619,8.247836017342934\"\n\ntravel_time = asyncio.run(get_time(start, end))\n\nprint(travel_time)\n```\n\n### Address resolving base coordinates\n\nWhen one or both endpoints are addresses, `calc_routes()` resolves them via Waze search.\nYou can provide custom base coordinates to make sure Waze tries to resolve the address near those coordinates:\n\n```python\nawait client.calc_routes(start, end, base_coords=(48.137154, 11.576124))\n```\n\nIf `base_coords` is omitted and exactly one endpoint is already coordinates,\nthat coordinate endpoint is used automatically as base coordinates for\nresolving the address.\n\n---\n\n[\u003cimg src=\"https://raw.githubusercontent.com/eifinger/pywaze/main/docs/images/bmc-button.svg\" width=150 height=40 style=\"margin: 5px\"/\u003e](https://www.buymeacoffee.com/eifinger)\n[\u003cimg src=\"https://raw.githubusercontent.com/eifinger/pywaze/main/docs/images/paypal-button.svg\" width=150 height=40 style=\"margin: 5px\"/\u003e](https://paypal.me/kevinstillhammer)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feifinger%2Fpywaze","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feifinger%2Fpywaze","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feifinger%2Fpywaze/lists"}