Skip to main content

Run label maker as a dask job

Project description


Library for running label-maker as a dask job


This work was undertaken with support from Microsoft to be run on the Planetary Computer. With access to the Planetary Computer Hub, you can find an interactive notebook tutorial for running this library.

Basic Example

Instantiate a distributed dask cluster

from dask.distributed import Client
cluster = ...
client = Client(cluster)

Create a label maker job

from label_maker_dask import LabelMakerJob
lmj = LabelMakerJob(
    bounds=[-44.4836425781, -23.02665962797, -43.412719726, -22.5856399016],
        { "name": "Roads", "filter": ["has", "highway"] },
        { "name": "Buildings", "filter": ["has", "building"] }

Build & execute the job


View or otherwise use the results (by passing to a machine learning framework)

for result in lmj.results:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

label-maker-dask-0.1.2.tar.gz (9.6 kB view hashes)

Uploaded source

Built Distribution

label_maker_dask-0.1.2-py3-none-any.whl (10.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page