Provides Python bindings for the libosmium C++ library, a library for working with OpenStreetMap data in a fast and flexible manner.
Python >= 2.7 is supported (that includes python 3.x).
pyosmium uses Boost.Python to create the bindings.
To compile and install the bindings, simply run
python setup.py install
libosmium is expected to reside in the same directory as pyosmium or to be installed globally.
The example/ directory contains small examples on how to use the library. They are for most parts ports of the examples in libosmium and osmium/contrib.
There is a small test suite in the test directory. This provides regression test for the python bindings, it is not meant to be a test suite for libosmium. The suit can be run with:
cd test
python run_tests.py
Pyosmium is available under the BSD 2-Clause License. See LICENSE.TXT.
Sarah Hoffmann ([email protected])