pyplaces is a Python package meant to streamline the usage of large places datasets, notably Overture Maps and Foursquare Open Places. All of the datasets and past releases can be downloaded to a specific address, place or bounding box. Conventionally, users download the data themselves or use a tool such as DuckDB to download what they need, whereas pyplaces is more integrated, faster, and more precise.
Project description
pyplaces
pyplaces is a Python package meant to streamline the usage of large places datasets, notably Overture Maps and Foursquare Open Places. All of the datasets and past releases can be downloaded to a specific address, place or bounding box. Conventionally, users download the data themselves or use a tool such as DuckDB to download what they need, whereas pyplaces is more integrated, faster, and more precise.
Quickstart
Installation
This package is available on PyPI.
pip install pyplaces
Basic Usage
To access any places, all you need is a place, address, or bounding box:
from pyplaces.foursquare_open_places import foursquare_places_from_address
hemenway_st_places = foursquare_places_from_address("204 Hemenway Street, Boston, MA")
Additionally, you can:
- Select columns
- Filter on columns using the (column,operator,value) syntax (see support for this syntax here)
- Get data from past releases(see support for this here)
User Reference
The user reference is available here in case you run into any issues.
License
pyplaces is open source and licensed under the MIT license.
pyplaces Usage
This package uses a geocoder that uses OpenStreetMaps's geocoding service Nominatim. Please abide by their usage policy here.
Future Support
-
matching for foursquare categories table(to easily retrive types of POIs)
-
get schemas for each theme/dataset
-
support more geoparquet datasets
-
basic network analysis for transportation data
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyplaces-0.1.2.tar.gz.
File metadata
- Download URL: pyplaces-0.1.2.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fed702958461eba57853b16c4e6eeeb1c8967375c8444344cd14d7822dfe45dd
|
|
| MD5 |
7493c684c57917d8c0f1e3af97e55a44
|
|
| BLAKE2b-256 |
454c941e87258ecc8740041ef3c32b0358e99fe0c6ef279e57bcd536d07aa4d2
|
Provenance
The following attestation bundles were made for pyplaces-0.1.2.tar.gz:
Publisher:
pypi-publish.yml on tbanken/pyplaces
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyplaces-0.1.2.tar.gz -
Subject digest:
fed702958461eba57853b16c4e6eeeb1c8967375c8444344cd14d7822dfe45dd - Sigstore transparency entry: 196968412
- Sigstore integration time:
-
Permalink:
tbanken/pyplaces@d24d16e60f58096de9fff4c553a58c52751c50f0 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/tbanken
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@d24d16e60f58096de9fff4c553a58c52751c50f0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pyplaces-0.1.2-py3-none-any.whl.
File metadata
- Download URL: pyplaces-0.1.2-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c4b9c19236cb25b33c9cabed3cbcc1d3d6caaaf9d8ebf1b3191ce2e8f65e2f7
|
|
| MD5 |
80a23b87b6d8e5c5d45ecd06105d05bd
|
|
| BLAKE2b-256 |
ef692d399b1cca034a43b7dd1b6a7006b5decfd3df3f837689deb53270687564
|
Provenance
The following attestation bundles were made for pyplaces-0.1.2-py3-none-any.whl:
Publisher:
pypi-publish.yml on tbanken/pyplaces
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyplaces-0.1.2-py3-none-any.whl -
Subject digest:
4c4b9c19236cb25b33c9cabed3cbcc1d3d6caaaf9d8ebf1b3191ce2e8f65e2f7 - Sigstore transparency entry: 196968413
- Sigstore integration time:
-
Permalink:
tbanken/pyplaces@d24d16e60f58096de9fff4c553a58c52751c50f0 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/tbanken
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@d24d16e60f58096de9fff4c553a58c52751c50f0 -
Trigger Event:
release
-
Statement type: