Metadata-Version: 1.0
Name: yandexweather
Version: 0.0.2
Summary: Python library for parse Yandex weather
Home-page: http://github.com/cancerhermit/PyYandexWeather/
Author: cancerhermit
Author-email: cancerhermit@gmail.com
License: GPL
Description: Installing
        ----------
        
        ::
        
            sudo pip install lxml # requires
            sudo pip install yandexweather
        
        Usage
        -----
        
        ::
        
            from yandexweather import download,load
            xml=download(26686) # weather.yandex.ru-static-cities.xml
            xml.save("filename.xml")
            xml=load("filename.xml")
            f=xml.fact
            print f.temperature,f.weather_type,f.wind_speed,f.humidity,f.pressure
        
            for day in xml.day:
                print day.date
                print "sun %s-%s",day.sunrise,day.sunset
                print "moon %s-%s",day.moonrise,day.moonset
                print "day_parts:"
                for p in day.day_parts:
                    print p.temperature,p.weather_type,p.wind_direction,p.wind_speed,p.humidity,p.pressure
        
                if day.hours:
                    for h in day.hours:
                        print h.at,h.temperature
        
        
Platform: UNKNOWN
Classifier: Environment :: Console
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python
