Skip to main content

Security Toolbox

IPinfo Update

Download the IPinfo Lite database for local TCP wrappers and other tools. The PyPI name is lupaxa-ipinfo-update. The console script is ipinfo-update.

The command line overrides the environment. Omit --token to use IPINFO_TOKEN, and omit --output to use IPINFO_DATABASE when that variable is set. A failed download leaves the previous database in place.

Install

pip install lupaxa-ipinfo-update
ipinfo-update --help

Requires Python 3.10 or newer. You can also run python -m lupaxa.ipinfo_update.

CLI

export IPINFO_TOKEN=your-token
ipinfo-update
ipinfo-update --token your-token --output /var/lib/ipinfo/ipinfo_lite.mmdb
ipinfo-update --quiet

The default path is ipinfo_lite.mmdb in the working directory. IPINFO_DATABASE replaces that default. --output replaces both.

The finished file is mode 0644.

Flags

Flag Default Description
--token IPINFO_TOKEN IPinfo access token (-t)
--output ipinfo_lite.mmdb Database path (-o). IPINFO_DATABASE is the fallback
--timeout 60 HTTP timeout in seconds
--quiet off Print nothing on success (-q)
--version — Print the package version and exit

--token and --output are optional. When --output is omitted, IPINFO_DATABASE is used if that variable is set.

Exit Codes

Code When
0 Help, version, or the database was replaced
1 The token is missing, or the download or write failed
2 Invalid arguments

Cron

15 3 * * * IPINFO_TOKEN=your-token ipinfo-update --output /var/lib/ipinfo/ipinfo_lite.mmdb --quiet

--quiet prints nothing when the update succeeds. Failures still go to stderr and exit 1, and the previous file is left unchanged.

Development

make init
make install-dev
make check
The Lupaxa Project Footer

Metadata

Release files for lupaxa-ipinfo-update 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lupaxa-ipinfo-update 0.1.0
File Size Uploaded
lupaxa_ipinfo_update-0.1.0.tar.gz 6.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lupaxa-ipinfo-update 0.1.0
File Interpreter ABI Platform
lupaxa_ipinfo_update-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.1 kB

Release files / lupaxa_ipinfo_update-0.1.0.tar.gz

Download URL lupaxa_ipinfo_update-0.1.0.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0b38a4bb9df30dcab8e85eb9add82d0623b04982b5d0b30c01ea100264d159f1
BLAKE2b-256 checksum
How to use checksums
e0b80108dcc427f9294a66f0374033b1d551b1030cd3ba8cb48e9884d12df01d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release files / lupaxa_ipinfo_update-0.1.0-py3-none-any.whl

Download URL lupaxa_ipinfo_update-0.1.0-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e3fb0ba296b82edc3076623980b98025c8adf07d1a6847607f9d880aa5d6529
BLAKE2b-256 checksum
How to use checksums
be1bfc1e05e942abb8540b2698d0f34086a0a28932c5eb86f89d6fd2be9c6818
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.2

2 release files

0.1.1

2 release files

This release

0.1.0 This release

2 release files

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