<commit_before># Top Albums

An ultra-simple Flask application to display a user's top 10 albums using the LastFM API

## Requirements

To run this application, a working Python install, with virtualenv is required.

To set this up on Mac OS X, follow [these instructions](http://docs.python-guide.org/en/latest/starting/install/osx/).

## Running Locally

To run the application locally:

- Navigate to the top-albums base directory
- Install a virtualenv instance: `virtualenv venv`
- Activate the virtualenv instance: `source venv/bin/activate`
- Start the server: `python app.py`
- Navigate to [http://0.0.0.0:5000](http://0.0.0.0:5000)

## To deploy to Heroku

- It should be sufficient to type: `git push heroku master`




<commit_msg>Add deactivate instructions to README<commit_after># Top Albums

An ultra-simple Flask application to display a user's top 10 albums using the LastFM API

## Requirements

To run this application, a working Python install, with virtualenv is required.

To set this up on Mac OS X, follow [these instructions](http://docs.python-guide.org/en/latest/starting/install/osx/).

## Running Locally

To run the application locally:

- Navigate to the top-albums base directory
- Install a virtualenv instance: `virtualenv venv`
- Activate the virtualenv instance: `source venv/bin/activate`
- Start the server: `python app.py`
- Navigate to [http://0.0.0.0:5000](http://0.0.0.0:5000)

To terminate the web server and exit the virtualenv:

- ctrl-C
- `deactivate`


## To deploy to Heroku

- It should be sufficient to type: `git push heroku master`





{'fraction_non_alphanumeric': 0.09697732997481108, 'fraction_numerical': 0.022670025188916875, 'mean_word_length': 4.060509554140127, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '4749409', 'n_tokens_mistral': 510, 'n_tokens_neox': 476, 'n_words': 193}