Metadata-Version: 2.4
Name: wildfire-analyser
Version: 0.1.2
Summary: Python library for post-fire assessment and wildfire analysis using Google Earth Engine.
Author: Marcelo Camargo
License-Expression: MIT
Project-URL: Homepage, https://github.com/camargo-advanced/wildfire-analyser
Project-URL: Source, https://github.com/camargo-advanced/wildfire-analyser
Project-URL: Issues, https://github.com/camargo-advanced/wildfire-analyser/issues
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: geemap==0.36.6
Requires-Dist: geopandas==1.1.1
Requires-Dist: geedim==2.0.0
Requires-Dist: python-dotenv==1.0.1
Dynamic: license-file

# wildfire-analyser

Python project for analyzing wildfires in natural reserves.

## 📦 Installing the wildfire-analyser library

You can install the library directly from PyPI:

```bash
pip install wildfire-analyser
```

After installation, you can import and use the main classes normally:

```python
from wildfire_analyser import PostFireAssessment, Deliverable, FireSeverity
```

To use the example client included in the package, run:

```bash
python3 -m wildfire_analyser.client
```

Make sure your environment includes the required credentials (e.g., `.env` file) before running the client.

## Setup Instructions for Developers

1. **Clone the repository**

```bash
git clone git@github.com:camargo-advanced/wildfire-analyser.git
cd wildfire-analyser
```

2. **Create a virtual environment**

```bash
python3 -m venv venv
```

3. **Activate the virtual environment**

```bash
source venv/bin/activate
```

4. **Install dependencies**
   Make sure the virtual environment is activated, then run:

```bash
pip install -r requirements.txt
```

5. **Configure environment variables**
   Copy your version of `.env` file to the root folder with your GEE authentication credentials. A template file `.env.template` is provided as an example.

6. **Run the sample client application**

```bash
python3 -m wildfire_analyser.client
```

## Useful Commands

* **Deactivate the virtual environment**:

```bash
deactivate
```
