A python package for the public fireplan API.
Project description
fireplan
A python package around the public fireplan API.
Installation
pip install python-fireplan
Usage
Alarm
from fireplan import Fireplan
# Fireplan Registration ID
secret = "B75C394B-624526A5"
# Your Division
division = "Musterhausen"
fp = Fireplan(secret, division)
alarmdata = {
"alarmtext": "",
"einsatznrlst": "",
"strasse": "",
"hausnummer": "",
"ort": "",
"ortsteil": "",
"objektname": "",
"koordinaten": "",
"einsatzstichwort": "",
"zusatzinfo": "",
"sonstiges1": "",
"sonstiges2": "",
"RIC": "",
"SubRIC": ""
}
fp.alarm(alarmdata)
Status
from fireplan import Fireplan
secret = "B75C394B-624526A5"
# Your Division
division = "Musterhausen"
fp = Fireplan(secret, division)
statusdata = {
"FZKennung": "40225588996",
"Status": "3"
}
fp.status(statusdata)
Testing
source .venv/bin/activate # activate venv
python -m pytest # run tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python_fireplan-0.2.1.tar.gz
(5.9 kB
view details)
Built Distribution
File details
Details for the file python_fireplan-0.2.1.tar.gz
.
File metadata
- Download URL: python_fireplan-0.2.1.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db80e866db04d498505714f005215e994e2460729de7121b7cb6450fbe78275a |
|
MD5 | 87e6bfcd16e6a80f051b944959d9f3eb |
|
BLAKE2b-256 | c943ae99aeb4e74612eabe3ceb3fd9643de7ada3294dfbd7a2b46d746e808d80 |
Provenance
The following attestation bundles were made for python_fireplan-0.2.1.tar.gz
:
Publisher:
publish-to-pypi.yml
on Bouni/python-fireplan
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
python_fireplan-0.2.1.tar.gz
- Subject digest:
db80e866db04d498505714f005215e994e2460729de7121b7cb6450fbe78275a
- Sigstore transparency entry: 147235996
- Sigstore integration time:
- Predicate type:
File details
Details for the file python_fireplan-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: python_fireplan-0.2.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccffccbd536c9bb2670f215c5017aef3e3190b7625cbdb6a4cd65171da187b56 |
|
MD5 | c1b46f65f61060e6327c0c591271dc5d |
|
BLAKE2b-256 | ba0a5542a9b4d40efb2fc9ba72d4f91e80d06e0244300555f58db88b8d288184 |
Provenance
The following attestation bundles were made for python_fireplan-0.2.1-py3-none-any.whl
:
Publisher:
publish-to-pypi.yml
on Bouni/python-fireplan
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
python_fireplan-0.2.1-py3-none-any.whl
- Subject digest:
ccffccbd536c9bb2670f215c5017aef3e3190b7625cbdb6a4cd65171da187b56
- Sigstore transparency entry: 147235997
- Sigstore integration time:
- Predicate type: