Skip to main content

Python bindings for libosmium, the data processing library for OSM data

Project description

This library provides Python bindings for the Libosmium C++ library, a library for working with OpenStreetMap data in a fast and flexible manner.

Installation

pyosmium can be installed with pip:

pip install osmium

The Pypi source package already comes bundled with a matching version of libosmium, protozero and pybind11. Pyosmium additionally depends on expat, libz, libbz2 and Boost variant and iterator. You need to install development packages for these libraries. On Debian/Ubuntu do:

sudo apt-get install build-essential cmake libboost-dev \
                   libexpat1-dev zlib1g-dev libbz2-dev

Python >= 2.7 is supported but a version >= 3.3 is strongly recommended.

Documentation

The documentation for the latest release is available at osmcode.org.

If you find bugs or have feature requests, please report those in the Github issue tracker. For general questions about using pyosmium you can contanct the OSM development mailing list or ask on OSM help.

Examples

The package contains an example directory with small examples on how to use the library. They are mostly ports of the examples in Libosmium and osmium-contrib.

Fineprint

Pyosmium is available under the BSD 2-Clause License. See LICENSE.TXT.

The source code can be found on GitHub.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
osmium-2.15.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (2.0 MB) Copy SHA256 hash SHA256 Wheel cp27
osmium-2.15.0-cp27-cp27m-manylinux1_i686.whl (1.2 MB) Copy SHA256 hash SHA256 Wheel cp27
osmium-2.15.0-cp27-cp27m-manylinux1_x86_64.whl (1.2 MB) Copy SHA256 hash SHA256 Wheel cp27
osmium-2.15.0-cp27-cp27mu-manylinux1_i686.whl (1.2 MB) Copy SHA256 hash SHA256 Wheel cp27
osmium-2.15.0-cp27-cp27mu-manylinux1_x86_64.whl (1.2 MB) Copy SHA256 hash SHA256 Wheel cp27
osmium-2.15.0-cp27-cp27m-win_amd64.whl (959.4 kB) Copy SHA256 hash SHA256 Wheel cp27
osmium-2.15.0-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (2.0 MB) Copy SHA256 hash SHA256 Wheel cp34
osmium-2.15.0-cp34-cp34m-manylinux1_i686.whl (1.2 MB) Copy SHA256 hash SHA256 Wheel cp34
osmium-2.15.0-cp34-cp34m-manylinux1_x86_64.whl (1.2 MB) Copy SHA256 hash SHA256 Wheel cp34
osmium-2.15.0-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (2.0 MB) Copy SHA256 hash SHA256 Wheel cp35
osmium-2.15.0-cp35-cp35m-manylinux1_i686.whl (1.2 MB) Copy SHA256 hash SHA256 Wheel cp35
osmium-2.15.0-cp35-cp35m-manylinux1_x86_64.whl (1.2 MB) Copy SHA256 hash SHA256 Wheel cp35
osmium-2.15.0-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (2.0 MB) Copy SHA256 hash SHA256 Wheel cp36
osmium-2.15.0-cp36-cp36m-manylinux1_i686.whl (1.2 MB) Copy SHA256 hash SHA256 Wheel cp36
osmium-2.15.0-cp36-cp36m-manylinux1_x86_64.whl (1.2 MB) Copy SHA256 hash SHA256 Wheel cp36
osmium-2.15.0-cp36-cp36m-win_amd64.whl (955.9 kB) Copy SHA256 hash SHA256 Wheel cp36
osmium-2.15.0-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (2.0 MB) Copy SHA256 hash SHA256 Wheel cp37
osmium-2.15.0-cp37-cp37m-manylinux1_i686.whl (1.2 MB) Copy SHA256 hash SHA256 Wheel cp37
osmium-2.15.0-cp37-cp37m-manylinux1_x86_64.whl (1.2 MB) Copy SHA256 hash SHA256 Wheel cp37
osmium-2.15.0-pp257-pypy_41-macosx_10_13_x86_64.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (2.0 MB) Copy SHA256 hash SHA256 Wheel pp257
osmium-2.15.0.tar.gz (2.2 MB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page