Install from PyPI on Python 3.10 or later. Pipelines close at the end of a with block. DeviceDetectionPipelineBuilder accepts data_file_path for an on-premise Device Detection file or resource_key for the cloud, and each pipeline.create_flowdata() context takes evidence, processes it, and exposes results such as data.device.ismobile.
The web examples are small Flask apps serving the JavaScript snippet and a /json route for browser evidence. Others read the TAC hardware CSV, show why a value is missing with has_value(), and look up TAC numbers. IP Intelligence follows the same pattern. Ask the cloud service for Human Confidence and Identifiers by choosing them for your Resource Key.
pip install fiftyone-devicedetection fiftyone-ipintelligence
Code and issues: https://github.com/51Degrees/51degrees-python
Documentation: https://51degrees.com/documentation/index.html?utm_source=sourceforge&utm_medium=listing&utm_campaign=51degrees-python&utm_content=description&utm_term=docs
Features
- Context-managed pipelines and flow data
- Flask web examples with evidence from the browser
- Device Detection and IP Intelligence from a file or a key
- TAC and native model lookups
- Country names translated by fiftyone_ipintelligence_translation
- Human Confidence and Identifiers through the cloud service
- fiftyone_pipeline_did for the 51Did
- Python 3.10 or later
- Every package declares the EUPL 1.2