Skip to main content

Preben OSM's Library (prvosm)

PyPI - Version License Release CI Documentation CI

A simple Python library that makes accessing data from the OSM API dead easy and convenient.

Features

  • Read-only OSM API access: I never really use Python to write anything to OSM, so a simple read-only API is all that I need, hence all that this library provides at the moment.
  • Object/type oriented: Instead of dealing with a bunch of nested dictionaries, everything is properly parsed into an object using Pydantic. Want to fetch the details for the user that made a changeset? Call changeset.fetch_user() and a User object is returned.
  • Easy geometries: OSM elements (nodes, ways, relations, notes) have functions and properties to get shapely geometries.
  • Cached: Following good practice, objects and responses are stored in a sqlite cache.
  • Almost all read end-points added: There are a handful that I haven't got around to implementing, but most are implemented.

Documentation

For documentation, roadmaps, etc. see prvinspace.github.io/prvosm/.

Maintainer

This library is maintained by Preben Vangberg. You can pop me a message on OSM, Discord or Matrix if there is anything.

Metadata

Release files for prvosm 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prvosm 1.0.3
File Size Uploaded
prvosm-1.0.3.tar.gz 14.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for prvosm 1.0.3
File Interpreter ABI Platform
prvosm-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 34.3 kB

Release files / prvosm-1.0.3.tar.gz

Download URL prvosm-1.0.3.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9a442969d5179dd8ecf3c9d720a22dc21bfbb699aaa612d4739d1775418c87ad
BLAKE2b-256 checksum
How to use checksums
c71ef1816333b06568293ff41627cfa3fb87c4b488318d062854df319e72caf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / prvosm-1.0.3-py3-none-any.whl

Download URL prvosm-1.0.3-py3-none-any.whl
Size 19.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d9c843592b26aa41f2c58e908f5e1fc9aebbe9ca3211f9a88402b1390be2deca
BLAKE2b-256 checksum
How to use checksums
d541c3baf902ae0c63b7334f8c73caa418cbce3395f1da929b68fbf801aefcb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

1.0.4

2 release files

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page