Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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

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


Release history Release notifications

This version
History Node

2.14.1

History Node

2.14.0

History Node

2.13.0

History Node

2.12.4

History Node

2.12.3

History Node

2.12.2

History Node

2.12.1

History Node

2.12.0

History Node

2.11.0

History Node

2.10.2

History Node

2.9.0

History Node

0.1a1

History Node

0.1a1-r10-79b0

History Node

0.1a1-r3-ac7a

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.14.1-cp27-cp27m-win_amd64.whl (1.4 MB) Copy SHA256 hash SHA256 Wheel cp27 Apr 25, 2018
osmium-2.14.1-cp36-cp36m-win_amd64.whl (1.4 MB) Copy SHA256 hash SHA256 Wheel cp36 Apr 25, 2018
osmium-2.14.1.tar.gz (1.6 MB) Copy SHA256 hash SHA256 Source None Apr 25, 2018

Supported by

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