Skip to main content

Download and use US Census Bureau TIGER/Line Shapefiles and other data resources in Python

Project description

pygris

pygris is a Python package to help users access US Census Bureau TIGER/Line and cartographic boundary shapefiles and load them into Python as GeoDataFrames. The goal of the package is to make it simple to access US Census geographic data; data can be acquired with a single function for a given geography (e.g. tracts() for Census tracts) along with a few options.

The package is a general port of the R tigris package with a few modifications. The framework of and philosophy behind the tigris package is covered in Chapter 5 of my book, Analyzing US Census Data: Methods, Maps and Models in R.

Install pygris from PyPI with the following command:

pip install pygris

# For optional dependencies to support interactive examples in the documentation:
# pip install pygris[explore]

Alternatively, install the development version from GitHub:

pip install git+https://github.com/walkerke/pygris.git

Support for installation with conda is forthcoming.

Read the following articles for more information on how to use the package:

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

pygris-0.1.4.tar.gz (48.1 kB view details)

Uploaded Source

Built Distribution

pygris-0.1.4-py3-none-any.whl (53.6 kB view details)

Uploaded Python 3

File details

Details for the file pygris-0.1.4.tar.gz.

File metadata

  • Download URL: pygris-0.1.4.tar.gz
  • Upload date:
  • Size: 48.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for pygris-0.1.4.tar.gz
Algorithm Hash digest
SHA256 870116f7af795c11b2902bc5b68e52b4a32ee312f2a098d53a5b35dcc5cfd98a
MD5 e0ed90566d3716f5a0c0ca66586e635b
BLAKE2b-256 e222f4877673f690d9e0a073cb682d0c9b019e9108026c9ed037ffcf66f50b4e

See more details on using hashes here.

File details

Details for the file pygris-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: pygris-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 53.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for pygris-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5c8bd750257305f15128e490e0dca971dfe48cfe899fadcd32f39edf857d7469
MD5 509071b77d45d71c4c622048bfce56f6
BLAKE2b-256 b06a682f5e19618a0be66ccf19bf016797c4d8bea2384b18934f013ad0460e72

See more details on using hashes here.

Supported by

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