Skip to main content

cweather: Weather for your Command Line

This is a really simple script that gives you a pretty and colorful display of the weather on your command line. Presumably, it would be useful to put in your login script or MOTD so that you can see the weather when you log into a terminal.

Author:

Jack Rosenthal

Requires:

Python 3.4 or greater, Requests

License:

MIT

Contributing:

See CONTRIBUTING.rst

Installation

Install using pip:

pip install cweather

Usage

cweather [-h] [--api-key API_KEY] [--timeout TIMEOUT] [--no-color] [location]

-h, --help

show this help message and exit

--api-key API_KEY

Wunderground API key, defaults to WUNDERGROUND_API_KEY in your environment, or some random one that might work if unset

--timeout TIMEOUT

Timeout for connection

--no-color

No colors, default if TERM is vt100

location specifies a named location (e.g., Golden, CO) or a postal code, and will default to the LOCATION environment variable, or 80401 (Golden, CO) if unset.

Metadata

Release files for cweather 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cweather 0.0.1
File Size Uploaded
cweather-0.0.1.tar.gz 4.6 kB Details

Release files / cweather-0.0.1.tar.gz

Download URL cweather-0.0.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6e3c0a86ea82948c42fefbc5fc4df8718b92b9b9622b86d8789ded25843e40db
BLAKE2b-256 checksum
How to use checksums
eca929f22604cd6c24e2c4aca99233ba35ca3db6a833a7bfc867c95bb88f39b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page