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.6.tar.gz (49.9 kB view details)

Uploaded Source

Built Distribution

pygris-0.1.6-py3-none-any.whl (55.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygris-0.1.6.tar.gz
  • Upload date:
  • Size: 49.9 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.6.tar.gz
Algorithm Hash digest
SHA256 28d4f70ace5aa5e45828fc304f451f2cdcd530deb2df143bf810501b336a7588
MD5 6eeac93364fd60b30cc7247ceb7b017f
BLAKE2b-256 eb1bd94329e0c6756d17fc66bf8fa7cdff3988cf52a492004b66a2b317ead0d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygris-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 55.7 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3dee79427dcbb4cff3ea832a6ffd65644e66747e1ac0ff7c62f6f421baf247a6
MD5 d40457a564ee3410aaa9325ae16f7b0c
BLAKE2b-256 6189e418fdc5bff5bd553d5b8b35d33ff559a7afcc5257c0ddeaf1f6c6a14db8

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