Skip to main content

aa-toolbox: Toolbox for anticipatory action

license Test Status PyPI Status Documentation Status Coverage Status pre-commit Code style: black Imports: isort

The anticipatory action (AA) toolbox is a Python package to support development of AA frameworks, by simplifying the downloading and processing of commonly used datasets.

The datasets that we currently support are:

  • CHIRPS rainfall
  • COD ABs (Common Operational Datasets administrative boundaries)
  • FEWS NET food insecurity
  • GloFAS river discharge
  • IRI seasonal rainfall forecast
  • USGS NDVI (normalized difference vegetation index)

For more information, please see the documentation.

Installing

Install and update using pip:

pip install -U aa-toolbox

A Simple Example

Download the admin boundary CODs for Nepal, and retrieve provinces as a GeoDataFrame:

from aatoolbox import create_country_config, CodAB

country_config = create_country_config('npl')
codab = CodAB(country_config=country_config)
codab.download()
provinces = codab.load(admin_level=1)

Contributing

For guidance on setting up a development environment, see the contributing guidelines

Metadata

Release files for aa-toolbox 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aa-toolbox 0.5.0
File Size Uploaded Provenance Actions
aa-toolbox-0.5.0.tar.gz 104.4 kB Without provenance Details for aa-toolbox-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aa-toolbox 0.5.0
File Interpreter ABI Platform Actions
aa_toolbox-0.5.0-py3-none-any.whl Python 3 none any Details for aa_toolbox-0.5.0-py3-none-any.whl

Total release size: 175.6 kB

Release files / aa-toolbox-0.5.0.tar.gz

Download URL aa-toolbox-0.5.0.tar.gz
Size 104.4 kB
Tags Source
SHA-256 checksum
How to use checksums
aca751de538c4d745de30e6088f9c7c1c959e23706008d573a428909d0b8e190
BLAKE2b-256 checksum
How to use checksums
cfd5fc19ca6aa174343474ab1f2d211fb380fde2e913bbdc25e536c48a19bc67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.15

Release files / aa_toolbox-0.5.0-py3-none-any.whl

Download URL aa_toolbox-0.5.0-py3-none-any.whl
Size 71.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f90bd2e983e28943e2049609f9bccbe7e25f83646eedadbd93c80b1fb0787f71
BLAKE2b-256 checksum
How to use checksums
ffb21cb74196c5e6abd31c81f5ab54b84ca78d13c04e69db3f3e457d13636c84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.15

Security for aa-toolbox 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page