Skip to main content

CLI for collecting weather data

Project description

prettify-py

License: GPL v3 Python Versions Style Black Documentation Status

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


Download files

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

Source Distribution

weather_collector-0.1.1.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

weather_collector-0.1.1-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

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