Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Utility for translating lat, long coordinates into neighborhoods in various cities

Project Description

# Neighborhoodize


Neighborhoodize uses `fastkml`, `fiona`, and `shapely` to determine what
neighborhood a latitude, longitude pair resides in.

## Installation
### Dependencies
This package uses `shapely` and `fiona`, which require `GEOS` and `GDAL`. On OS
X and Windows you shouldn't need to worry about these, but on a Linux system you
may need to install them:
#### Debian/Ubuntu
`apt-get install libgeos-dev libgdal1-dev`

### This package
`pip install Neighborhoodize`

:boom: boom emoji, you're done.

## Usage example
import neighborhoodize

hood_map = neighborhoodize.NeighborhoodMap(neighborhoodize.zillow.ILLINOIS)

hood_map.get_neighborhoods(41.879617, -87.633463)
# [u'Loop']

## NeighborhoodMaps available for use
### Zillow
Zillow provides their neighborhood boundaries free under Creative Commons.
These are good boundaries to use for colloquial/property-value related use cases.

- `zillow.ILLINOIS`
- `zillow.NEW_YORK`
- more coming soon...

### City of New York
- `nyc.NEIGHBORHOOD_TABULATION_AREAS` (these are [defined](
by the Department of City Planning)

### City of Chicago
- `city_of_chicago.NEIGHBORHOODS` (these are
by the Department of Tourism)

*Have other boundaries you want to see in the package? Open an issue, or,
better yet, make a pull request!*

## Other implementations

jkgiesler's [`chicago_neighborhoods`](
provides similar functionality for Chicago without dependencies.

coddingtonbear's [`django-neighborhoods`](
provides similar functionality as a Django app.

## Future of this project
(see Issues for details/to make suggestions)

- ability to use Chicago community areas or wards instead of 2012 neighborhoods
- ability to use subarb boundaries for Chicagoland areas not inside the city limits
- additional cities

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(924.7 kB) Copy SHA256 Hash SHA256
Source None Nov 3, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting