Skip to main content

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]

Or via conda-forge with:

conda install pygris

# For optional dependencies to support interactive examples in the documentation:
# conda 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:

Metadata

Release files for pygris 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pygris 0.2.1
File Size Uploaded
pygris-0.2.1.tar.gz 52.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pygris 0.2.1
File Interpreter ABI Platform
pygris-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 110.5 kB

Release files / pygris-0.2.1.tar.gz

Download URL pygris-0.2.1.tar.gz
Size 52.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d0a6893b60a4f10c1fda1939228450a89b4c6f6c7a7afcbad441da24666d30d0
BLAKE2b-256 checksum
How to use checksums
4bc6138d75978264144d11cfce5e03b1751c02d10ce5674a031d57f2573ac069
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / pygris-0.2.1-py3-none-any.whl

Download URL pygris-0.2.1-py3-none-any.whl
Size 58.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34645b3cc456f6b761326979f0bac98f780931e72956bb6c86e742895908beca
BLAKE2b-256 checksum
How to use checksums
648a183cdcf7492b164d4e93abeb2c9af979c85e297aba5224395a023b793f4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page