<feed xmlns='http://www.w3.org/2005/Atom'>
<title>searxng/searx/engines/open_meteo.py, branch master</title>
<subtitle>Free internet metasearch engine which aggregates results from various search services and databases</subtitle>
<id>https://git.ikboikov.net/searxng/atom?h=master</id>
<link rel='self' href='https://git.ikboikov.net/searxng/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/'/>
<updated>2025-10-01T05:13:10Z</updated>
<entry>
<title>[fix] JSON format: serialization of the result-types</title>
<updated>2025-10-01T05:13:10Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2025-09-30T12:00:09Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=e16b6cb148d9fe6599ec8ce4b2803f0aed3a1d6b'/>
<id>urn:sha1:e16b6cb148d9fe6599ec8ce4b2803f0aed3a1d6b</id>
<content type='text'>
The ``JSONEncoder`` (``format="json"``) must perform a conversion to the
built-in types for the ``msgspec.Struct``::

    if isinstance(o, msgspec.Struct):
        return msgspec.to_builtins(o)

The result types are already of type ``msgspec.Struct``, so they can be
converted into built-in types.

The field types (in the result type) that were not yet of type ``msgspec.Struct``
have been converted to::

    searx.weather.GeoLocation@dataclass -&gt; msgspec.Struct
    searx.weather.DateTime              -&gt; msgspec.Struct
    searx.weather.Temperature           -&gt; msgspec.Struct
    searx.weather.PressureUnits         -&gt; msgspec.Struct
    searx.weather.WindSpeed             -&gt; msgspec.Struct
    searx.weather.RelativeHumidity      -&gt; msgspec.Struct
    searx.weather.Compass               -&gt; msgspec.Struct

BTW: Wherever it seemed sensible, the typing was also modernized in the modified
files.

Closes: https://github.com/searxng/searxng/issues/5250
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
</entry>
<entry>
<title>[mod] weather results: add types, i18n/l10n, symbols &amp; unit conversions</title>
<updated>2025-05-31T18:34:59Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2025-05-29T09:38:34Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=ff206e967993bd2e7aa6597b03d0affee20948b9'/>
<id>urn:sha1:ff206e967993bd2e7aa6597b03d0affee20948b9</id>
<content type='text'>
The types necessary for weather information such as GeoLocation, DateTime,
Temperature,Pressure, WindSpeed, RelativeHumidity, Compass (wind direction) and
symbols for the weather have been implemented.

There are unit conversions and translations for weather property labels.

Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
</entry>
<entry>
<title>[feat] open meteo: use new weather answerer</title>
<updated>2025-05-31T18:34:59Z</updated>
<author>
<name>Bnyro</name>
<email>bnyro@tutanota.com</email>
</author>
<published>2025-04-24T15:29:27Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=cf59ee2efcf5bbebf2899b1f57e892f25d23864d'/>
<id>urn:sha1:cf59ee2efcf5bbebf2899b1f57e892f25d23864d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[chore] engines: replace datetime.utcfromtimestamp with datetime.fromtimestamp</title>
<updated>2025-02-07T16:19:00Z</updated>
<author>
<name>Bnyro</name>
<email>bnyro@tutanota.com</email>
</author>
<published>2025-02-05T13:35:02Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=28ead13eb95a8d852b27436733c8272e7f67dea7'/>
<id>urn:sha1:28ead13eb95a8d852b27436733c8272e7f67dea7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[feat] engine: implementation of Open Meteo</title>
<updated>2024-04-07T17:02:53Z</updated>
<author>
<name>Bnyro</name>
<email>bnyro@tutanota.com</email>
</author>
<published>2024-03-28T20:05:46Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=bf3845b0931b0a528e76d233802c3b196867641d'/>
<id>urn:sha1:bf3845b0931b0a528e76d233802c3b196867641d</id>
<content type='text'>
</content>
</entry>
</feed>
