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


Download files

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

Source Distribution

osmium-2.12.3.tar.gz (497.2 kB view hashes)

Uploaded Source

Built Distributions

osmium-2.12.3-cp36-cp36m-win_amd64.whl (1.4 MB view hashes)

Uploaded CPython 3.6m Windows x86-64

osmium-2.12.3-cp27-cp27m-win_amd64.whl (1.4 MB view hashes)

Uploaded CPython 2.7m Windows x86-64

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