devicer.py 0.1.4__tar.gz → 0.1.5__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.
- {devicer_py-0.1.4 → devicer_py-0.1.5}/PKG-INFO +1 -1
- {devicer_py-0.1.4 → devicer_py-0.1.5}/pyproject.toml +1 -1
- {devicer_py-0.1.4 → devicer_py-0.1.5}/src/devicer/confidence.py +1 -1
- {devicer_py-0.1.4 → devicer_py-0.1.5}/src/devicer.py.egg-info/PKG-INFO +1 -1
- {devicer_py-0.1.4 → devicer_py-0.1.5}/README.md +0 -0
- {devicer_py-0.1.4 → devicer_py-0.1.5}/license.txt +0 -0
- {devicer_py-0.1.4 → devicer_py-0.1.5}/setup.cfg +0 -0
- {devicer_py-0.1.4 → devicer_py-0.1.5}/src/devicer/__init__.py +0 -0
- {devicer_py-0.1.4 → devicer_py-0.1.5}/src/devicer/hashing.py +0 -0
- {devicer_py-0.1.4 → devicer_py-0.1.5}/src/devicer.py.egg-info/SOURCES.txt +0 -0
- {devicer_py-0.1.4 → devicer_py-0.1.5}/src/devicer.py.egg-info/dependency_links.txt +0 -0
- {devicer_py-0.1.4 → devicer_py-0.1.5}/src/devicer.py.egg-info/requires.txt +0 -0
- {devicer_py-0.1.4 → devicer_py-0.1.5}/src/devicer.py.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: devicer.py
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.5
|
4
4
|
Summary: Open-Source Python Middleware for Digital Fingerprinting
|
5
5
|
Author: One anonymous contributor
|
6
6
|
Author-email: Samuel Roux <sam.roux.com@gmail.com>, Stephen Perso <stephenrperso@gmail.com>
|
@@ -6,7 +6,7 @@ requires = [
|
|
6
6
|
build-backend = "setuptools.build_meta"
|
7
7
|
[project]
|
8
8
|
name = "devicer.py"
|
9
|
-
version = "0.1.
|
9
|
+
version = "0.1.5"
|
10
10
|
authors = [
|
11
11
|
{name = "Samuel Roux", email = "sam.roux.com@gmail.com"},
|
12
12
|
{name = "Stephen Perso", email = "stephenrperso@gmail.com"},
|
@@ -46,7 +46,7 @@ def calculate_confidence(data1: dict, data2: dict) -> float:
|
|
46
46
|
difference_score = get_hash_difference(hash1, hash2)
|
47
47
|
|
48
48
|
inverse_match_score = 1 - (matches / fields)
|
49
|
-
x =
|
49
|
+
x = difference_score * inverse_match_score
|
50
50
|
if (inverse_match_score == 0 or difference_score == 0):
|
51
51
|
return 100
|
52
52
|
confidence_score = 100 / (1 + math.e ** (-4.5 + (0.25 * x)))
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: devicer.py
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.5
|
4
4
|
Summary: Open-Source Python Middleware for Digital Fingerprinting
|
5
5
|
Author: One anonymous contributor
|
6
6
|
Author-email: Samuel Roux <sam.roux.com@gmail.com>, Stephen Perso <stephenrperso@gmail.com>
|
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
|