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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file dpi_maps-0.0.2.tar.gz.

File metadata

  • Download URL: dpi_maps-0.0.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.6 Linux/5.15.0-1036-azure

File hashes

Hashes for dpi_maps-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f1a2aab53382ef6c6402e5af5da7334264aca6eeecaf1b1859e373f4920e180b
MD5 de04cb3d7f70de90e6f01dcaa0213c4c
BLAKE2b-256 129c87772deec1994a0890243c634934f652bddb533f14e03c20066a1668da30

See more details on using hashes here.

File details

Details for the file dpi_maps-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: dpi_maps-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.6 Linux/5.15.0-1036-azure

File hashes

Hashes for dpi_maps-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 522aacb98b803a8e1b5dbaf1fce305a7edfa456c57ec2a7c2c72c4442e3737f8
MD5 eb977f8d564c6c4f20cc6a3165f26ed8
BLAKE2b-256 1c58b76505c32158b0f47bdcba92831b75d1f94abeae3a4ff5c18c2de44e00dd

See more details on using hashes here.

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