A Python wrapper for the OpenStreetMap API, enabling programmatic reading and writing of OSM data.
osmapi is a Python library that serves as a wrapper for the OpenStreetMap API, allowing developers to programmatically read from and write to the OpenStreetMap database. It simplifies interactions with OSM's REST API, handling authentication, data serialization, and error management. The library is designed to make it easier to build tools, scripts, and applications that integrate with OpenStreetMap.
Developers and data scientists working with OpenStreetMap data who need to automate data retrieval, updates, or analysis. It is particularly useful for those building mapping tools, conducting geospatial research, or managing large-scale OSM data edits.
osmapi provides a clean, Pythonic interface to the OpenStreetMap API, reducing the complexity of direct HTTP requests and authentication handling. It is actively maintained, supports modern OAuth 2.0 authentication, and includes comprehensive documentation and examples, making it a reliable choice for OSM integration.
Python wrapper for the OpenStreetMap API
Supports all major OSM endpoints for nodes, ways, relations, and changesets, enabling full programmatic interaction with the OSM database as detailed in the README.
Integrates secure authentication required by OSM since July 2024, with examples using libraries like cli-oauth2, ensuring compliance and safety.
Offers context managers for changesets and snake_case method names, simplifying error handling and aligning with Python best practices.
Allows setting a custom appid to tag edits with tool attribution, promoting transparency in automated changes as shown in the README examples.
Deprecates CamelCase method names in version 5.0 with removal planned for 6.0, forcing code updates and potential migration headaches for existing users.
Requires manual OAuth application registration and credential management, adding overhead compared to simpler authentication methods or read-only tools.
Restricted to Python 3.9+, making it unsuitable for cross-language projects or environments where Python isn't available.
Download, model, analyze, and visualize street networks and other geospatial features from OpenStreetMap.
🖼️ Create beautiful maps from OpenStreetMap data in a streamlit webapp
Python bindings for the OpenStreetMap Overpass API
QuackOSM: an open-source Python and CLI tool for reading OpenStreetMap PBF files using DuckDB
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.