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 still in development, so if you run into any bugs please report them here
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 as well as conda-forge:
pip install pyplaces
conda install pyplaces
I recommend that you use Anaconda for your Python environments. (I use miniforge and mamba)
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 and filter on columns using the (column,operator,value) syntax
- Get data from past releases
- Inspect dataset schemas
- Find relevant category names for retrieving places data
Most, if not all, of the functions follow the same type of workflow.
Documentation
The documentation 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
-
more readable schema output
-
reduce time in the pyarrow parquet reading pipeline
-
speed up model transactions- current implementation is inefficient
-
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.4.4.tar.gz.
File metadata
- Download URL: pyplaces-0.4.4.tar.gz
- Upload date:
- Size: 4.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
437b1315384162423fa9908cbcb8594b29ec5f2b1ae440aaa724db4c6eb079d5
|
|
| MD5 |
5337e8afa99b749f9b1cf805352374cb
|
|
| BLAKE2b-256 |
576d4dd969bfe288cb898a1a4f4a68faf2cbec51b863b5796f98c56f2a8dd593
|
Provenance
The following attestation bundles were made for pyplaces-0.4.4.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.4.4.tar.gz -
Subject digest:
437b1315384162423fa9908cbcb8594b29ec5f2b1ae440aaa724db4c6eb079d5 - Sigstore transparency entry: 354672601
- Sigstore integration time:
-
Permalink:
tbanken/pyplaces@0b8aeda27c563efcf6d2cc077cf34822c0521567 -
Branch / Tag:
refs/tags/v0.4.4 - Owner: https://github.com/tbanken
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@0b8aeda27c563efcf6d2cc077cf34822c0521567 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pyplaces-0.4.4-py3-none-any.whl.
File metadata
- Download URL: pyplaces-0.4.4-py3-none-any.whl
- Upload date:
- Size: 17.6 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 |
3cbd92183c7429152b68417b3e7e6b49f481dee35165039de49d943292d197f4
|
|
| MD5 |
4df8cd35bbdf1e05fe8327444b7ee75d
|
|
| BLAKE2b-256 |
ddae46e99905db3babe6ae6628846cd30ebd3d438317de4aaa139c38c5bd5fa4
|
Provenance
The following attestation bundles were made for pyplaces-0.4.4-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.4.4-py3-none-any.whl -
Subject digest:
3cbd92183c7429152b68417b3e7e6b49f481dee35165039de49d943292d197f4 - Sigstore transparency entry: 354672609
- Sigstore integration time:
-
Permalink:
tbanken/pyplaces@0b8aeda27c563efcf6d2cc077cf34822c0521567 -
Branch / Tag:
refs/tags/v0.4.4 - Owner: https://github.com/tbanken
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@0b8aeda27c563efcf6d2cc077cf34822c0521567 -
Trigger Event:
release
-
Statement type: