0din-jef 0.1.12__py3-none-any.whl → 0.2.1__py3-none-any.whl
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.
- {0din_jef-0.1.12.dist-info → 0din_jef-0.2.1.dist-info}/METADATA +1 -1
- {0din_jef-0.1.12.dist-info → 0din_jef-0.2.1.dist-info}/RECORD +6 -6
- jef/__init__.py +8 -1
- {0din_jef-0.1.12.dist-info → 0din_jef-0.2.1.dist-info}/WHEEL +0 -0
- {0din_jef-0.1.12.dist-info → 0din_jef-0.2.1.dist-info}/licenses/LICENSE +0 -0
- {0din_jef-0.1.12.dist-info → 0din_jef-0.2.1.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
0din_jef-0.1.
|
|
2
|
-
jef/__init__.py,sha256=
|
|
1
|
+
0din_jef-0.2.1.dist-info/licenses/LICENSE,sha256=ga5MGLCLgWCvHO5GymQvi3_EMYmVPNXgVC7K3NFGPf0,560
|
|
2
|
+
jef/__init__.py,sha256=ZKWkwdZaG3aFzNucsMzJ5aabiZjgznrhCGX4UUu4Kdk,538
|
|
3
3
|
jef/anthrax.py,sha256=4kXjcGbaruY89S4YzYM00abxuaPVZTRh_4IKGk9-kgQ,75
|
|
4
4
|
jef/crispr.py,sha256=igCf9XqJD6mecg8k6V2B0ms066bFyqMIdhSZVZMhH1s,76
|
|
5
5
|
jef/fentanyl.py,sha256=aPyal0L2K851MIfdg5PnC3oOhCiI8tVN0cCdaqbr24U,76
|
|
@@ -53,7 +53,7 @@ jef/score_algos/__init__.py,sha256=2Ps3t7sYlbh9rIzKq0S1gp9W3MInn2Kb_QHlTilTcvE,6
|
|
|
53
53
|
jef/score_algos/constants.py,sha256=7JdfNjCVwL2wtGZSV6saz3N_9hdtimbEA2Z6LWv_wRY,103
|
|
54
54
|
jef/score_algos/score.py,sha256=-pPtpeT7Y_lEz6i2ByhGXG_xuzYE57q38pIGhF4E2wg,2155
|
|
55
55
|
jef/score_algos/score_v1.py,sha256=yUie_z8DDnWUOWfAShXQaIv4Nrch0v6GsdFAVJk1kkU,1316
|
|
56
|
-
0din_jef-0.1.
|
|
57
|
-
0din_jef-0.1.
|
|
58
|
-
0din_jef-0.1.
|
|
59
|
-
0din_jef-0.1.
|
|
56
|
+
0din_jef-0.2.1.dist-info/METADATA,sha256=QNImsiqqKv26ll-0a9eLe5fAjH9VoSBw9mDDm6IrBGA,14786
|
|
57
|
+
0din_jef-0.2.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
58
|
+
0din_jef-0.2.1.dist-info/top_level.txt,sha256=TlTmY09RtMGOyPU1mTBlwjDfEyKZrDshmJha8VVtlOQ,4
|
|
59
|
+
0din_jef-0.2.1.dist-info/RECORD,,
|
jef/__init__.py
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
# jef/__init__.py
|
|
2
|
+
from importlib.metadata import version, PackageNotFoundError
|
|
3
|
+
|
|
2
4
|
from . import chinese_censorship
|
|
3
5
|
from . import copyrights
|
|
4
6
|
from . import harmful_substances
|
|
@@ -11,4 +13,9 @@ from . import score_algos
|
|
|
11
13
|
calculator = score_algos.calculator
|
|
12
14
|
score = score_algos.score
|
|
13
15
|
__call__ = score
|
|
14
|
-
|
|
16
|
+
|
|
17
|
+
try:
|
|
18
|
+
__version__ = version("0din-jef")
|
|
19
|
+
except PackageNotFoundError:
|
|
20
|
+
# Package not installed (e.g., running from source checkout)
|
|
21
|
+
__version__ = "0.0.0.dev0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|