cweather-0.0.1
توضیحات
Weather for your command line, with pretty colors
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cweather-0.0.1 |
| نام | cweather |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jack Rosenthal |
| ایمیل نویسنده | jack@rosenth.al |
| آدرس صفحه اصلی | https://github.com/jackrosenthal/cweather |
| آدرس اینترنتی | https://pypi.org/project/cweather/ |
| مجوز | MIT |
``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
.. note::
Pass the ``--user`` flag to ``pip`` if you would like to install for your
local user.
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.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.4, <4 | Python |
نحوه نصب
نصب پکیج whl cweather-0.0.1:
pip install cweather-0.0.1.whl
نصب پکیج tar.gz cweather-0.0.1:
pip install cweather-0.0.1.tar.gz