A simple wrapper and frontend for weatherAPI.com
Project description
speck
speck is a minimal weather app and library to interact with weatherapi.com. It was created by
Sachin Cherian and Nevin Jose
as their 12th grade Computer Science project and showcases some concepts in Python and
some popular development ideas.
Some of the main ideas demonstrated are:
- Usage of functions and classes in Python
- Using packages and modules in Python to separate functionality in code
- Distributing code as packages
- Retrieving and storing data from a remote source
- Serving that data using a GUI toolkit such as Tkinter, and visualization with matplotlib
- Using Version Control software like git to keep track of development and help with collaboration.
See the Wiki for more documentation on some concepts.
Since the project has been completed, this repository will no longer be maintained.
Usage
The speck library
Speck is packaged publicly on PyPi as speck-wrapper
pip install speck-wrapper
Alternatively, to install from source, first clone the repository and then use pip to install it.
git clone https://github.com/schctl/speck.git
cd speck
pip install .
speck can then be imported as a regular python module.
>>> import speck
>>> help(speck)
GUI Frontend
The speck library must be installed for this to work, in addition to requirements listed in app/requirements.txt.
# From the repository's root directory
pip install -r app/requirements.txt
To run the speck app, run main.py under app.
cd app && python main.py
The username and password entry screen is a dummy. The username and password are 11C and 11c2021.
Set the SPECK_DEV environment variable to make the app ignore the login screen.
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
File details
Details for the file speck-wrapper-0.3.14.tar.gz.
File metadata
- Download URL: speck-wrapper-0.3.14.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31f5b3ebb557c24e35c50d284a6b513f1f5fedf293023beca2cb6d38d8a55c95
|
|
| MD5 |
1f05b7f3d169602f289d3ace76d48444
|
|
| BLAKE2b-256 |
8a32628ade0efb3b1d2caf70190128738cb2a86bd07ca3101de14bf4551e4eb2
|