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)
Features terminal for python

Features Terminal V1.0 (23/10/2021) Um programa para linux com diferentes ferramentas! Recursos: Criador de QR code Gerador de senhas Teste de velocid

1 Oct 26, 2021
A VIM-inspired filemanager for the console

ranger 1.9.3 ranger is a console file manager with VI key bindings. It provides a minimalistic and nice curses interface with a view on the directory

12.6k Dec 30, 2022
A **CLI** folder organizer written in Python.

Fsorter Introduction A CLI folder organizer written in Python. Dependencies Before installing, install the following dependencies: Ubuntu/Debain Based

1 Nov 17, 2021
Professor Wordlist is a free open source command line tool written in python

Professor Wordlist is a free open source command line tool written in python, With the aim of generating custom wordlists with a variety of unique parameters and functions providing many possibilitie

γ‚ͺγƒΌγ‚―O A K Z E H γ‚ͺγƒΌγ‚― 1 Oct 28, 2021
Themes for Windows Terminal

Windows Terminal Themes Preview and copy themes for the new Windows Terminal. Use the project at windowsterminalthemes.dev How to use the themes This

Tom 1.1k Jan 03, 2023
A python package to display progress of loops to the user

ProgressBars A python package to display progress of loops to the user. Installation This package can be installed using pip. pip install progressbars

Matthias 3 Jan 16, 2022
Generate folder trees directly from the terminal.

Dir Tree Artist 🎨 🌲 Intro Easily view folder structure, with parameters to sieve out what you want. Choose to exclude files from being viewed (.git,

Glenda T 0 May 17, 2022
A simple terminal-based localhost chat application written in python

Chat House A simple terminal-based localhost chat application written in python How to Use? Clone the repo git clone https://github.com/heksadecimal/c

Heks 10 Nov 09, 2021
CryptoCo-py is a Python CLI application that uses CoinGecko API to allow the user to query cryptocurrency information by typing simple commands.

CryptoCo-py is a Python CLI application that uses CoinGecko API to allow the user to query cryptocurrency information by typing simple com

1 Jan 10, 2022
A library for creating text-based graphs in the terminal

tplot is a Python package for creating text-based graphs. Useful for visualizing data to the terminal or log files.

Jeroen Delcour 164 Dec 14, 2022
Doing set operations on files considered as sets of lines

CLI tool that can be used to do set operations like union on files considering them as a set of lines. Notes It ignores all empty lines with whitespac

Partho 11 Sep 06, 2022
Gamma ion pump QPC ethernet Python library & CLI utility

Unofficial Gamma ion pump ethernet control CLI utility and library This is a mini Python 3 library and utility that exposes some of the functions of t

2 Jul 18, 2022
Chat In Terminal - Chat-App in python

Chat In Terminal Hello all. πŸ˜‰ Sockets and servers are vey important for connection and importantly chatting with others. πŸ˜‚ 😁 I have thought of maki

Shreejan Dolai 5 Nov 17, 2022
ServX | Bash Command as a Service

ServX | Bash Command as a Service Screenshots Instructions for running Run python3 servx.py. COMPATIBILITY TESTED ON ARCHLINUX(x64) & DEBIAN(x64) ONLY

ARPSyndicate 2 Mar 11, 2022
A simple script to make the operation of AltServer-Linux more easier with cli

A simple script to make the operation of AltServer-Linux more easier with cli

powen 23 Dec 13, 2022
Terminal epub reader with inline images

nuber Inspired by epy, nuber is an Epub terminal reader with inline images written with Rust and Python using Überzug. Features Display images in term

Moshe Sherman 73 Oct 12, 2022
A command line utility for tracking a stock market portfolio. Primarily featuring high resolution braille graphs.

A command line stock market / portfolio tracker originally insipred by Ericm's Stonks program, featuring unicode for incredibly high detailed graphs even in a terminal.

Conrad Selig 51 Nov 29, 2022
A Python3 rewrite of my original PwnedConsole project from almost a decade ago

PwnedConsoleX A CLI shell for performing queries against the HaveIBeenPwned? API to gather breach information for user-supplied email addresses. | wri

1 Jul 23, 2022
Command Line (CLI) Application to automate creation of tasks in Redmine, issues on Github and the sync process of them.

Task Manager Automation Tool (TMAT) CLI Command Line (CLI) Application to automate creation of tasks in Redmine, issues on Github and the sync process

Tiamat 5 Apr 12, 2022
Phishing-Detective is a command line application for Windows 10 built to detect a phishing site from two url's

Phishing-Detective Phishing-Detective is a command line application for Windows 10 built to detect a phishing site from two url's How it works A simpl

2 Jun 23, 2022