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)
A terminal spreadsheet multitool for discovering and arranging data

VisiData v2.6.1 A terminal interface for exploring and arranging tabular data. VisiData supports tsv, csv, sqlite, json, xlsx (Excel), hdf5, and many

Saul Pwanson 6.2k Jan 04, 2023
🐍The nx-python plugin allows users to create a basic python application using nx commands.

🐍 NxPy: Nx Python plugin This project was generated using Nx. The nx-python plugin allows users to create a basic python application using nx command

StandUP Communications 74 Aug 31, 2022
A command line tool to publish ads on ebay-kleinanzeigen.de

kleinanzeigen-bot Feedback and high-quality pull requests are highly welcome! About Installation Usage Development Notes License About kleinanzeigen-b

83 Dec 26, 2022
Dark powered asynchronous completion framework for neovim/Vim8

deoplete.nvim Dark powered asynchronous completion framework for neovim/Vim8 Note: The development of this plugin is finished. Accepts minor patches a

Shougo 5.9k Dec 30, 2022
Gamestonk Terminal is an awesome stock and crypto market terminal

Gamestonk Terminal is an awesome stock and crypto market terminal. A FOSS alternative to Bloomberg Terminal.

Gamestonk Terminal 18.6k Jan 03, 2023
Play videos in the terminal.

Termvideo Play videos in the terminal (stdout). python main.py /path/to/video.mp4 Terminal size: -x output_width, -y output_height. Default autodetect

Patrick 11 Jun 13, 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
A simple Python library that allows you to customize your CLI based output on Linux

Terminal-Colored-Print About A small module that allows to simply decorate strings on Linux terminals. I personally use it for multi-threaded project,

Francesco Milano 0 Dec 13, 2021
CLI utility for updating the EVE Online static data export in a postgres database

EVE SDE Postgres updater CLI utility for updating the EVE Online static data export postgres database. This has been tested with the Fuzzwork postgres

Markus Juopperi 1 Oct 29, 2021
spotifytools is a Python command line tool

spotifytools spotifytools is a Python command line tool Documentation The documentation is available on the following link Releases Instalation instru

0 Sep 28, 2021
The Pythone Script will generate a (.)sh file with reverse shell codes then you can execute the script on the target

Pythone Script will generate a (.)sh file with reverse shell codes then you can execute the script on the targetPythone Script will generate a (.)sh file with reverse shell codes then you can execute

Boy From Future 15 Sep 16, 2022
A multipurpose discord bot with more than 220 commands

Welcome WM Bot A advanced bot with more than 220 commands to fit your needs Explore the commands Β» View Demo Β· Report Bug Β· Request Feature Table of C

Wasi Master 12 Dec 16, 2022
OneDriveExplorer - A command line and GUI based application for reconstructing the folder structure of OneDrive from the UserCid.dat file

OneDriveExplorer - A command line and GUI based application for reconstructing the folder structure of OneDrive from the UserCid.dat file

Brian Maloney 100 Dec 13, 2022
Wik is use to get information about anything on the shell using Wikipedia.

WIK wik is a tool to view wikipedia pages from your terminal. It also let you search for any wikipedia up to date article on one query from your termi

Yash Singh 340 Dec 18, 2022
Convert ACSM files to DRM-free EPUB files with one command on Linux

Knock Convert ACSM files to DRM-free EPUB files using one command. This software does not utilize Adobe Digital Editions nor Wine. It is completely fr

Benton Edmondson 622 Dec 09, 2022
πŸ”– Lemnos: A simple, light-weight command-line to-do list manager.

πŸ”– Lemnos: CLI To-do List Manager This is a simple program that allows one to manage a to-do list via the command-line. Example $ python3 todo.py add

Rohan Sikand 1 Dec 07, 2022
A python Ethereum utilities command-line tool.

peth-cli A python Ethereum utilities command-line tool. After wasting the all day trying to install seth and failed, I took another day to write this.

Moon 55 Nov 15, 2022
A Python package for a basic CLI and GUI user interface

Organizer CLI Organizer CLI is a python command line tool that goes through a given directory and organizes all un-folder bound files into folders by

Caltech Library 12 Mar 25, 2022
ddgr is a cmdline utility to search DuckDuckGo (html version) from the terminal

ddgr is a cmdline utility to search DuckDuckGo (html version) from the terminal. While googler is extremely popular among cmdline users, in many forums the need of a similar utility for privacy-aware

PiΓ±a Colada 2.5k Dec 25, 2022
Command-line search tool for GitHub

cligh is a command-line search tool for GitHub.

1 Oct 02, 2022