- The reader now supports pure Python file and memory modes. If you are not
using the C extension and your Python does not provide themmap
module,
the file mode will be used by default. You can explicitly set the mode using
themode
keyword argument with theMODE_AUTO
,MODE_MMAP
,
MODE_MMAP_EXT
,MODE_FILE
, andMODE_MEMORY
constants exported by
geoip2.database
.