firefinder
A small, standalone FireFinder+ implementation with the same core logic used in at Geocene, plus lightweight preprocessing helpers.
Install
From PyPI:
pip install firefinder
Local editable install while developing:
pip install -e .
Usage
import pandas as pd
from firefinder import prepare_timeseries, fire_detector_v2, group_events
df = pd.read_csv("metrics.csv")
df = prepare_timeseries(df, correction="false")
df = fire_detector_v2(df)
events = group_events(df)
print(events.head())
If your timestamps are epoch milliseconds:
import pandas as pd
from firefinder import prepare_timeseries, fire_detector_v2, group_events
df = pd.read_json("data.json")
df["timestamp"] = pd.to_datetime(df["timestamp"], unit="ms", utc=True, errors="coerce")
df = prepare_timeseries(df, correction="false")
df = fire_detector_v2(df)
events = group_events(df)
print(events.head())
Testing
pip install -e .[test]
python -m pytest
Required columns
timestampvaluesensor_type_id(required ifcorrection="true")
Notes
prepare_timeseriesmirrors the cleaning behavior from the original lambda processor.correction="true"uses ambientsensor_type_id=9and stovesensor_type_id=1when computing ambient-corrected values.- You can pass a custom
sensorsmapping intoprepare_timeseriesto support additional stove sensor IDs.
Metadata
Release files for firefinder 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| firefinder-0.1.2.tar.gz | 5.7 kB | Without provenance | Details for firefinder-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| firefinder-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for firefinder-0.1.2-py3-none-any.whl |
Total release size: 12.7 kB
Release files / firefinder-0.1.2.tar.gz
| Download URL | firefinder-0.1.2.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
196eb9b598c396192fd3e3042f71823e08f7b6aea821172904aaa4b93235e634
|
|
BLAKE2b-256 checksum How to use checksums |
efff37e60f9134c91a9c69cf573000946d403909987bcbe8e36981f84a5bd85a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.4
|
Release files / firefinder-0.1.2-py3-none-any.whl
| Download URL | firefinder-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9600668693a8409939ac18a3ef4f14ae04f18a97b1b5e1759287d144cfe06476
|
|
BLAKE2b-256 checksum How to use checksums |
55745f0363f0c1addb0949b9e4bb04a4c1fee449f53c166438223612bbe8f0ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.4
|
Security for firefinder 0.1.2
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.