Skip to main content

This is a simple library to keep a maxmind database file up to date. You can either call the maxmindupdater.update_db function in a python script, or the maxmind-updater command from a shell. Both forms take three arguments:

  1. The path to the maxmind database (.mmdb) file to keep updated. The file will either be created or replaced if it is out of date.

  2. Your maxmind account license key.

  3. The database edition ID, e.g. GeoIP2-Country.

The library can be installed using pip install maxmindupdater.

In addition to the main database file which is placed at the path specified, the script will also keep the full .tar.gz archive downloaded from the maxmind website.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maxmindupdater-0.1.1.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file maxmindupdater-0.1.1.tar.gz.

File metadata

File hashes

Hashes for maxmindupdater-0.1.1.tar.gz
Algorithm Hash digest
SHA256 19c647375d893dd49b990cd9ed64a55a335ec93e3314af30a594c0f10a876538
MD5 98328556b988abcf69e373767271357e
BLAKE2b-256 b1137699b8bcff7d5815f9c6598c92f1107e4f28f20d4714896d691696db8141

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 file

0.1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page