Now
Small CLI tool to print time, date, and weather details to the terminal.
Installation
To use this CLI, you must have an installation of Python 3.
To install this CLI, execute pip3 install now-info-cli
Setup
When you run the now command, you will be prompted to input some information.
This includes the following prompts:
| Prompt | Usage |
|---|---|
| Paste in your API Token: | This is needed to access weather data. You can sign up here. Select the free plan. Your API Key will be emailed to you. |
| Enter the city you live in: | The name of the city you live in. This is how the weather API determines which data to collect. |
Example:
Paste in your API Token: dGhpcyBpcyBhIHRlc3Qgc3RyaW5n
Enter the city you live in: sydney
These prompts will only occur on the first execution. This information is stored in your home directory at .now-cli/.credentials.json should you ever need to update it.
[TIME] 21:19:06
[DATE] Thu Jan 2022
[WTHR] 20°C Clouds
Release files for now-info-cli 1.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| now-info-cli-1.3.1.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| now_info_cli-1.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / now-info-cli-1.3.1.tar.gz
| Download URL | now-info-cli-1.3.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3226e0d26165550af94d67890e434b5fd10dcd7cc203b8928c85d17218f39875
|
|
BLAKE2b-256 checksum How to use checksums |
4b9e71b01a813471c265bd95bfaf9c0f4cc57898c615f0b5db600d8fcfda7c87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
|
Release files / now_info_cli-1.3.1-py3-none-any.whl
| Download URL | now_info_cli-1.3.1-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ffcf649666a9ae471a50d311f5ffc631c4f578cd2f0fd02f80025bcc6745d0d2
|
|
BLAKE2b-256 checksum How to use checksums |
5fd08a05238b51edea74f78f05ee1c47e5d0238d5f7927f009c7ed8ad85d5e8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
|