Skip to main content

This package use calculate heat index

Project description

HEAT INDEX (HI)

The Heat Index (HI) is an index that describes how hot the temperature actually feels to the human body when relative humidity is taken into account. It combines both the air temperature and humidity to provide a more accurate measure of perceived heat, which is often referred to as the apparent temperature or feels-like temperature.

The Heat Index is important for assessing the health risks associated with high temperatures, such as heat stroke, dehydration, and heat exhaustion.

Heat Index Formula The Heat Index can be calculated using the empirical formula below, which is valid when the temperature is in Fahrenheit (°F) and the relative humidity is in percentage (%).

Formula:

Formula HEAT INDEX

Features

  • Calculates the Heat Index based on temperature and humidity.
  • Retrieves current weather data from a public API.
  • Displays weather information with periodic updates.

Code Example:

from heat_package.index import main

# coordinates from user actual location
latitude = -8.55309646857836
longitude = 125.5523432617644
main(latitude, longitude)

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

mpg_heatindex-0.2.3.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

mpg_heatindex-0.2.3-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file mpg_heatindex-0.2.3.tar.gz.

File metadata

  • Download URL: mpg_heatindex-0.2.3.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for mpg_heatindex-0.2.3.tar.gz
Algorithm Hash digest
SHA256 f4db2259a2c0f8cd7ddb78003e77c8c09de00c70baefded03b3911cde5fd7977
MD5 ffccbbb510b9c11508cdaf0125a9550c
BLAKE2b-256 fe6486ec2e6f611bd0d46eb0c88aea7496741292a4c973f4427af21ee0f4c2eb

See more details on using hashes here.

File details

Details for the file mpg_heatindex-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: mpg_heatindex-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for mpg_heatindex-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 edd052e909ef2bc2082d5336b9ea1e30c29ee85455729f158f39da315fab7ae6
MD5 9066bf72947f4163c86a5487a18b04b7
BLAKE2b-256 0893ba921a3b8b808d644d49d427c918ea4515c394a985ed6c63c374bef7dd71

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