Skip to main content

geostates

pypi downloads License:MIT DOI

Geostates is a Python package for quickly plotting choropleth maps of the United States.

Installation

PyPI

To install geostates run: pip install geostates.

Dev roadmap

The current version of geostates only allows for plotting choropleth maps of the United States using a very specific set of shapefiles. In the future, the goal is to add:

  • Ability to plot United States maps with county-level data.
  • Add support for Congressional Districts, Metropolitan Statistical Areas, and Zip Code Areas to individual state plots.
  • Add support for plotting categorical data for United States maps.
  • Add features for plotting political science maps (ie. Electoral College maps, etc.).

How to contribute

You can contribute to the geostates package by installing it and giving it a try. You can also file issues on the issue tracker or submit a pull request if you would like to make any improvements.

Acknowledgements

  • This package's core functionality relies substantially on the geopandas package.
  • The idea to use inset axes for this package came from Cimbali. A helpful explanation on utilizing segmented colormaps came from JohanC. As mentioned in the comments, the function for discretizing matplotlib colormaps was inspired by an example provided in Jake VanderPlas' Python Data Science Handbook.

Metadata

Release files for geostates 0.1.2

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

Source distribution (sdist)

Source distribution for geostates 0.1.2
File Size Uploaded
geostates-0.1.2.tar.gz 14.8 MB Details

Built distribution (wheel)

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

Total release size: 29.7 MB

Release files / geostates-0.1.2.tar.gz

Download URL geostates-0.1.2.tar.gz
Size 14.8 MB
Tags Source
SHA-256 checksum
How to use checksums
8401d5b4ff8b748b8054cda729bb68205a09bcc23fc112d48bc708cc75b5de49
BLAKE2b-256 checksum
How to use checksums
60cd3d83d9182dbd9c052eee679a04e55513bec4db8179d8f2d03c68904676b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.2

Release files / geostates-0.1.2-py3-none-any.whl

Download URL geostates-0.1.2-py3-none-any.whl
Size 14.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c5536b60782882ff9e0fc4fb364b69b702919b1c3d8da76fea143a0ba935634d
BLAKE2b-256 checksum
How to use checksums
353c7b6cd62bda0d8a00496ff2401a6d7144dec97aa39edbd4779c306da3a6dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

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