fiftyone-devicedetection-cloud 4.5.58__tar.gz → 4.5.60__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fiftyone_devicedetection_cloud-4.5.58 → fiftyone_devicedetection_cloud-4.5.60}/PKG-INFO +1 -1
- {fiftyone_devicedetection_cloud-4.5.58 → fiftyone_devicedetection_cloud-4.5.60}/src/fiftyone_devicedetection_cloud.egg-info/PKG-INFO +1 -1
- {fiftyone_devicedetection_cloud-4.5.58 → fiftyone_devicedetection_cloud-4.5.60}/tests/test_cloud.py +7 -0
- fiftyone_devicedetection_cloud-4.5.60/version.txt +1 -0
- fiftyone_devicedetection_cloud-4.5.58/version.txt +0 -1
- {fiftyone_devicedetection_cloud-4.5.58 → fiftyone_devicedetection_cloud-4.5.60}/MANIFEST.in +0 -0
- {fiftyone_devicedetection_cloud-4.5.58 → fiftyone_devicedetection_cloud-4.5.60}/pyproject.toml +0 -0
- {fiftyone_devicedetection_cloud-4.5.58 → fiftyone_devicedetection_cloud-4.5.60}/readme.md +0 -0
- {fiftyone_devicedetection_cloud-4.5.58 → fiftyone_devicedetection_cloud-4.5.60}/setup.cfg +0 -0
- {fiftyone_devicedetection_cloud-4.5.58 → fiftyone_devicedetection_cloud-4.5.60}/setup.py +0 -0
- {fiftyone_devicedetection_cloud-4.5.58 → fiftyone_devicedetection_cloud-4.5.60}/src/fiftyone_devicedetection_cloud/__init__.py +0 -0
- {fiftyone_devicedetection_cloud-4.5.58 → fiftyone_devicedetection_cloud-4.5.60}/src/fiftyone_devicedetection_cloud/devicedetection_cloud.py +0 -0
- {fiftyone_devicedetection_cloud-4.5.58 → fiftyone_devicedetection_cloud-4.5.60}/src/fiftyone_devicedetection_cloud/devicedetection_cloud_pipelinebuilder.py +0 -0
- {fiftyone_devicedetection_cloud-4.5.58 → fiftyone_devicedetection_cloud-4.5.60}/src/fiftyone_devicedetection_cloud/hardwareprofile_cloud.py +0 -0
- {fiftyone_devicedetection_cloud-4.5.58 → fiftyone_devicedetection_cloud-4.5.60}/src/fiftyone_devicedetection_cloud.egg-info/SOURCES.txt +0 -0
- {fiftyone_devicedetection_cloud-4.5.58 → fiftyone_devicedetection_cloud-4.5.60}/src/fiftyone_devicedetection_cloud.egg-info/dependency_links.txt +0 -0
- {fiftyone_devicedetection_cloud-4.5.58 → fiftyone_devicedetection_cloud-4.5.60}/src/fiftyone_devicedetection_cloud.egg-info/requires.txt +0 -0
- {fiftyone_devicedetection_cloud-4.5.58 → fiftyone_devicedetection_cloud-4.5.60}/src/fiftyone_devicedetection_cloud.egg-info/top_level.txt +0 -0
- {fiftyone_devicedetection_cloud-4.5.58 → fiftyone_devicedetection_cloud-4.5.60}/tests/test_properties.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fiftyone_devicedetection_cloud
|
|
3
|
-
Version: 4.5.
|
|
3
|
+
Version: 4.5.60
|
|
4
4
|
Summary: 51Degrees Device Detection parses HTTP headers to return detailed hardware, operating system, browser, and crawler information for the devices used to access your website or service. This package retrieves device detection results by consuming the 51Degrees cloud service.
|
|
5
5
|
Home-page: https://51degrees.com/?utm_source=pypi&utm_medium=package&utm_campaign=device-detection-python&utm_content=fiftyone_devicedetection_cloud-setup.py&utm_term=url
|
|
6
6
|
Author: 51Degrees Engineering
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fiftyone_devicedetection_cloud
|
|
3
|
-
Version: 4.5.
|
|
3
|
+
Version: 4.5.60
|
|
4
4
|
Summary: 51Degrees Device Detection parses HTTP headers to return detailed hardware, operating system, browser, and crawler information for the devices used to access your website or service. This package retrieves device detection results by consuming the 51Degrees cloud service.
|
|
5
5
|
Home-page: https://51degrees.com/?utm_source=pypi&utm_medium=package&utm_campaign=device-detection-python&utm_content=fiftyone_devicedetection_cloud-setup.py&utm_term=url
|
|
6
6
|
Author: 51Degrees Engineering
|
{fiftyone_devicedetection_cloud-4.5.58 → fiftyone_devicedetection_cloud-4.5.60}/tests/test_cloud.py
RENAMED
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
import unittest
|
|
24
24
|
import os
|
|
25
|
+
import re
|
|
25
26
|
import time
|
|
26
27
|
|
|
27
28
|
from fiftyone_devicedetection_cloud.devicedetection_cloud_pipelinebuilder import DeviceDetectionCloudPipelineBuilder
|
|
@@ -103,6 +104,9 @@ class DeviceDetectionTests(unittest.TestCase):
|
|
|
103
104
|
except Exception as e:
|
|
104
105
|
result = str(e)
|
|
105
106
|
|
|
107
|
+
# The explainer URL may carry UTM query parameters; ignore them.
|
|
108
|
+
result = re.sub(r'\?utm_[^\s]*', '', result)
|
|
109
|
+
|
|
106
110
|
self.assertEqual(
|
|
107
111
|
result, "Your resource key does not include access to any properties under notpresent. For more details on resource keys, see our explainer: https://51degrees.com/documentation/_info__resource_keys.html Available element data keys are: ['device']")
|
|
108
112
|
|
|
@@ -157,6 +161,9 @@ class DeviceDetectionTests(unittest.TestCase):
|
|
|
157
161
|
|
|
158
162
|
self.maxDiff = None
|
|
159
163
|
|
|
164
|
+
# The explainer URL may carry UTM query parameters; ignore them.
|
|
165
|
+
result = re.sub(r'\?utm_[^\s]*', '', result)
|
|
166
|
+
|
|
160
167
|
self.assertEqual(
|
|
161
168
|
result, "Property notpresent not found in data for element device. This is because your resource key does not include access to this property. Properties that are included for this key under device are " + ', '.join(list(pipeline.get_element("device").get_properties().keys())) + ". For more details on resource keys, see our explainer: https://51degrees.com/documentation/_info__resource_keys.html")
|
|
162
169
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4.5.60
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
4.5.58
|
|
File without changes
|
{fiftyone_devicedetection_cloud-4.5.58 → fiftyone_devicedetection_cloud-4.5.60}/pyproject.toml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|