<commit_before># PyAirQualityCollector

A simple script to capture AQI (Air Quality Index) from [pm25.in](http://www.pm25.in/) public API and output as InfluxDB line protocol. 

## Example Site

Visit my [Grafana AQI dashboard](https://grafana.swineson.me/dashboard/db/air-quality)

Improvements & donation welcomed. Email to: aqi#public.swineson.me

## Usage

1. Request a new API key from [PM25.in API](http://www.pm25.in/api_doc)
2. Clone this repo<commit_msg>fix uppercase<commit_after># PyAirQualityCollector

A simple script to capture AQI (Air Quality Index) from [PM25.in](http://www.pm25.in/) public API and output as InfluxDB line protocol. 

## Example Site

Visit my [Grafana AQI dashboard](https://grafana.swineson.me/dashboard/db/air-quality)

Improvements & donation welcomed. Email to: aqi#public.swineson.me

## Usage

1. Request a new API key from [PM25.in API](http://www.pm25.in/api_doc)
2. Clone this repo
{'fraction_non_alphanumeric': 0.11663066954643629, 'fraction_numerical': 0.02159827213822894, 'mean_word_length': 4.517857142857143, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5637942', 'n_tokens_mistral': 343, 'n_tokens_neox': 314, 'n_words': 96}