Replaced
See osm_easy_api
Original readme
This is intended as a minimal wrapper over OSM Editing API, to make easy to understand what is going on.
It contains thin wrapper only for parts that I needed so far.
Run tests
python3 -m unittest
Usage examples
Object history
import thin_osm_api_wrapper
import json
object_type = "way"
object_id = 10101010
data = thin_osm_api_wrapper.api.history_json(object_type, object_id)
print(json.dumps(data, indent=3))
List changesets
import thin_osm_api_wrapper
import json
data = thin_osm_api_wrapper.api.changeset_list_json()
print(json.dumps(data, indent=3))
closed_after = "2021-12-26"
created_before = "2021-12-27"
data = thin_osm_api_wrapper.api.changeset_list_json(closed_after=closed_after, created_before=created_before)
print(json.dumps(data, indent=3))
Related projects
See also osm_bot_abstraction_layer and osmapi for other Python wrappers of OSM editing API.
Sister of taginfo equivalent.
Contributing
PRs are welcome!
pypi
Metadata
Release files for thin-osm-api-wrapper 0.0.5
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 | |
|---|---|---|---|---|
| thin_osm_api_wrapper-0.0.5.tar.gz | 3.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| thin_osm_api_wrapper-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / thin_osm_api_wrapper-0.0.5.tar.gz
| Download URL | thin_osm_api_wrapper-0.0.5.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
096dcfddae850958ee96a26f173505d87e157e2e5e4d9aedef3e3965aa1f7d53
|
|
BLAKE2b-256 checksum How to use checksums |
aae3b5e2ce5276f50cc38eb07954ff5881969a82b5c7ff787d67139144dfc4fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / thin_osm_api_wrapper-0.0.5-py3-none-any.whl
| Download URL | thin_osm_api_wrapper-0.0.5-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e8734eb301e9115d63e3804cabc21697e724cde8d268826ccd5ffe46f155be6
|
|
BLAKE2b-256 checksum How to use checksums |
1f8cac3de489aff044190bf08a38ce017ff7d03624ca94c6b8ccc4d7002bf255
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Security for thin-osm-api-wrapper 0.0.5
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.