A Python client for Mapbox services
Project description
A Python client for Mapbox web services
The Mapbox Python SDK is a low-level client API, not a Resource API such as the ones in boto3 or github3.py. Its methods return objects containing HTTP responses from the Mapbox API.
Services
-
Profiles for driving, walking, and cycling
GeoJSON & Polyline formatting
Instructions as text or HTML
-
Travel-time tables between up to 100 points
Profiles for driving, walking and cycling
-
Forward (place names ⇢ longitude, latitude)
Reverse (longitude, latitude ⇢ place names)
Map Matching examples, website
Snap GPS traces to OpenStreetMap data
-
Generate standalone images from existing Mapbox mapids
Render with GeoJSON overlays
-
Interpolates values along lines. Useful for elevation traces.
-
Upload data to be processed and hosted by Mapbox.
Other services coming soon.
Installation
$ pip install mapbox
Testing
pip install -e .[test]
py.test
To run the examples as integration tests on your own Mapbox account
MAPBOX_ACCESS_TOKEN="MY_ACCESS_TOKEN" py.test --doctest-glob='*.md' *.md
See Also
Command line interface: https://github.com/mapbox/mapbox-cli-py
Javascript SDK: https://github.com/mapbox/mapbox-sdk-js
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file mapbox-0.6.0.tar.gz
.
File metadata
- Download URL: mapbox-0.6.0.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c9d1afa568bedfbd13f95b045244f0ede76d5081c36a9c9ba3da66e90e6dc10 |
|
MD5 | 61991f6634c5bfa27080d1c4ca2b7519 |
|
BLAKE2b-256 | f8c677770e706cd8cd4c9ed48d07de0f85cffe7acc3836d5ff3ca76418aeb7ec |
File details
Details for the file mapbox-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: mapbox-0.6.0-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfe8c8abf91f6af28ca34f22a6eb5ef267872b1dbfa483a751eb85498970e45f |
|
MD5 | 2d44da0668cd0c574102257dd95e22a3 |
|
BLAKE2b-256 | f337880a2b3f17086a0c5bad6ac81b89d1ecb69f46ef699c7083397a58b498f9 |
File details
Details for the file mapbox-0.6.0-py2-none-any.whl
.
File metadata
- Download URL: mapbox-0.6.0-py2-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b84a4f9486edaebe9dd16619984ad3969d4d4c4ae995f89faaf3114e2be74316 |
|
MD5 | 4fc58a1c5d6c8aad562aeb2371305f73 |
|
BLAKE2b-256 | 20b74c9b2a49869c621f6e631b2db2b50583b691e1b1dda2c64b3f9ff61a0f04 |