Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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

.. _Libosmium:


pyosmium can be installed with pip:

pip install osmium

The Pypi source package already comes bundled with a matching version of
libosmium. The library uses `Boost.Python`_ to create the C++ bindings.
On Debian/Ubuntu install `libboost-python-dev`.
On OS X run `brew install boost-python` or `brew install boost-python --with-python3`
depending on which python version you want to use. You can also (re)install both.

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

Other dependencies are expat, libz, libbz2 and Boost iterator.
See `Libosmium dependencies`_ for required packages for various distributions.

.. _Boost.Python:
.. _Libosmium dependencies:


The documentation for the latest release is available at

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`_.

.. _Github issue tracker:
.. _OSM development mailing list:
.. _OSM help:


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


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

The source code can be found on `GitHub`_.

.. _GitHub:

Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
osmium-2.13.0-cp27-cp27m-win_amd64.whl (1.4 MB) Copy SHA256 Checksum SHA256 cp27 Wheel Aug 31, 2017
osmium-2.13.0-cp36-cp36m-win_amd64.whl (1.4 MB) Copy SHA256 Checksum SHA256 cp36 Wheel Aug 31, 2017
osmium-2.13.0.tar.gz (540.5 kB) Copy SHA256 Checksum SHA256 Source Aug 31, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting