Preben OSM's Library (prvosm)
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 aUserobject 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.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| prvosm-1.0.4.tar.gz | 14.8 kB | Without provenance | Details for prvosm-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| prvosm-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for prvosm-1.0.4-py3-none-any.whl |
Total release size: 34.8 kB
Release files / prvosm-1.0.4.tar.gz
| Download URL | prvosm-1.0.4.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0c45a23a658b117072511ed84630f32bf44030e07265659ad9331a6d9710bb1
|
|
BLAKE2b-256 checksum How to use checksums |
b4e1bd3897afa517a212c10db28feeea015ad9aa76e9f4c58bb7da8233769178
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","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.4-py3-none-any.whl
| Download URL | prvosm-1.0.4-py3-none-any.whl |
|---|---|
| Size | 20.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
628acabf29fe73d4693056b972306bffd9969f33fe4e70030f41dae72be38eac
|
|
BLAKE2b-256 checksum How to use checksums |
f7f0d6e74fe3abd5dc57b4ed257f53dde2496b821e1299726ac53c51f35a243e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","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}
|
Security for prvosm 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.