jasonisnthappy 0.1.0__py3-none-win_amd64.whl → 0.1.1__py3-none-win_amd64.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.
- jasonisnthappy/__init__.py +1 -1
- jasonisnthappy/database.py +11 -5
- jasonisnthappy/jasonisnthappy.dll +0 -0
- jasonisnthappy/lib/darwin-arm64/libjasonisnthappy.dylib +0 -0
- {jasonisnthappy-0.1.0.dist-info → jasonisnthappy-0.1.1.dist-info}/METADATA +1 -1
- jasonisnthappy-0.1.1.dist-info/RECORD +9 -0
- jasonisnthappy-0.1.0.dist-info/RECORD +0 -8
- {jasonisnthappy-0.1.0.dist-info → jasonisnthappy-0.1.1.dist-info}/WHEEL +0 -0
- {jasonisnthappy-0.1.0.dist-info → jasonisnthappy-0.1.1.dist-info}/top_level.txt +0 -0
jasonisnthappy/__init__.py
CHANGED
|
@@ -4,5 +4,5 @@ jasonisnthappy - Python bindings for jasonisnthappy embedded database
|
|
|
4
4
|
|
|
5
5
|
from .database import Database, Transaction, UpsertResult, WebServer, WatchHandle
|
|
6
6
|
|
|
7
|
-
__version__ = "0.1.
|
|
7
|
+
__version__ = "0.1.1"
|
|
8
8
|
__all__ = ["Database", "Transaction", "UpsertResult", "WebServer", "WatchHandle"]
|
jasonisnthappy/database.py
CHANGED
|
@@ -19,7 +19,6 @@ class UpsertResult:
|
|
|
19
19
|
|
|
20
20
|
def _get_library_path():
|
|
21
21
|
"""Get library path, checking package directory first, then fallback to loader."""
|
|
22
|
-
# First check if library exists in package directory (installed during pip install)
|
|
23
22
|
system = platform.system()
|
|
24
23
|
machine = platform.machine().lower()
|
|
25
24
|
|
|
@@ -37,10 +36,17 @@ def _get_library_path():
|
|
|
37
36
|
from .loader import get_library_path
|
|
38
37
|
return get_library_path()
|
|
39
38
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
package_dir = Path(__file__).parent
|
|
40
|
+
|
|
41
|
+
# Check package root directory first (where wheel build puts it)
|
|
42
|
+
root_lib_path = package_dir / lib_name
|
|
43
|
+
if root_lib_path.exists():
|
|
44
|
+
return str(root_lib_path)
|
|
45
|
+
|
|
46
|
+
# Check lib/<platform>/ directory
|
|
47
|
+
platform_lib_path = package_dir / "lib" / lib_dir / lib_name
|
|
48
|
+
if platform_lib_path.exists():
|
|
49
|
+
return str(platform_lib_path)
|
|
44
50
|
|
|
45
51
|
# Fallback to loader (downloads to ~/.jasonisnthappy/)
|
|
46
52
|
from .loader import get_library_path
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
jasonisnthappy/__init__.py,sha256=3grWJ3kQawdVbt2Mu9NE_4g5oLkM2FWbdUNRCdf7HUI,266
|
|
2
|
+
jasonisnthappy/database.py,sha256=6sHqjb32E39e_hmkMlg9W9wudJu7JWFsyM5BLYi_Biw,65742
|
|
3
|
+
jasonisnthappy/jasonisnthappy.dll,sha256=ED_J1HwJEL8YBvjYoyie2FGTltuu07fO3pkW77XZ66E,1072640
|
|
4
|
+
jasonisnthappy/loader.py,sha256=SghCXKU9iuez9gwXl831sn0wFU1LfmLbKlIinLmm-Q0,2128
|
|
5
|
+
jasonisnthappy/lib/darwin-arm64/libjasonisnthappy.dylib,sha256=akeoJIk9z2IDHwC8oIZAooLOYzQqJc5oRYG_sMSiS7g,792960
|
|
6
|
+
jasonisnthappy-0.1.1.dist-info/METADATA,sha256=buF437mdNjbg_qc12BxNiOXGDVvVG9aHAPrhjFUH5zM,139
|
|
7
|
+
jasonisnthappy-0.1.1.dist-info/WHEEL,sha256=WoE84lFhzpl5kFoOWeOKUr67l1o9c9Tie8ccxFQmzBU,98
|
|
8
|
+
jasonisnthappy-0.1.1.dist-info/top_level.txt,sha256=qcswwJiUzQCM8BF6LjZw2z11PeOYPEBq0JaZcYBbaWU,15
|
|
9
|
+
jasonisnthappy-0.1.1.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
jasonisnthappy/__init__.py,sha256=EZqHrQ2NK5tb1mIAeCk8QSmFCYxLurQQU-I9uHPK_vQ,266
|
|
2
|
-
jasonisnthappy/database.py,sha256=g_aoa210ce6jaNb-FsXaARd5E0Fz4gCn6Yo6Vbe3EIE,65620
|
|
3
|
-
jasonisnthappy/jasonisnthappy.dll,sha256=cU4F22E9qgb1g1ot4gGl8KsnLK3jkR14v4OBcWde5QY,907264
|
|
4
|
-
jasonisnthappy/loader.py,sha256=SghCXKU9iuez9gwXl831sn0wFU1LfmLbKlIinLmm-Q0,2128
|
|
5
|
-
jasonisnthappy-0.1.0.dist-info/METADATA,sha256=QpFqyNZN6Sn0hyHdsj099OwQIxKld0b9ntYA9QhFmUo,139
|
|
6
|
-
jasonisnthappy-0.1.0.dist-info/WHEEL,sha256=WoE84lFhzpl5kFoOWeOKUr67l1o9c9Tie8ccxFQmzBU,98
|
|
7
|
-
jasonisnthappy-0.1.0.dist-info/top_level.txt,sha256=qcswwJiUzQCM8BF6LjZw2z11PeOYPEBq0JaZcYBbaWU,15
|
|
8
|
-
jasonisnthappy-0.1.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|