Skip to content

A console program to collect and view weather information from the specified resources. The application has functionality to configure the location, log errors, cache result and save info to the file.

Notifications You must be signed in to change notification settings

chalk13/weatherapp.core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

299 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tool to get the current weather

Combine and present information from different weather websites in one place and be able to view and compare them.

Functionality:

  1. Collect information from different weather websites.
  2. A simple interface to use the program.
  3. Adding a new resource, feature will not change the implementation of the main functionality.
  4. Possibility of further development of the program.

RESOURCES: AccuWeather, Rp5, Sinoptik


Installation:

Download the repository to your machine and use the following command to locally install the package:
$ pip install .

Usage:

  • Run the weather application for all providers:
    $ wfapp
  • Get a list of all providers:
    $ wfapp providers
  • Get weather information from a specific provider:
    $ wfapp [provider id]
  • Update cache:
    $ wfapp --refresh
    or
    $ wfapp [provider id] --refresh
  • Clear cache:
    $ wfapp clear-cache
  • Save the weather information to the file:
    $ wfapp save-to-csv [provider id]
  • Customize your location to get weather information:
    $ wfapp config [provider id]
  • To see the full traceback in the case of error, use --debug command:
    $ wfapp --debug
    $ wfapp config [provider id] --debug

About

A console program to collect and view weather information from the specified resources. The application has functionality to configure the location, log errors, cache result and save info to the file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages