Package for visualizing data about cities
pip install beautifulworld
from beautifulworld.city import City, climateGraph
istanbul = City('Istanbul')
print(istanbul)
Istanbul, Turkey
Time: 8:37:08 am
Date: Thursday, August 27, 2020
Weather: Scattered clouds.
Temperature: 24 °C
Population: 10061000
Currency: Turkish Lira (TRY)
Coordinates: (41.105, 29.01)
istanbul = City('Istanbul')
istanbul.climate_graph()
istanbul, canberra, tokyo, sf, delhi, helsinki = City('Istanbul'), City('Canberra'), City('Tokyo'), City('San Francisco'), City('Delhi'), City('Helsinki')
climateGraph(istanbul, canberra, tokyo, sf, delhi, helsinki)
paris, lyon, nice = City('Paris'), City('Lyon'), City('Nice')
climateGraph(paris, lyon, nice)