Skip to main content

SDK for geospatial APIs like OpenStreetMap and Census

Project description

Bunting Python SDK

Bunting Lab's Python SDK allows you to use the Bunting Labs geospatial APIs in your own libraries.

Installation

$ pip install bunting

Example

import BuntingClient from bunting

# Get your API key from https://buntinglabs.com/account/register
bc = BuntingClient('gK6vkrFQXiU9')

# Download from openstreetmap
highways = bc.osm.extract('leisure=park', bbox=(5.976563,52.449314,6.245728,52.562995))

# Get as GeoDataFrame
highways.as_gdf()

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

bunting-0.1.0.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

bunting-0.1.0-py3-none-any.whl (2.2 kB view hashes)

Uploaded Python 3

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