<commit_before>city celsius color composition
==============================

Also known as: Colorscheme project, color palette, colorsheme

y-a-v-a 2008-2014

* A class that contacts Open Weather Map for weather forecasts and turn temperatures into colors.
* UPDATE 2012-09-09 : Google shut down API because of shutting down iGoogle. Switched to openweathermap.org API.
* UPDATE 2012-09-10 : Added caching. For every city a file is created per day containing JSON from openweathermap.org.
* UPDATE 2014-08-10 : Switched to new openweathermap.org API which needs an API key.
<commit_msg>add howto<commit_after>city celsius color composition
==============================

Also known as: Colorscheme project, color palette, colorsheme

y-a-v-a 2008-2014

* A class that contacts Open Weather Map for weather forecasts and turn temperatures into colors.
* UPDATE 2012-09-09 : Google shut down API because of shutting down iGoogle. Switched to openweathermap.org API.
* UPDATE 2012-09-10 : Added caching. For every city a file is created per day containing JSON from openweathermap.org.
* UPDATE 2014-08-10 : Switched to new openweathermap.org API which needs an API key.

How to get it running?

* Create an appid.php file and define a constant there called APP_ID.
* Get an APP id from openweathermap.org and add it in appid.php
{'fraction_non_alphanumeric': 0.09864457831325302, 'fraction_numerical': 0.04819277108433735, 'mean_word_length': 4.491735537190083, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '7496774', 'n_tokens_mistral': 448, 'n_tokens_neox': 349, 'n_words': 174}