Skip to main content

Download maps from the Deptment of Prime Industries for use in R license activites.

Project description

DPI Maps

Retrieve maps and species reports from the Department of Prime Industries

Setup

pip install dpi-maps

To login you will need to provide either an environment variable, or use the flags.

Environment variables which can be set to login:

DPI_USERNAME and DPI_PASSWORD.

Alternatively, use --username and --password flag for each invocation of the command.

By default, all maps and report are downloaded to /tmp/dpi. Use --directory or DPI_DIRECTORY to override this behaviour.

Usage

default.png

To view the available commands run dpi-maps

Retrieve all maps

scrape.png

dpi-maps scrape will retrieve all the most recent maps available.

This will get both kmz and pdf. Use --map-type=pdf or --map-type=kmz to get only that type.

Get the latest species report

reports.png

dpi-maps reports will collect the latest species report.

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

dpi_maps-0.0.2.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

dpi_maps-0.0.2-py3-none-any.whl (5.9 kB view hashes)

Uploaded 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