Get Air Quality Index for your city/country 😷

Overview

Air Quality Index CLI

Get Air Quality index for your City.

Installation

$ pip install air-quality-cli

Contents

Usage

Initialization

One time setup to initialize the CLI using API token.

Get your API Token!

$ air init

Seach for air quality based on country or city name

$ air search kathmandu
$ air search Nepal
Demo demo of air quality cli search

Save your city to config for quick view.

You can save stations from a number of locations to quickly view air quality there.

Save the location

$ air add kathmandu

Show air quality from all your saved locations

$ air show
Demo demo of air quality cli | add and show

Contributing

For guidance on setting up a development environment and how to make a contribution to air-quality-cli, see the contributing guidelines.

Comments
  • Support Apple M1 Darwin ARM

    Support Apple M1 Darwin ARM

    yankeexe/air-quality-cli crit platform darwin/arm64 is not supported. Make sure this script is up-to-date and file request at https://github.com/yankeexe/air-quality-cli/issues/new

    opened by poetaman 3
  • Change walrus operator implementation for python3.6

    Change walrus operator implementation for python3.6

    1. Change walrus operator implementation for python3.6 because it is not supported in python3.6
    2. Remove unused imports
    3. Change variable names according to PEP-8
    4. Remove trailing whitespaces in files
    5. Fix typos
    opened by sugat009 1
  • Add `--select` flag for `search` command to select station from search result.

    Add `--select` flag for `search` command to select station from search result.

    The default behavior for search dumps all the data received. Add a prompt to select only the stations one is interested in.

    Look at add command or remove command for reference.

    good first issue 
    opened by yankeexe 1
  • Add `remove` command to remove stations from the `stations` config file.

    Add `remove` command to remove stations from the `stations` config file.

    Remove Stations added on ~/.aqi/stations config dictionary.

    Need to update the flow of add command to include the station name to the config file. Store uid along with station_name as a Tuple for the search query key.

    Example:

    {"kathmandu": [(11, "Basantapur, Kathmandu")]}
    

    When delete is invoked, grab the name from config file and show it as a menu using simple-term-menu and delete that station accordingly.

    good first issue 
    opened by yankeexe 0
  • Feature: add a concise option

    Feature: add a concise option

    Add an option to show just a concise list: that displays just "Cityname: AQI", with one city per line. Advantage: then users can integrate it into a dashboard like https://github.com/wtfutil/wtf/ to display AQI using their cmdrunner module.

    opened by poetaman 0
Releases(v0.0.8)
Patool is a portable command line archive file manager

Patool Patool is an archive file manager. Various archive formats can be created, extracted, tested, listed, searched, repacked and compared with pato

318 Jan 04, 2023
Analyzing the most strategic words to guess on Wordle, based on letter frequency distributions

wordle-analysis Evaluating different heuristics to determine the most effective solving strategy and building an AI-powered assistant tool to help you

Sejal Dua 9 Feb 27, 2022
This is a CLI utility that allows you to view RedFlagDeals.com on the command line.

RFD Description Motivation Installation Usage View Hot Deals View and Sort Hot Deals Search Advanced View Posts Shell Completion bash zsh Description

Dave G 8 Nov 29, 2022
A Multipurpose bot with many Commands made using Pycord

This repo has all of the commands you will ever need in a discord bot. a Multipurpose discord bot

Pogrammar 42 Dec 18, 2022
This is a tool for managing file notes through the command line

This is a tool for managing file notes through the command line

2 Jun 22, 2022
Open-Source Python CLI package for copying DynamoDB tables and items in parallel batch processing + query natural & Global Secondary Indexes (GSIs)

Python Command-Line Interface Package to copy Dynamodb data in parallel batch processing + query natural & Global Secondary Indexes (GSIs).

1 Oct 31, 2021
lfb (light file browser) is a terminal file browser

lfb (light file browser) is a terminal file browser. The whole program is a mess as of now. In the feature I will remove the need for external dependencies, tidy up the code, make an actual readme, a

2 Apr 09, 2022
Investing library and command-line interface inspired by the Bogleheads philosophy

Lakshmi (Screenshot of the lak command in action) Background This project is inspired by Bogleheads forum. Bogleheads focus on a simple but powerful p

Sarvjeet Singh 108 Dec 26, 2022
Rover is a command line interface application that allows through browse through mission data, images, metadata from the NASA Official Website

🤖 rover Rover is a command line interface application that allows through browse through mission data, images, metadata from the NASA Official Websit

Saketha Ramanjam 4 Jan 19, 2022
A CLI tool for creating disposable environments.

dispenv - Disposable Python Environments ⚠️ WIP Need to make an environment to work on a GitHub issue? Want to try out a new package and not leave the

Peter Baumgartner 3 Mar 14, 2022
🌈 Beautify your command line interfaces.

Basics Install: pip install iridi Usage: import iridi # Create gradient text # iridi.print(message, colors, options) # Ask for input with gradient

Conrad Crawford 39 Oct 20, 2022
Magnificent app which corrects your previous console command.

The Fuck The Fuck is a magnificent app, inspired by a @liamosaur tweet, that corrects errors in previous console commands. Is The Fuck too slow? Try t

Vladimir Iakovlev 75k Jan 02, 2023
Wordle-textual - Play Wordle from the CLI, using Textual

Wordle, playable from the CLI This project seeks to emulate Wordle in your shell

PhenoM4n4n 3 Mar 29, 2022
py-image-dedup is a tool to sort out or remove duplicates within a photo library

py-image-dedup is a tool to sort out or remove duplicates within a photo library. Unlike most other solutions, py-image-dedup intentionally uses an approximate image comparison to also detect duplica

Markus Ressel 96 Jan 02, 2023
Freaky fast fuzzy Denite/CtrlP matcher for vim/neovim

Freaky fast fuzzy Denite/CtrlP matcher for vim/neovim This is a matcher plugin for denite.nvim and CtrlP.

Raghu 113 Sep 29, 2022
Command-line parsing library for Python 3.

Command-line parsing library for Python 3.

36 Dec 15, 2022
PwnWiki command line searching tool & bindings written in Python

pwsearch PwnWiki 数据库搜索命令行工具。 安装 您可以直接用 pip 命令从 PyPI 安装 pwsearch: pip3 install -U pwsearch 您也可以 clone 该仓库并直接从源码启动

PwnWiki 20 Jun 21, 2021
Enlighten Progress Bar is a console progress bar library for Python.

Overview Enlighten Progress Bar is a console progress bar library for Python. The main advantage of Enlighten is it allows writing to stdout and stder

Rockhopper Technologies 265 Dec 28, 2022
tiptop is a command-line system monitoring tool in the spirit of top.

Command-line system monitoring. tiptop is a command-line system monitoring tool in the spirit of top. It displays various interesting system stats, gr

Nico Schlömer 1.3k Jan 08, 2023
Easy-to-use terminal program that can compile your code.

Description Easy-to-use terminal program that can compile your code. Installition 1. Cloning repository $ git clone https://github.com/DarkJoij/Compil

DarkJoij 1 Oct 21, 2021