DO A RELEASE
=========================
- commit code 

# this will commit to origin/main and will trigger github to do a new release
bump-my-version bump major/minor/patch

# OLD:
# git tag v1.2.24
# git push origin v1.2.24

QUESTIONS:
- separate dependencies:
  - requirements.txt to contain only tools: black/flake8/etc 
  - pyproject.toml to contain actual dependencies but how to install them from there?
- i want a DEB package. can i do it without PyPI packaging? How?



DEBIAN PACKAGE STUFF
=====================================================
# Inspect contents of deb packages
dpkg-deb -c ../tuiweathergirl_1.0-1_all.deb
dpkg-deb -I ../tuiweathergirl_1.0-1_all.deb

# Test with Lintian
lintian --pedantic ../*.deb

sudo apt install ../tuiweathergirl_1.0-1_all.deb
sudo apt remove tuiweathergirl




# Color indexes
COL_YELOWRED: int = 1
COL_YELOWBLACK: int = 2
COL_WHITEBLACK: int = 3
COL_BLUEBLACK: int = 4
COL_REDBLACK: int = 5
COL_GREENBLACK: int = 6
COL_CYANBLACK: int = 7


TODO
======================================================================
- Farmer advice on what to do today


https://interpals.net/inquisitive_lady?_cs=11
https://interpals.net/cybercomrade?_cs=11
https://interpals.net/miluzk?_cs=11












APIs
===============================================================================

timezone api:
https://timezonedb.com/
bananajoe76
timebanana
eugeneisselling@gmail.com
API Key  : P6010WN96110
api gateway: https://api.timezonedb.com

To get fires information:
NASA FIRMS MAP KEY FREE REGISTRATION:
https://firms.modaps.eosdis.nasa.gov/api/map_key/
API KEY: 2150ae22b818807bab0d8a16bc7dc83d


QUERY:
http://api.timezonedb.com/v2.1/get-time-zone?key=P6010WN96110&format=json&by=position&lat={lat}&lng={lon}

RESONSE:
if response.get("status") == "FAILED":
raise Exception(f"Timezone request failed. Try again later. Error: {response.get("status")}")

http://api.timezonedb.com/v2.1/get-time-zone?key=P6010WN96110&format=json&by=position&lat=41.941&lng=25.5755

{
    "status": "OK",
    "message": "",
    "countryCode": "BG",
    "countryName": "Bulgaria",
    "regionName": "Haskovo",
    "cityName": "Haskovo",
    "zoneName": "Europe\/Sofia",
    "abbreviation": "EEST",
    "gmtOffset": 10800,
    "dst": "1",
    "zoneStart": 1774746000,
    "zoneEnd": 1792890000,
    "nextAbbreviation": "EET",
    "timestamp": 1777163062,
    "formatted": "2026-04-26 00:24:22"
}
