Skip to content

mattharley/flask-geoip2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A flask server for a geoip server using MaxMind's brilliant free geoip2 library and database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages