python-fireplan
Ein Python Modul um die Öffentliche fireplan API.
Installation
pip install python-fireplan
Verwendung
-
API-Key in Fireplan erzeugen
-
Einen Standort Registrieren
from fireplan import Fireplan
fp = Fireplan("Mein-API-Key")
fp.register("Mein-Standort")
Alarm senden
fp.send_alarm({
"ric": "1234567",
"subRIC": "A",
"einsatznrlst": "20250429001",
"strasse": "Musterstrasse",
"hausnummer": "23",
"ort": "Musterhausen",
"ortsteil": "Musterteil",
"objektname": "Schule",
"koordinaten": "48.6928957,9.1928973",
"einsatzstichwort": "Probealarm",
"zusatzinfo": "Was ist denn da los?"
})
Mehrere Alarme senden
fp.send_alarms([
{"ric": "1234567", "subRIC": "A", "einsatznrlst": "20250429001", "einsatzstichwort": "Probealarm"},
{"ric": "7654321", "subRIC": "B", "einsatznrlst": "20250429001", "einsatzstichwort": "Probealarm"},
])
Einsatzliste abrufen
operations = fp.get_operations_list(2024)
Einsatztagebuch abrufen
logs = fp.get_operations_log("123456","Mein-Standort")
Einsatztagebuch Eintrag anlegen
fp.add_operations_log({
"id": 2025015,
"einsatzNrLeitstelle": "20250429001",
"tagebuchText": "Mein Text",
"von": "Max Meier",
"an": "Herbert Müller",
"standort": "Grossbrand Fa. Heinrich",
"typ": "Info",
"timestamp": "2025-04-29T14:04:25.459Z"
})
FMS Status senden
fp.set_fms_status({
"fzKennung": "1234567",
"status": "2",
"statusTime": "2025-04-29T14:08:22.030Z"
})
Kalender abrufen
calendar = fp.get_calendar()
Personalakten abrufen
personnel = fp.get_personnel_records("Mein-Standort")
Inbound SMS
fp.send_inbound_sms({
"tstamp": "2025-04-29T14:08:22",
"sender": "+491701234567",
"text": "Einsatz XY",
"modem": "1"
})
Sonstige Dienste abrufen
other_services = fp.get_other_services(2024)
Termine abrufen
events = fp.get_events(1)
Termin anlegen
fp.add_event({
"startDate": "2025-04-28T14:08:22.030Z",
"endDate": "2025-04-29T14:08:22.030Z",
"allDay": True,
"subject": "Papiersammlung",
"location": "Gerätehaus",
"description": "Halbjährliche Papiersammlung",
"jahr": "2025",
"monat": "04",
"kalenderID": 15
})
Testing
uv run pytest
Notice of Non-Affiliation and Disclaimer
We are not affiliated, associated, authorized, endorsed by, or in any way officially connected with Fireplan, or any of its subsidiaries or its affiliates. The official Fireplan website can be found at https://www.fireplan.de.
The name Fireplan as well as related names, marks, emblems and images are registered trademarks of their respective owners.
Metadata
Release files for python-fireplan 0.4.0
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 | |
|---|---|---|---|---|
| python_fireplan-0.4.0.tar.gz | 7.6 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_fireplan-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.2 kB
Release files / python_fireplan-0.4.0.tar.gz
| Download URL | python_fireplan-0.4.0.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eac1ed2283900d4412ec40fe15444e140e77943e63e25211f41820d50acf7925
|
|
BLAKE2b-256 checksum How to use checksums |
d8adccb425a1fd5f17d3265c28a1268fe80ba8978ae6d0673f0180cbe8543f08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.
Transparency logRelease files / python_fireplan-0.4.0-py3-none-any.whl
| Download URL | python_fireplan-0.4.0-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb022c0ec365e1d7a71de16692528b9303b0fe951400cd6a5e941b8b542cf002
|
|
BLAKE2b-256 checksum How to use checksums |
e4643864815950787bcf8f89a44e37420fad9f3b0129d16c69be711ce2cfa649
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.
Transparency logSecurity for python-fireplan 0.4.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for python_fireplan-0.4.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.
Transparency logA 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.