Skip to main content

Final Fantasy XIV weather & time tools.

Project description

Pypi Pypi Build Status

EorzeaEnv

Installation

pip install EorzeaEnv

Usage

from EorzeaEnv.EorzeaTime import EorzeaTime
from EorzeaEnv.EorzeaWeather import EorzeaWeather
from EorzeaEnv.EorzeaLocalize import EorzeaLocalize

Eorzea Time

EorzeaTime.now() #EorzeaTime(Sixth Embral Moon, 11, 21, 56, 0.50, Althyk)
EorzeaTime.now().moon #Sixth Embral Moon
EorzeaTime.now().sun #11
EorzeaTime.now().hour #21
EorzeaTime.now().minute #56
EorzeaTime.now().phase #0.50
EorzeaTime.now().guardian #Althyk

Weather Forecast

weather_list = []

for t in EorzeaTime.weather_period():
    weather = EorzeaWeather.forecast_weather("Eureka Pyros", t)
    weather_list.append(weather)

print(weather_list)
#['Heat Waves', 'Snow', 'Thunder', 'Thunder', 'Heat Waves']

Thanks

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

EorzeaEnv-1.2.2.tar.gz (12.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page