Skip to main content

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:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyplaces-0.4.5.tar.gz (4.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyplaces-0.4.5-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file pyplaces-0.4.5.tar.gz.

File metadata

  • Download URL: pyplaces-0.4.5.tar.gz
  • Upload date:
  • Size: 4.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyplaces-0.4.5.tar.gz
Algorithm Hash digest
SHA256 b00b8cb76d72748e418109011565eee13d78ec14b191f5c335992320e1062cc7
MD5 67f9fed8cbc923a43f3f28f2aaf31f6f
BLAKE2b-256 fc3ea6d968ec40fbd348a682b0d72db021ffd192e2b6e28a2f992e0141dc47e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyplaces-0.4.5.tar.gz:

Publisher: pypi-publish.yml on tbanken/pyplaces

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyplaces-0.4.5-py3-none-any.whl.

File metadata

  • Download URL: pyplaces-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyplaces-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 396903656ffe905a2d1655094d9a7b0b0800cab88fab0492ba3e4396bb78b893
MD5 f3ec410f6b9dd647ca2071c87d6d2235
BLAKE2b-256 ff7f096a3a208a6ddc545d557216af8945740330e77985c3c508ebe8962b0be8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyplaces-0.4.5-py3-none-any.whl:

Publisher: pypi-publish.yml on tbanken/pyplaces

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page