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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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