Skip to main content

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:
  counties  Download counties
  places    Download places
  tracts    Download tracts
  zctas      Download ZCTAs
  blocks    Download blocks

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

census-map-downloader-0.0.4.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

census_map_downloader-0.0.4-py2.py3-none-any.whl (10.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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