{"id":13736785,"url":"https://github.com/developmentseed/label-maker-dask","last_synced_at":"2025-10-13T04:43:16.532Z","repository":{"id":40465352,"uuid":"401712312","full_name":"developmentseed/label-maker-dask","owner":"developmentseed","description":"Library for running label-maker as a dask job","archived":false,"fork":false,"pushed_at":"2022-05-06T15:37:06.000Z","size":88,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-31T18:26:54.867Z","etag":null,"topics":["dask","machine-learning","microsoft","osm"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/developmentseed.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":"2021-08-31T13:25:28.000Z","updated_at":"2022-07-20T14:23:53.000Z","dependencies_parsed_at":"2022-08-09T21:12:54.924Z","dependency_job_id":null,"html_url":"https://github.com/developmentseed/label-maker-dask","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/developmentseed/label-maker-dask","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Flabel-maker-dask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Flabel-maker-dask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Flabel-maker-dask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Flabel-maker-dask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developmentseed","download_url":"https://codeload.github.com/developmentseed/label-maker-dask/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Flabel-maker-dask/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261561180,"owners_count":23177543,"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":["dask","machine-learning","microsoft","osm"],"created_at":"2024-08-03T03:01:28.580Z","updated_at":"2025-10-13T04:43:11.479Z","avatar_url":"https://github.com/developmentseed.png","language":"Jupyter Notebook","funding_links":[],"categories":["Jupyter Notebook"],"sub_categories":[],"readme":"# label-maker-dask\n\nLibrary for running [label-maker](https://github.com/developmentseed/label-maker/) as a [dask](https://dask.org/) job\n\n# Acknowledgements\n\nThis work was undertaken with support from Microsoft to be run on the [Planetary Computer](https://planetarycomputer.microsoft.com/). With access to the Planetary Computer Hub, you can find an interactive notebook tutorial for running this library.\n\n# Basic Example\n\nInstantiate a distributed dask cluster\n```python\nfrom dask.distributed import Client\ncluster = ...\nclient = Client(cluster)\n```\n\nCreate a label maker job\n```python\nfrom label_maker_dask import LabelMakerJob\nlmj = LabelMakerJob(\n    zoom=13,\n    bounds=[-44.4836425781, -23.02665962797, -43.412719726, -22.5856399016],\n    classes=[\n        { \"name\": \"Roads\", \"filter\": [\"has\", \"highway\"] },\n        { \"name\": \"Buildings\", \"filter\": [\"has\", \"building\"] }\n      ],\n    imagery=\"http://a.tiles.mapbox.com/v4/mapbox.satellite/{z}/{x}/{y}.jpg?access_token=ACCESS_TOKEN\",\n    ml_type=\"segmentation\",\n    label_source=\"https://qa-tiles-server-dev.ds.io/services/z17/tiles/{z}/{x}/{y}.pbf\"\n)\n```\n\nBuild \u0026 execute the job\n```python\nlmj.build_job()\nlmj.execute_job()\n```\n\nView or otherwise use the results (by passing to a machine learning framework)\n```python\nfor result in lmj.results:\n    ...\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopmentseed%2Flabel-maker-dask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevelopmentseed%2Flabel-maker-dask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopmentseed%2Flabel-maker-dask/lists"}