dpi-maps-0.0.2
توضیحات
Download maps from the Deptment of Prime Industries for use in R license activites.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dpi-maps-0.0.2 |
| نام | dpi-maps |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Daniel Michaels |
| ایمیل نویسنده | dan@danielms.site |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/dpi-maps/ |
| مجوز | - |
# 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

To view the available commands run `dpi-maps`
### Retrieve all maps

`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

`dpi-maps reports` will collect the latest species report.
نیازمندی
| مقدار | نام |
|---|---|
| >=0.7.0,<0.8.0 | typer[all] |
| >=1.31.1,<2.0.0 | playwright |
| >=1.1.1,<2.0.0 | fake-useragent |
| >=22.3.0,<23.0.0 | structlog |
| >=0.23.3,<0.24.0 | httpx |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl dpi-maps-0.0.2:
pip install dpi-maps-0.0.2.whl
نصب پکیج tar.gz dpi-maps-0.0.2:
pip install dpi-maps-0.0.2.tar.gz