Command line utilities for information about now
Project description
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
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
now-info-cli-1.3.0.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file now-info-cli-1.3.0.tar.gz
.
File metadata
- Download URL: now-info-cli-1.3.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a25399607eb946090929f96a019ac6220113bd1c12c45d0817a7bf5bc3189e9 |
|
MD5 | a6157e416a2ee0b6c1ca869df2a5ee2c |
|
BLAKE2b-256 | 4c962c78f414ad75804f9b35334193ccd2aabf4f8811700a3aeb66f5a0d0eaf0 |
Provenance
File details
Details for the file now_info_cli-1.3.0-py3-none-any.whl
.
File metadata
- Download URL: now_info_cli-1.3.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6f60bd5bd1f5e125df69c646866d781d49913f76938f990bba08ebedc1d4972 |
|
MD5 | f2269189e3013d940b9f9fa4887e7540 |
|
BLAKE2b-256 | 6bf7ac6b87d8133e769f852c4f3b0c30ec7cb76face6a1e7f415fb9d756c7dd9 |