Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
fiftyone-devicedetection-onpremise
Advanced tools
This project contains 51Degrees Device Detection OnPremise engine that can be used with the 51Degrees Pipeline API. The Pipeline is a generic web request intelligence and data processing solution with the ability to add a range of 51Degrees and/or custom plug ins (Engines)
v4 Device Detection Python
Developer Documentation | Available Properties
This project contains the 51Degrees On-Premise Device Detection Engines for Python which can be used with the Pipeline API.
The Pipeline is a generic web request intelligence and data processing solution with the ability to add a range of 51Degrees and/or custom plug ins (Engines)
This engine is a C++ library with a Python wrapper built using SWIG.
Cython
python libraryflask
python library to run the web examplesThe extension requires that you have set up the required build tools for your platform.
pip install fiftyone_devicedetection_onpremise
You can confirm this is working with the following micro-example.
python exampledd.py
from fiftyone_devicedetection_onpremise.devicedetection_onpremise_pipelinebuilder import DeviceDetectionOnPremisePipelineBuilder
pipeline = DeviceDetectionOnPremisePipelineBuilder(
data_file_path = /path/to/hash/data/file, licence_keys = "",
).build()
fd = pipeline.create_flowdata()
fd.evidence.add("header.user-agent", "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148")
fd.process()
print(fd.device.ismobile.value())
For more in-depth examples, check out the examples page in the documentation.
If you've cloned the GitHub repository, you will need to build the extension. Make sure Python3 Dev Package is installed if you are using Linux or MacOS.
cd fiftyone_devicedetection_onpremise/
python setup.py build_clib build_ext
python -m pip install -e .
If you've cloned the GitHub repository, you will be able to run the examples in the fiftyone_devicedetection_examples
directory.
To run the tests use:
python -m unittest discover -s tests -p test*.py -b
FAQs
This project contains 51Degrees Device Detection OnPremise engine that can be used with the 51Degrees Pipeline API. The Pipeline is a generic web request intelligence and data processing solution with the ability to add a range of 51Degrees and/or custom plug ins (Engines)
We found that fiftyone-devicedetection-onpremise demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.