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 --quiet
The default path is /var/lib/ipinfo/ipinfo_lite.mmdb.
IPINFO_DATABASE replaces that default. --output replaces both.
If the directory does not exist, it is created. The finished file is mode 0644.
Flags
| Flag | Default | Description |
|---|---|---|
--token |
IPINFO_TOKEN |
IPinfo access token (-t) |
--output |
/var/lib/ipinfo/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 --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
Metadata
Release files for lupaxa-ipinfo-update 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lupaxa_ipinfo_update-0.1.1.tar.gz | 6.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lupaxa_ipinfo_update-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.2 kB
Release files / lupaxa_ipinfo_update-0.1.1.tar.gz
| Download URL | lupaxa_ipinfo_update-0.1.1.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3538ec2eed5396bffda02e13bc815b26c39281af75a273939a0515c454e3bb8f
|
|
BLAKE2b-256 checksum How to use checksums |
e7251cea56deef82d87271b18e118872f1005bc07708cf8841a4c304b680b2ee
|
| 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 logRelease files / lupaxa_ipinfo_update-0.1.1-py3-none-any.whl
| Download URL | lupaxa_ipinfo_update-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4022b7d1024f307071fc7ddca1c1fa3462c05dfcfc80897b4593ec61e380de16
|
|
BLAKE2b-256 checksum How to use checksums |
5a4c37b39d200ebcda01f8c7a2d089110f7f49eca19afaee59ad2a80ea56e106
|
| 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