semvec/pypi-packages huggingface dataset:
weatherincity 1.0.1
Retrieves the current temperature in a city
License: Unlicense
Requires Python: >=3.10
Keywords: weather, temperature, example-package

# Installation

    pip install weatherincity


# Usage as a CLI tool

    python weatherincity.py Berlin

This will retrieve and display the current temperature for Berlin:

    The current temperature in Berlin is: +6°C


# Usage as a module

    import weatherincity
    print(weatherincity.get_current_temperature('Berlin'))
    '+6°C'