CLI for collecting weather data
Project description
prettify-py
Why
Need to register a command to collect weather data
What
Build upon bulkhead
Usage
-o specifies the filename -i specifies the interval in seconds -l the longitude -t the latitude
weather-collector -o /home/dev/Documents/weather-collector/sample.csv -i 1 -l 53.551086 -t 9.993682
Installation
Production Build
pip install weather-collector
Dev Build
Clone the repository with
Linux
Run with one of the follwing:
bash install.sh
./install.sh
sh install.sh
Windows
Double click on install.bat
or run
install.bat
Run sample
Place .env file with parameters in the directory
OpenWeatherMapKey=key
OpenWeatherMapURL=api.openweathermap.org
TomorrowIOKey=key
TomorrowIOURL=api.tomorrow.io
weather-collector -o /home/dev/Documents/weather-collector/sample.csv -i 1 -l 53.551086 -t 9.993682
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for weather_collector-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | baa0e843192633f1028244e84f8c1286adb317bc24bc7582b617e7cfb043a162 |
|
MD5 | f5c657be5c872d35e6d8d77336beddac |
|
BLAKE2b-256 | 81871f4f64524ac38da67bfbd66513217d46d829cc30a369630ed16532cf7641 |