Easily download U.S. census maps
Project description
Easily download U.S. census maps
Installation
$ pipenv install census-map-downloader
Command line usage
Usage: censusmapdownloader [OPTIONS] COMMAND [ARGS]... Easily download U.S. census maps Options: --data-dir TEXT The folder where you want to download the data --help Show this message and exit. Commands: blocks Download blocks congress-carto Download cartographic congressional districts counties Download counties counties-carto Download cartographic counties countysubdivision Download cartographic county subdivisions legislative-lower-carto Download cartographic state legislative (lower chamber) legislative-upper-carto Download cartographic state legislative (upper chamber) places Download places states-carto Download cartographic states tracts Download tracts zctas Download ZCTAs
Examples
Here’s an example of downloading all counties
$ censusmapdownloader counties
You can specify the download directory with –data-dir
$ censusmapdownloader --data-dir ./my-special-folder/ counties
Contributing
Install dependencies for development
$ pipenv install --dev
Run tests
$ make test
Ship new version to PyPI
$ make ship
Developing the CLI
The command-line interface is implemented using Click and setuptools. To install it locally for development inside your virtual environment, run the following installation command, as prescribed by the Click documentation.
$ pip install --editable .
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
Built Distribution
Close
Hashes for census-map-downloader-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80430b68eecb0f6822aa1162db44be5acbbb54b22a9cf605eb1368b0889f0839 |
|
MD5 | 29f7e5130b38a1dbb6529994f8369f50 |
|
BLAKE2b-256 | 4130af0256678fbf3bb8c5ee4609dec419815524f0180b80a085b381856cb937 |
Close
Hashes for census_map_downloader-0.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7a6e5842ea8b63cf97940f2c7bfb9bf88e17b1b8338ed85ec4ab4fa438d3768 |
|
MD5 | 82d5fd467ea989515af084f606ea6233 |
|
BLAKE2b-256 | 188f6807f10e4461374304c3a7f1897fdfda3a57e81e772ee0c27ee79fd58f94 |