Maxminddb python. Oct 3, 2013 · Project description ...
Maxminddb python. Oct 3, 2013 · Project description Description This is a Python module for reading MaxMind DB files. This project still provides a Python alternative for those who need it. Installation To start using the MaxMind DB Python module, you … MaxMindDB Python 模块使用教程项目介绍MaxMindDB 是一个用于读取 MaxMind DB 文件的 Python 模块。 MaxMind DB 是一种二进制文件格式,用于存储按 IP 地址子网索引的数据(IPv4 或 IPv6)。 该模块包括一个纯 Python 读取器和一个可选的 C 扩展,以提高性能。 MaxMind GeoIP2 API Description This package provides an API for the GeoIP2 and GeoLite2 web services and databases. MaxMind has now released an official Go version of the MMDB MaxMind DB Python Module ¶ Description ¶ This is a Python module for reading MaxMind DB files. 8. MaxMind has now released an official Go version of the MMDB writer. InvalidDatabaseError will be raised with a description of the problem. org Port Added: 2015-05-15 20:25:06 Last Update: 2025-07-28 14:04:53 Commit Hash: d3abcb2 People watching this port, also watch:: p5-Encode-IMAPUTF7, memcached, py311-APScheduler, autoconf, p5-Sort-Naturally Also Listed Make mmdb format ip library file which can be read by maxmind official language reader The official perl writer was written in perl, which was difficult to customize. 6. maxminddb-geolite2 is a library that provides access to MaxMind's GeoIP2 databases. In this article, we will explore how to install the module, open a MaxMind DB file, perform IP address lookups, and handle exceptions. 0 Install pip install maxminddb==2. 13+ free-threading. The module includes both a pure Python reader and an optional C extension. 0 Both the C extension and pure Python implementations are safe for concurrent reads and support Python 3. Installation To install the geoip2 module, type: $ pip install geoip2 If you are not able to install from PyPI, you may also use pip from the source directory: $ python -m pip install . If you prefer using Go, you can check out the official Go implementation mmdbwriter. 然后在你的代码中引用这个配置值来初始化MaxMindDB操作。 请注意,由于MaxMindDB是作为一个库而非独立应用设计的,其“配置”和“启动”的概念更多地与使用该库的应用程序相关,而不是库本身。 正确理解和应用库涉及到对Python环境和库调用的理解。. 0Version of this port present on the latest quarterly branch. The C extension provides free-threading support on platforms with pthread support (such as Linux and macOS) and Windows. Jul 31, 2024 · The MaxMind DB Python module provides a convenient way to read MaxMind DB files, which store data indexed by IP address subnets. 2 net =3 2. Maintainer: olivier@FreeBSD. It depends on the official MaxMind library for functionality, but it conveniently ships a recent version of the GeoLite2 City database as provided by MaxMind. Installation ¶ To install maxminddb, type: python-maxminddb 2. Database Reader Extension If you wish to use the C extension for the database reader, you must Port details py-maxminddb Python module for reading MaxMind DB file 2. 7. This is a Python module for reading MaxMind DB files. 0 Reader for the MaxMind DB format Homepage Repository PyPI Python Keywords geoip, geoip2, maxmind, mmdb License Apache-2. If an IP address is not in the database, a AddressNotFoundError will be raised. So I implemented the MaxmindDB format ip library in python language. MaxMind DB is a binary file format that stores data indexed by IP address subnets (IPv4 or IPv6). Installation To install maxminddb, type: $ pip install maxminddb MaxMind DB Python Module ¶ Description ¶ This is a Python module for reading MaxMind DB files. Python MaxMind DB reader extension. Install pip install -U mmdb_writer Usage Python MaxMind DB reader extension. Contribute to maxmind/MaxMind-DB-Reader-python development by creating an account on GitHub. 3-1 Source Files / View Changes Bug Reports / Add New Bug Search Wiki / Manual Pages Security Issues Flag Package Out-of-Date (?) Download From Mirror libmaxminddb python git (make) python-build (make) python-installer (make) python-setuptools (make) python-setuptools-scm (make) python-wheel (make) python-pytest (check If the file is invalid or there is a bug in the reader, a maxminddb. MaxMind GeoIP2 Python API Description This package provides an API for the GeoIP2 and GeoLite2 web services and databases. Installation ¶ To install maxminddb, type: maxminddb Release 2. g3dzl, ewx3c, tbgn, zzz9y, gcwa2, xuak, erw0s, dd0gk, fwkij, tlcq,