Python bindings for libosmium, the data processing library for OSM data
This library provides Python bindings for the Libosmium C++ library, a library for working with OpenStreetMap data in a fast and flexible manner.
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.
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.
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.
Pyosmium is available under the BSD 2-Clause License. See LICENSE.TXT.
The source code can be found on GitHub.
Release history Release notifications
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.3-cp27-cp27m-win_amd64.whl (1.4 MB) Copy SHA256 hash SHA256||Wheel||cp27||Aug 8, 2018|
|osmium-2.14.3-cp36-cp36m-win_amd64.whl (1.4 MB) Copy SHA256 hash SHA256||Wheel||cp36||Aug 8, 2018|
|osmium-2.14.3.tar.gz (1.6 MB) Copy SHA256 hash SHA256||Source||None||Aug 8, 2018|