{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/2"}],"enrichment":{"capability":"Generates MaxMind DB (MMDB) format files from IP networks and associated data, compatible with MaxMind's official language readers.","skillfed_tags":["ip-geolocation","database-generation"],"use_cases":["Build a custom IP geolocation database by mapping IP ranges to country codes, cities, or ISP information.","Create a private IP-to-metadata lookup service for internal network management or security applications.","Convert CSV or other structured IP data sources into MMDB format for distribution to MaxMind reader clients.","Generate test MMDB files with specific IP ranges and data for unit testing geolocation-dependent code."],"what_it_does":"mmdb-writer is a Python library that creates MaxMind DB (MMDB) format files\u2014the binary database format used by MaxMind's GeoIP and other IP-based lookup services. It takes IP networks (specified using netaddr's IPSet) and associates them with arbitrary data (country codes, ISP names, etc.), then writes them to a .mmdb file that can be read by MaxMind's official readers in any supported language.\n\nThe library handles MMDB's type system, which includes multiple integer and float types (int32, uint16, uint32, uint64, uint128, float, double). Since Python has only one integer and one float type, mmdb-writer lets you specify how integers should be encoded (auto-detection by value size, or explicit types like i32, u16, u32, u64, u128) and provides type wrappers (MmdbI32, MmdbF32) for fine-grained control. This is especially important when Java clients will read the resulting database, as Java's deserialization depends on correct MMDB type metadata.","worth_installing":"Yes, if you need to create or customize MMDB files in Python. The library is actively maintained, has low install friction, carries a permissive MIT license, and supports current Python versions (3.9\u20133.13). No known vulnerabilities. Consider the pure-Python performance baseline before committing to large-scale database generation; the Rust beta branch is available if speed becomes a bottleneck."},"id":"mmdb-writer","links":{"html":"https://skillfed.io/packages/mmdb-writer","md":"https://skillfed.io/packages/mmdb-writer.md","pypi":"https://pypi.org/project/mmdb-writer/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-01","license_spdx":null,"license_treatment":"permissive","name":"mmdb-writer","python_support":"supports_current","summary":"Make `mmdb` format ip library file which can be read by maxmind official language reader"},"popularity":{"monthly_downloads":534139,"position":6138,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.7"}
