Skip to content

ozataman/hs-GeoIP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hs-GeoIP: Geolocation in Haskell using MaxMind GeoIPCity

This library provides fast, pure Haskell bindings to the MaxMind GeoIPCity database and the C library.

The workflow mirrors the various MaxMind bindings to other languages with a flavor of Haskell introduced for safe operation.

Here is an example session:

geoLookup = do
  g <- openGeoDB  "GeoLiteCity.dat" memory_cache
  geoLocateByIPAddress g "5.5.5.5"

Please see haddocks for additional details.

About

Haskell bindings to the MaxMind GeoIPCity database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published