{"repo":"kraina-ai/quackosm","free":true,"listed":false,"github":"https://github.com/kraina-ai/quackosm","clone":"git clone https://github.com/kraina-ai/quackosm.git","description":"QuackOSM: an open-source Python and CLI tool for reading OpenStreetMap PBF files using DuckDB","language":"Python","stars":376,"topics":["duckdb","geo","geospatial","openstreetmap","osm","pbf","python"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"Generated using DALL·E 3 model with this prompt: A logo for a python library with White background, high quality, 8k. Cute duck and globe with cartography elements. Library for reading OpenStreetMap data using DuckDB. QuackOSM An open-source tool for reading OpenStreetMap PBF files using DuckDB. What is QuackOSM 🦆? - Scalable reader for OpenStreetMap ProtoBuffer ( pbf ) files. - Is based on top of DuckDB [^1] with its Spatial [^2] extension. - Saves files in the GeoParquet [^3] file format for easier integration with modern cloud stacks. - Utilizes multithreading unlike GDAL that works in a single thread only. - Can filter data based on geometry without the need for ogr2ogr clipping before operation. - Can filter data based on OSM tags (with negations and wildcards). - Can automatically download required PBF files for a given geometry. - Utilizes caching to reduce repeatable computations. - Can be used as Python module as well as a beautiful CLI based on Typer [^4]. [^1]: DuckDB Website [^2]: DuckDB Spatial extension repository [^3]: GeoParquet data format [^4]: Typer docs Installing As pure Python module With beautiful CLI From conda-forge Required Python version? QuackOSM supports Python = 3.10 Dependencies Required: - duckdb ( =1.1.2) : For all DuckDB operations on PBF files and sorting result file (with spatial extension) - pyarrow ( =16.0.0) : For parquet files wrangling - geoarrow-pyarrow ( =0.1.2) : For GeoParquet IO operations and transforming Arrow data to Shapely o","default_branch":null,"files":null,"tree":[],"storefront":"/r/kraina-ai","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kraina-ai/quackosm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}