package mmdb

  1. Overview
  2. No Docs
Binding to the MaxMind DB library for GeoIP lookups

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mmdb-0.2.1.tbz
sha256=8f5649d5fcd3b8b2414a0fed5ddfbdf87b3a854a436e134bf1f8adc93b434bee
md5=63e10e671a8ec354bb3cdf251593d8d0

Description

mmdb binds to the official MaxMind DB C library and allows looking up IPs to their location.

It supports both the GeoLite2 dataset published by MaxMind under a permissive Creative Commons Attribution-ShareAlike 4.0 International License as well as the proprietary database offered by MaxMind.

Unlike other bindings this one uses the ctypes stub generation so it should be less prone to leaking memory.

Added to opam-repository:

Dependencies (8)

  1. ppx_let >= "v0.10"
  2. ppx_deriving >= "4.2"
  3. ocaml >= "4.04.1"
  4. dune >= "1.6"
  5. ctypes-foreign >= "0.4"
  6. ctypes >= "0.14"
  7. conf-libmaxminddb
  8. base >= "v0.10"

Dev Dependencies (2)

  1. base with-test & < "v0.14"
  2. alcotest with-test & >= "0.8.5"

Used by

None

Conflicts

None