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

Uploaded Source

Built Distribution

pygris-0.1.2-py3-none-any.whl (53.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygris-0.1.2.tar.gz
  • Upload date:
  • Size: 47.7 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.2.tar.gz
Algorithm Hash digest
SHA256 42f9d8819b924d39dfbaa023e828123d0dfd303f637b60b08d6cedd35f9244b1
MD5 cb90ac026cfa56f715ceec975cf2d066
BLAKE2b-256 eaaffbc42f9d783fa99de3067a506e45a473545703776dbada982066eb885261

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygris-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 53.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 71d28b6a7b4a9a381da6702ccb4c5d59fd3ebe2d794406a5d10e9f912d6b962e
MD5 f3b12d97eb65a3d81936f7a3201b87e9
BLAKE2b-256 56aafd294c953b8f1ff0aed016df81edca9dde0d579f252a7995182b6b1b2784

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