Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A simple python wrapper for the Pelias API for geocoding and reverse geocoding

Project description

PyPelias - Geocoding and reverse geocoding with Pelias and Python

Project Description

After installing a planet build of Pelias PyGeo was returning endless errors, It was quicker for me to write this little python API wrapper than try and sort out what the issues where with PyGeo.

This package support geocoding and reverse geo coding to you're own Pelias server using requests and the Pelias API.


A complete install of Pelias. I recommend the Docker env (


install from

pip install pyPelias


import pyPelias

gisAPI = pyPelias('https://mydomain_or_IP_of_pelias')

# reverse geocode - get the location from lat long, in format ['lat', 'long']
loc = gisAPI.reverse(['45.533467', '-122.650095'])


# geocode - takes address, city, state, country in any form, raises exception if can't parse address
geocode = gisAPI.geocode('Alamogordo, New Mexico, United States')



We welcome your feedback and support, raise github ticket if you want to report a bug. Need new features? Contact us on github

Project details

Release history Release notifications

This version


Download files

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

Files for pyPelias, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pyPelias-0.1.0-py3-none-any.whl (2.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pyPelias-0.1.0.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page