<commit_before># flask-geoip2
A flask server for a geoip server using MaxMind's brilliant free geoip2 library and database

## Install Maxmind C Extension

https://github.com/maxmind/libmaxminddb

```
brew install libmaxminddb
```

## Download the latest free databases

```
cd data
wget http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz && gzip -df GeoLite2-City.mmdb.gz 
cd ..
```

## Install the requirements files
```
pip install -r requirements.txt
```

## Run the server!
```
python app.py
```

## Credits
This product includes GeoLite2 data created by MaxMind, available from [http://www.maxmind.com](http://www.maxmind.com])<commit_msg>Fix extra bracket<commit_after># flask-geoip2
A flask server for a geoip server using MaxMind's brilliant free geoip2 library and database

## Install Maxmind C Extension

https://github.com/maxmind/libmaxminddb

```
brew install libmaxminddb
```

## Download the latest free databases

```
cd data
wget http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz && gzip -df GeoLite2-City.mmdb.gz 
cd ..
```

## Install the requirements files
```
pip install -r requirements.txt
```

## Run the server!
```
python app.py
```

## Credits
This product includes GeoLite2 data created by MaxMind, available from [http://www.maxmind.com](http://www.maxmind.com)
{'fraction_non_alphanumeric': 0.12789827973074047, 'fraction_numerical': 0.0074794315632011965, 'mean_word_length': 4.506172839506172, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4952124', 'n_tokens_mistral': 470, 'n_tokens_neox': 426, 'n_words': 127}