geostates
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| geostates-0.1.2.tar.gz | 14.8 MB | Without provenance | Details for geostates-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| geostates-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for geostates-0.1.2-py3-none-any.whl |
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
|
Security for geostates 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.