\r\n

51Degrees Device Detection Python  4.4

Device Detection services for 51Degrees Pipeline

fiftyone_devicedetection_shared.example_constants Namespace Reference

string  ENTERPRISE_DATAFILE_NAME = 'Enterprise-HashV41.hash'
string  LITE_DATAFILE_NAME = '51Degrees-LiteV4.1.hash'
string  UA_FILE_NAME = '20000 User Agents.csv'
string  EVIDENCE_FILE_NAME = '20000 Evidence Records.yml'

Variable Documentation

◆ ENTERPRISE_DATAFILE_NAME

string fiftyone_devicedetection_shared.example_constants.ENTERPRISE_DATAFILE_NAME = 'Enterprise-HashV41.hash'

◆ EVIDENCE_FILE_NAME

string fiftyone_devicedetection_shared.example_constants.EVIDENCE_FILE_NAME = '20000 Evidence Records.yml'

◆ EVIDENCE_VALUES

list fiftyone_devicedetection_shared.example_constants.EVIDENCE_VALUES
Initial value:
1 = [
2  # A User-Agent from a mobile device.
3  { "header.user-agent":
4  "Mozilla/5.0 (Linux; Android 9; SAMSUNG SM-G960U) "
5  "AppleWebKit/537.36 (KHTML, like Gecko) "
6  "SamsungBrowser/10.1 Chrome/71.0.3578.99 Mobile Safari/537.36" },
7  # A User-Agent from a desktop device.
8  { "header.user-agent":
9  "Mozilla/5.0 (Windows NT 10.0; Win64; x64) "
10  "AppleWebKit/537.36 (KHTML, like Gecko) "
11  "Chrome/78.0.3904.108 Safari/537.36" },
12  # Evidence values from a windows 11 device using a browser
13  # that supports User-Agent Client Hints.
14  { "header.user-agent":
15  "Mozilla/5.0 (Windows NT 10.0; Win64; x64) "
16  "AppleWebKit/537.36 (KHTML, like Gecko) "
17  "Chrome/98.0.4758.102 Safari/537.36",
18  "header.sec-ch-ua-mobile": "?0",
19  "header.sec-ch-ua":
20  "\" Not A; Brand\";v=\"99\", \"Chromium\";v=\"98\", "
21  "\"Google Chrome\";v=\"98\"",
22  "header.sec-ch-ua-platform": "\"Windows\"",
23  "header.sec-ch-ua-platform-version": "\"14.0.0\"" }
24  ]

◆ LITE_DATAFILE_NAME

string fiftyone_devicedetection_shared.example_constants.LITE_DATAFILE_NAME = '51Degrees-LiteV4.1.hash'

◆ UA_FILE_NAME

string fiftyone_devicedetection_shared.example_constants.UA_FILE_NAME = '20000 User Agents.csv'
On This Page