aa-toolbox-0.5.0
توضیحات
Toolbox for anticipatory action
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | aa-toolbox-0.5.0 |
| نام | aa-toolbox |
| نسخه کتابخانه | 0.5.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Centre for Humanitarian Data Predictive Analytics Team |
| ایمیل نویسنده | centrehumdata@un.org |
| آدرس صفحه اصلی | https://github.com/OCHA-DAP/pa-aa-toolbox |
| آدرس اینترنتی | https://pypi.org/project/aa-toolbox/ |
| مجوز | GPLv3 |
# aa-toolbox: Toolbox for anticipatory action
[](https://github.com/OCHA-DAP/pa-aa-toolbx/blob/main/LICENSE)
[](https://github.com/OCHA-DAP/pa-aa-toolbox/actions?query=workflow%3Atests)
[](https://github.com/OCHA-DAP/pa-aa-toolbox/actions?query=workflow%3APyPI)
[](https://aa-toolbox.readthedocs.io/en/latest/?badge=latest)
[](https://codecov.io/gh/OCHA-DAP/pa-aa-toolbox)
[](https://github.com/pre-commit/pre-commit)
[](https://github.com/psf/black)
[](https://pycqa.github.io/isort/)
The [anticipatory action](https://centre.humdata.org/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](https://aa-toolbox.readthedocs.io/en/latest/).
## Installing
Install and update using [pip](https://pip.pypa.io/en/stable/getting-started/):
```shell
pip install -U aa-toolbox
```
## A Simple Example
Download the admin boundary CODs for Nepal, and retrieve provinces
as a GeoDataFrame:
```python
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](https://github.com/OCHA-DAP/pa-aa-toolbox/blob/main/CONTRIBUTING.rst)
## Links
- [Documentation](https://aa-toolbox.readthedocs.io/en/latest/)
- [Changes](https://github.com/OCHA-DAP/pa-aa-toolbox/blob/main/CHANGELOG.rst)
- [PyPI Releases](https://pypi.org/project/aa-toolbox/)
- [Source Code](https://github.com/OCHA-DAP/pa-aa-toolbox)
- [Issue Tracker](https://github.com/OCHA-DAP/pa-aa-toolbox/issues)
نیازمندی
| مقدار | نام |
|---|---|
| - | cdsapi |
| - | cfgrib |
| - | cftime |
| - | geopandas |
| >=5.6.4 | hdx-python-api |
| - | hdx-python-country |
| - | netCDF4 |
| - | numpy |
| - | pydantic |
| - | python-dateutil |
| - | pyyaml |
| - | rasterio |
| - | requests |
| - | rioxarray |
| - | wrapt |
| - | xarray[parallel] |
| ==4.13.0 | importlib-metadata |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl aa-toolbox-0.5.0:
pip install aa-toolbox-0.5.0.whl
نصب پکیج tar.gz aa-toolbox-0.5.0:
pip install aa-toolbox-0.5.0.tar.gz