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, protozero and pybind11. Pyosmium additionally depends on expat, libz, libbz2 and Boost variant and iterator. You need to install development packages for these libraries. On Debian/Ubuntu do:

sudo apt-get install build-essential cmake libboost-dev \
                   libexpat1-dev zlib1g-dev libbz2-dev

Python >= 2.7 is supported but a version >= 3.3 is strongly recommended.

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-3.1.1.tar.gz (2.3 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

osmium-3.1.1-cp39-cp39-manylinux2010_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.12+ x86-64

osmium-3.1.1-cp39-cp39-manylinux2010_i686.whl (1.4 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.12+ i686

osmium-3.1.1-cp39-cp39-macosx_10_9_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

osmium-3.1.1-cp38-cp38-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.8Windows x86-64

osmium-3.1.1-cp38-cp38-manylinux2010_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

osmium-3.1.1-cp38-cp38-manylinux2010_i686.whl (1.4 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ i686

osmium-3.1.1-cp38-cp38-macosx_10_9_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

osmium-3.1.1-cp37-cp37m-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.7mWindows x86-64

osmium-3.1.1-cp37-cp37m-manylinux2010_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

osmium-3.1.1-cp37-cp37m-manylinux2010_i686.whl (1.4 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ i686

osmium-3.1.1-cp37-cp37m-macosx_10_9_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

osmium-3.1.1-cp36-cp36m-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.6mWindows x86-64

osmium-3.1.1-cp36-cp36m-manylinux2010_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

osmium-3.1.1-cp36-cp36m-macosx_10_9_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.6mmacOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: osmium-3.1.1.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for osmium-3.1.1.tar.gz
Algorithm Hash digest
SHA256 8ea739b9c72b56fd05cb65999727432ccfe450154cdfebc96f047ba85f7face8
MD5 dc2231e9eff09bf2720708dacc43a2d0
BLAKE2b-256 9ce2a5f07b3cbf375a2a57c5739b4d8123076ddea241e11063288109a57291ae

See more details on using hashes here.

File details

Details for the file osmium-3.1.1-cp39-cp39-manylinux2010_x86_64.whl.

File metadata

  • Download URL: osmium-3.1.1-cp39-cp39-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for osmium-3.1.1-cp39-cp39-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 0d798642a43ce6530f7f99fccac8ac569fc6915bc82a060bd353e253aa26628e
MD5 63094d290d8368d615e98b48936d3c60
BLAKE2b-256 7c67d812ff7eab995305f2aab9d92b64339d6dc7a05024fc3463c2ef6902b022

See more details on using hashes here.

File details

Details for the file osmium-3.1.1-cp39-cp39-manylinux2010_i686.whl.

File metadata

  • Download URL: osmium-3.1.1-cp39-cp39-manylinux2010_i686.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.9, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for osmium-3.1.1-cp39-cp39-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 9d8a15fa98cdc9fe4b9a2dca3734d2843be12571558b654469473728213b2d08
MD5 89256d73d305b29b57b80f11153b31a1
BLAKE2b-256 c6e3239c94899d46bc86f59941eee33503fc22eb23e0f879a5191a31ab324b35

See more details on using hashes here.

File details

Details for the file osmium-3.1.1-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: osmium-3.1.1-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for osmium-3.1.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c9726b693754c4deff7a01253178b30cea1372ace8ea726d9d803c216588e8b7
MD5 a2ef04007aa5c083a8c48d22724cec4d
BLAKE2b-256 c65d29f7089124a337f8e2c213097be2656d27958c7404c80f2d42d4810aa7e6

See more details on using hashes here.

File details

Details for the file osmium-3.1.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: osmium-3.1.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for osmium-3.1.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 9483d5458d9bbf8e879b49bd67a8e91ab2c8e4b14765fecc2cd4d1f104b4bdda
MD5 3c3d1f355c0eee3af5f066a85637a720
BLAKE2b-256 baaeeb10e569b59fdc8c8be9e8a07ef406682fb9d734872407659919ba48459b

See more details on using hashes here.

File details

Details for the file osmium-3.1.1-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: osmium-3.1.1-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for osmium-3.1.1-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 9d9c2e5bea72c39dc3be9d5545f5d4ebdae1bff7cacbac4cbdb6c94e98fb527e
MD5 d862e425d52d30afef5f43c686a3e0a7
BLAKE2b-256 4ddee0960a2a262e5d43877aeb869bbc7d2ace2073142d9c59fca92bc9dfeeec

See more details on using hashes here.

File details

Details for the file osmium-3.1.1-cp38-cp38-manylinux2010_i686.whl.

File metadata

  • Download URL: osmium-3.1.1-cp38-cp38-manylinux2010_i686.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for osmium-3.1.1-cp38-cp38-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 fb412bdae52ec333dc367c729a74b8118508422061e80c49a22d9fe629cbebed
MD5 1ec285630094e07e96495e73bd87d2d7
BLAKE2b-256 58e70c5eeb8f5adfc25dafa9a0ab0b4bf6a99bc65d6468552f28f6bbd25894d1

See more details on using hashes here.

File details

Details for the file osmium-3.1.1-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: osmium-3.1.1-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for osmium-3.1.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3747a21a6cd78428af0702ac12dfa76050d9e29a95ae23d1e79cff01eb1548fb
MD5 be1399fedb8129f0c93bebe88f9b4f28
BLAKE2b-256 232b5103e15cd3b99a6d2d5dabca7dddb909733e7b68f9bdd39b45beadc51757

See more details on using hashes here.

File details

Details for the file osmium-3.1.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: osmium-3.1.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for osmium-3.1.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 d9893e52152aa943475099c69b486ccda314dfe33ad873d32d3f191a9e4d5465
MD5 596cf117283fa09cd029aefab53143b1
BLAKE2b-256 d1e4e4ae6a3468a46978a6cbc2e89b51954743bc0265a797639ce26d69ae033f

See more details on using hashes here.

File details

Details for the file osmium-3.1.1-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: osmium-3.1.1-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for osmium-3.1.1-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e59c87d0402166c270bf7cc4800e22abe49214645cdd979301292ca1d87b0522
MD5 71592bc07d600b3d2724f18dabd08201
BLAKE2b-256 d07651547455d260ec373d72ab6bfd9ce57bbd6b814482392ea62a7f1782c1e6

See more details on using hashes here.

File details

Details for the file osmium-3.1.1-cp37-cp37m-manylinux2010_i686.whl.

File metadata

  • Download URL: osmium-3.1.1-cp37-cp37m-manylinux2010_i686.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for osmium-3.1.1-cp37-cp37m-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 7e8e7643371cf36468c67e3dc8a1092b30b866d986547a1d1ad00b783411ecaa
MD5 12cb5bb0adf1fd627957694b154aaa43
BLAKE2b-256 56a7f65062f8785b64a2cca33ffbd0af9cc290fd8596640a2d97503f1e9553b3

See more details on using hashes here.

File details

Details for the file osmium-3.1.1-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: osmium-3.1.1-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for osmium-3.1.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2c9892865c7d15ce00570acafab4de2ad817c8a81c29a0b8ff4882f81efd7086
MD5 dba2a770d0200a8d59f902ed083a606d
BLAKE2b-256 9bf82c09a9d2a72a3ac83f7f8dc708f91f3eff6edf101f1e2788f671db0fe2b8

See more details on using hashes here.

File details

Details for the file osmium-3.1.1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: osmium-3.1.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for osmium-3.1.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 fa5145c12c0df8d994cbba98347bef8f9fb6f71b7deba0caf3a6b6a72feff387
MD5 c5708aeac2c1cd3133c81087e6b25b66
BLAKE2b-256 41f0e23817382510884e95a6d36f33855a4cbcdee972e9da07388e01b2ef8f07

See more details on using hashes here.

File details

Details for the file osmium-3.1.1-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: osmium-3.1.1-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for osmium-3.1.1-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 41df8af1b847dba6b13d44d7cd605878b1f41fc0b5545259374df5fcb71a6bc0
MD5 154bcbd0463df80a01de5fe72beed2c6
BLAKE2b-256 5d5dfe4b42b846295838367c8343629e2068bc88923c4dfe167286314b42b2b4

See more details on using hashes here.

File details

Details for the file osmium-3.1.1-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: osmium-3.1.1-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for osmium-3.1.1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 717b353cf5357e37d5b8509b78b55276eea1fc5d6106293624ccb301770c4375
MD5 4032776843b2b94984cb01b422564bfd
BLAKE2b-256 589855b20e4ab1ecee2e5e031b080418064b04104349e58f004cdab5c8995d03

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