Skip to main content

A package for detecting fire

Project description

virtialsmoke

We used empirical data to build a virtual smoke detector or a model to predict fire alarm from environmental variables

Installation

Install the package as follows:

python3 -m pip install virtualsmoke

Usage

As a CLI

The package can be used as a commandline interface or in a script. For CLI the following options must be provided:

NAME
    smoke.py

SYNOPSIS
    smoke.py T H P

POSITIONAL ARGUMENTS
    T
    H
    P

NOTES
    You can also use flags syntax for POSITIONAL ARGUMENTS

In the script

from virtualsmoke.smoke import signal
print(signal(T,H,P))

Where T is the surrounding or surface temperature in Kelvin, H is the relative humidity (%), and P is the barometric pressure in hectopascal (hPa).
The model will calculate the mean free path of air, which is the main indicator for sensing fires.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

virtualsmoke-0.0.2.tar.gz (53.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

virtualsmoke-0.0.2-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file virtualsmoke-0.0.2.tar.gz.

File metadata

  • Download URL: virtualsmoke-0.0.2.tar.gz
  • Upload date:
  • Size: 53.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for virtualsmoke-0.0.2.tar.gz
Algorithm Hash digest
SHA256 0c69ae34cea24efbfc1f7b7b632e69e6f54d17e963b6d105cb1d763d7660ccfd
MD5 e145d8ea750056b7435f9e9eea53eda4
BLAKE2b-256 3a44e94c45e49d4c0512cf89cb5819e4463cc8f13e1387ff74849e8d20ad0144

See more details on using hashes here.

File details

Details for the file virtualsmoke-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: virtualsmoke-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for virtualsmoke-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a45a8f36811cdd038de3fc8fe994e1a4309c0e14a1e0a63a0bce111fdc5e2402
MD5 fcb033b0a967861b997dbd0abda0c85e
BLAKE2b-256 1ddef2e5e8f6d60596467cbdb6b65ac19219ef0de46c5aa27a57590126edaaf9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page