51Degrees IP Intelligence Engines - OnPremise
Python IP Intelligence
Introduction
This package resolves IP addresses to location, network and registration
information using a local .ipi data file and the
51Degrees Pipeline API.
The native ip-intelligence-cxx library is included as a git submodule and wrapped with SWIG.
Building
The SWIG generated wrapper (ipi_python_wrap.cxx and
IpIntelligenceEngineModule.py) is committed to the repository so SWIG is
only needed when regenerating it (run PreBuild.bat / PreBuild.sh).
A C++17 compiler is required to build the native extension:
git submodule update --init --recursive
python setup.py build_clib build_ext
Data files
The on-premise engine requires a .ipi data file. A Lite data file can be
downloaded from
51Degrees,
see also the ip-intelligence-data
repository which is included as a nested submodule and contains evidence
files for testing.
Usage
from fiftyone_ipintelligence_onpremise.ipintelligence_onpremise_pipelinebuilder import IpIntelligenceOnPremisePipelineBuilder
pipeline = IpIntelligenceOnPremisePipelineBuilder(
data_file_path="51Degrees-LiteIpiV41.ipi",
licence_keys="",
usage_sharing=False).build()
flowdata = pipeline.create_flowdata()
flowdata.evidence.add("query.client-ip", "185.28.167.78")
flowdata.process()
print(flowdata.ip.registeredname.value())
Metadata
Release files for fiftyone-ipintelligence-onpremise 4.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fiftyone_ipintelligence_onpremise-4.5.0.tar.gz | 405.1 kB | Without provenance | Details for fiftyone_ipintelligence_onpremise-4.5.0.tar.gz |
Release files / fiftyone_ipintelligence_onpremise-4.5.0.tar.gz
| Download URL | fiftyone_ipintelligence_onpremise-4.5.0.tar.gz |
|---|---|
| Size | 405.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fbf76f5827aa9641e324f4ca20b17fa229035bee94ed7a67b363f97fbbd2153f
|
|
BLAKE2b-256 checksum How to use checksums |
4f8fd647d9dca8a50f4fbc4e1d4246fedf366dc8d6627d8382163adcf45b8ebe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for fiftyone-ipintelligence-onpremise 4.5.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.