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]

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:

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pygris-0.2.1-py3-none-any.whl (58.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygris-0.2.1.tar.gz
  • Upload date:
  • Size: 52.2 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for pygris-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d0a6893b60a4f10c1fda1939228450a89b4c6f6c7a7afcbad441da24666d30d0
MD5 9bb29d7f8c6fb9368e8caa0da07cdfc5
BLAKE2b-256 4bc6138d75978264144d11cfce5e03b1751c02d10ce5674a031d57f2573ac069

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygris-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 58.3 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for pygris-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 34645b3cc456f6b761326979f0bac98f780931e72956bb6c86e742895908beca
MD5 034cec119f4114730245a1a9901fc237
BLAKE2b-256 648a183cdcf7492b164d4e93abeb2c9af979c85e297aba5224395a023b793f4f

See more details on using hashes here.

Supported by

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