Skip to main content

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


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.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

now_info_cli-1.3.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file now-info-cli-1.3.1.tar.gz.

File metadata

  • Download URL: now-info-cli-1.3.1.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

Hashes for now-info-cli-1.3.1.tar.gz
Algorithm Hash digest
SHA256 3226e0d26165550af94d67890e434b5fd10dcd7cc203b8928c85d17218f39875
MD5 ba4f8288bc80820a33cd96397f08b463
BLAKE2b-256 4b9e71b01a813471c265bd95bfaf9c0f4cc57898c615f0b5db600d8fcfda7c87

See more details on using hashes here.

File details

Details for the file now_info_cli-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: now_info_cli-1.3.1-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

Hashes for now_info_cli-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ffcf649666a9ae471a50d311f5ffc631c4f578cd2f0fd02f80025bcc6745d0d2
MD5 aff2636d98e1cf408bf7c87121e96656
BLAKE2b-256 5fd08a05238b51edea74f78f05ee1c47e5d0238d5f7927f009c7ed8ad85d5e8b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page