Registry / database / maxmind-db

maxmind-db

JSON →
library1.4.0rbrubygemsunverified

A gem for reading MaxMind DB files, a binary file format that stores data indexed by IP address subnets (IPv4 or IPv6).

gem install maxmind-db
INSTALL
IMPORT
SIG · MAXMIND-DB
M
maxmind-db
databaserubyv1.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MaxMind::DB
require 'maxmind/db'

Open a MaxMind DB file and look up an IP address.

require 'maxmind/db' reader = MaxMind::DB.new('path/to/database.mmdb') record = reader.get('8.8.8.8') puts record.inspect
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
maxmind-db — gem install maxmind-db · libregistry