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.

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. There is also the issue tracker for reporting bugs.

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.1.tar.gz (491.6 kB view details)

Uploaded Source

File details

Details for the file osmium-2.12.1.tar.gz.

File metadata

  • Download URL: osmium-2.12.1.tar.gz
  • Upload date:
  • Size: 491.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for osmium-2.12.1.tar.gz
Algorithm Hash digest
SHA256 675d0359465d29d1836e69630a4c2287cf3a31013ca4db3994ad3b5fc5f15a61
MD5 03b36adf96bde72f0e1ba57868640a18
BLAKE2b-256 4901245ace584c6d60eb219980947666d4ffa3d6c0ea6d9dfcdfc5b73fdeb67a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page