lamindb_setup 0.76.8__py2.py3-none-any.whl → 0.77.1__py2.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.
- lamindb_setup/__init__.py +10 -7
- lamindb_setup/_connect_instance.py +11 -4
- lamindb_setup/_entry_points.py +22 -0
- lamindb_setup/_setup_user.py +55 -39
- lamindb_setup/core/_hub_client.py +11 -2
- lamindb_setup/core/_hub_core.py +56 -5
- lamindb_setup/core/_settings_load.py +13 -8
- lamindb_setup/core/_settings_store.py +1 -0
- lamindb_setup/core/_settings_user.py +3 -1
- {lamindb_setup-0.76.8.dist-info → lamindb_setup-0.77.1.dist-info}/METADATA +1 -1
- {lamindb_setup-0.76.8.dist-info → lamindb_setup-0.77.1.dist-info}/RECORD +13 -12
- {lamindb_setup-0.76.8.dist-info → lamindb_setup-0.77.1.dist-info}/LICENSE +0 -0
- {lamindb_setup-0.76.8.dist-info → lamindb_setup-0.77.1.dist-info}/WHEEL +0 -0
lamindb_setup/__init__.py
CHANGED
|
@@ -34,10 +34,10 @@ Modules & settings:
|
|
|
34
34
|
|
|
35
35
|
"""
|
|
36
36
|
|
|
37
|
-
__version__ = "0.
|
|
37
|
+
__version__ = "0.77.1" # denote a release candidate for 0.1.0 with 0.1rc1
|
|
38
38
|
|
|
39
|
-
import
|
|
40
|
-
|
|
39
|
+
import os as _os
|
|
40
|
+
import sys as _sys
|
|
41
41
|
|
|
42
42
|
from . import core
|
|
43
43
|
from ._check_setup import _check_instance_setup
|
|
@@ -45,18 +45,18 @@ from ._close import close
|
|
|
45
45
|
from ._connect_instance import connect, load
|
|
46
46
|
from ._delete import delete
|
|
47
47
|
from ._django import django
|
|
48
|
+
from ._entry_points import call_registered_entry_points as _call_registered_entry_points
|
|
48
49
|
from ._init_instance import init
|
|
49
50
|
from ._migrate import migrate
|
|
50
51
|
from ._register_instance import register
|
|
51
52
|
from ._setup_user import login, logout
|
|
52
53
|
from .core._settings import settings
|
|
53
54
|
|
|
54
|
-
|
|
55
|
-
_TESTING = False # used in lamindb tests
|
|
55
|
+
_TESTING = _os.getenv("LAMIN_TESTING") is not None
|
|
56
56
|
|
|
57
57
|
# hide the supabase error in a thread on windows
|
|
58
|
-
if
|
|
59
|
-
if
|
|
58
|
+
if _os.name == "nt":
|
|
59
|
+
if _sys.version_info.minor > 7:
|
|
60
60
|
import threading
|
|
61
61
|
|
|
62
62
|
_original_excepthook = threading.excepthook
|
|
@@ -69,4 +69,7 @@ if _os_name == "nt":
|
|
|
69
69
|
|
|
70
70
|
threading.excepthook = _except_hook
|
|
71
71
|
|
|
72
|
+
# provide a way for other packages to run custom code on import
|
|
73
|
+
_call_registered_entry_points("lamindb_setup.on_import")
|
|
74
|
+
|
|
72
75
|
settings.__doc__ = """Global :class:`~lamindb.setup.core.SetupSettings`."""
|
|
@@ -124,7 +124,11 @@ def _connect_instance(
|
|
|
124
124
|
if make_hub_request:
|
|
125
125
|
# the following will return a string if the instance does not exist
|
|
126
126
|
# on the hub
|
|
127
|
-
|
|
127
|
+
# do not call hub if the user is anonymous
|
|
128
|
+
if owner != "anonymous":
|
|
129
|
+
hub_result = load_instance_from_hub(owner=owner, name=name)
|
|
130
|
+
else:
|
|
131
|
+
hub_result = "anonymous-user"
|
|
128
132
|
# if hub_result is not a string, it means it made a request
|
|
129
133
|
# that successfully returned metadata
|
|
130
134
|
if not isinstance(hub_result, str):
|
|
@@ -155,9 +159,12 @@ def _connect_instance(
|
|
|
155
159
|
)
|
|
156
160
|
check_whether_migrations_in_sync(instance_result["lamindb_version"])
|
|
157
161
|
else:
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
162
|
+
if hub_result != "anonymous-user":
|
|
163
|
+
message = INSTANCE_NOT_FOUND_MESSAGE.format(
|
|
164
|
+
owner=owner, name=name, hub_result=hub_result
|
|
165
|
+
)
|
|
166
|
+
else:
|
|
167
|
+
message = "It is not possible to load an anonymous-owned instance from the hub"
|
|
161
168
|
if settings_file.exists():
|
|
162
169
|
isettings = load_instance_settings(settings_file)
|
|
163
170
|
if isettings.is_remote:
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
import warnings
|
|
3
|
+
from importlib.metadata import entry_points
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def call_registered_entry_points(group, **kwargs):
|
|
7
|
+
"""load and call entry points registered under group."""
|
|
8
|
+
if sys.version_info >= (3, 10):
|
|
9
|
+
eps = entry_points(group=group)
|
|
10
|
+
else:
|
|
11
|
+
eps = entry_points().get(group, [])
|
|
12
|
+
|
|
13
|
+
for ep in eps:
|
|
14
|
+
func = ep.load()
|
|
15
|
+
try:
|
|
16
|
+
func(**kwargs)
|
|
17
|
+
except BaseException as e:
|
|
18
|
+
warnings.warn(
|
|
19
|
+
f"Error loading entry point of group {group!r}: {ep} -> {e}",
|
|
20
|
+
RuntimeWarning,
|
|
21
|
+
stacklevel=2,
|
|
22
|
+
)
|
lamindb_setup/_setup_user.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
import os
|
|
4
|
+
from typing import TYPE_CHECKING, Optional, Union
|
|
4
5
|
|
|
5
6
|
from lamin_utils import logger
|
|
6
7
|
|
|
@@ -15,8 +16,11 @@ from .core._settings_store import (
|
|
|
15
16
|
user_settings_file_handle,
|
|
16
17
|
)
|
|
17
18
|
|
|
19
|
+
if TYPE_CHECKING:
|
|
20
|
+
from lamindb_setup.core._settings_save import UserSettings
|
|
18
21
|
|
|
19
|
-
|
|
22
|
+
|
|
23
|
+
def load_user(email: str | None = None, handle: str | None = None) -> UserSettings:
|
|
20
24
|
if email is not None:
|
|
21
25
|
settings_file = user_settings_file_email(email)
|
|
22
26
|
if handle is not None:
|
|
@@ -28,8 +32,8 @@ def load_user(email: str | None = None, handle: str | None = None) -> str | None
|
|
|
28
32
|
else:
|
|
29
33
|
user_settings = load_or_create_user_settings()
|
|
30
34
|
if email is None:
|
|
31
|
-
raise
|
|
32
|
-
"Use your email for your first login in a compute environment. "
|
|
35
|
+
raise SystemExit(
|
|
36
|
+
"✗ Use your email for your first login in a compute environment. "
|
|
33
37
|
"After that, you can use your handle."
|
|
34
38
|
)
|
|
35
39
|
user_settings.email = email
|
|
@@ -40,59 +44,68 @@ def load_user(email: str | None = None, handle: str | None = None) -> str | None
|
|
|
40
44
|
|
|
41
45
|
settings._user_settings = None # this is to refresh a settings instance
|
|
42
46
|
|
|
43
|
-
return
|
|
47
|
+
return user_settings
|
|
44
48
|
|
|
45
49
|
|
|
46
50
|
def login(
|
|
47
|
-
user: str,
|
|
48
|
-
*,
|
|
49
|
-
key: str | None = None,
|
|
50
|
-
password: str | None = None, # for backward compat
|
|
51
|
+
user: str | None = None, *, key: str | None = None, api_key: str | None = None
|
|
51
52
|
) -> None:
|
|
52
53
|
"""Log in user.
|
|
53
54
|
|
|
54
55
|
Args:
|
|
55
56
|
user: handle or email
|
|
56
|
-
key: API key
|
|
57
|
-
|
|
57
|
+
key: API key
|
|
58
|
+
api_key: Beta API key
|
|
58
59
|
"""
|
|
59
|
-
if
|
|
60
|
-
|
|
60
|
+
if user is None and api_key is None:
|
|
61
|
+
if "LAMIN_API_KEY" in os.environ:
|
|
62
|
+
api_key = os.environ["LAMIN_API_KEY"]
|
|
63
|
+
else:
|
|
64
|
+
raise ValueError("Both `user` and `api_key` should not be `None`.")
|
|
65
|
+
|
|
66
|
+
if api_key is None:
|
|
67
|
+
if "@" in user: # type: ignore
|
|
68
|
+
email, handle = user, None
|
|
69
|
+
else:
|
|
70
|
+
email, handle = None, user
|
|
71
|
+
user_settings = load_user(email, handle)
|
|
72
|
+
|
|
73
|
+
if key is not None:
|
|
74
|
+
# within UserSettings, we still call it "password" for a while
|
|
75
|
+
user_settings.password = key
|
|
76
|
+
|
|
77
|
+
if user_settings.email is None:
|
|
78
|
+
raise SystemExit(f"✗ No stored user email, please call: lamin login {user}")
|
|
79
|
+
|
|
80
|
+
if user_settings.password is None:
|
|
81
|
+
raise SystemExit(
|
|
82
|
+
"✗ No stored API key, please call: lamin login <your-email> --key <API-key>"
|
|
83
|
+
)
|
|
61
84
|
else:
|
|
62
|
-
|
|
63
|
-
load_user(email, handle)
|
|
64
|
-
|
|
65
|
-
user_settings = load_or_create_user_settings()
|
|
66
|
-
|
|
67
|
-
if password is not None:
|
|
68
|
-
logger.warning(
|
|
69
|
-
"please use --key instead of --password, "
|
|
70
|
-
"passwords are deprecated and replaced with API keys"
|
|
71
|
-
)
|
|
72
|
-
key = password
|
|
73
|
-
|
|
74
|
-
if key is not None:
|
|
75
|
-
# within UserSettings, we still call it "password" for a while
|
|
76
|
-
user_settings.password = key
|
|
85
|
+
user_settings = load_or_create_user_settings()
|
|
77
86
|
|
|
78
|
-
|
|
79
|
-
raise RuntimeError("No stored user email, please call: lamin login {user}")
|
|
87
|
+
from .core._hub_core import sign_in_hub, sign_in_hub_api_key
|
|
80
88
|
|
|
81
|
-
if
|
|
82
|
-
|
|
83
|
-
|
|
89
|
+
if api_key is None:
|
|
90
|
+
response = sign_in_hub(
|
|
91
|
+
user_settings.email, # type: ignore
|
|
92
|
+
user_settings.password, # type: ignore
|
|
93
|
+
user_settings.handle,
|
|
84
94
|
)
|
|
95
|
+
else:
|
|
96
|
+
response = sign_in_hub_api_key(api_key)
|
|
85
97
|
|
|
86
|
-
from .core._hub_core import sign_in_hub
|
|
87
|
-
|
|
88
|
-
response = sign_in_hub(
|
|
89
|
-
user_settings.email, user_settings.password, user_settings.handle
|
|
90
|
-
)
|
|
91
98
|
if isinstance(response, Exception):
|
|
92
99
|
raise response
|
|
100
|
+
elif isinstance(response, str):
|
|
101
|
+
raise SystemExit(f"✗ Unsuccessful login: {response}.")
|
|
93
102
|
else:
|
|
94
103
|
user_uuid, user_id, user_handle, user_name, access_token = response
|
|
95
|
-
if
|
|
104
|
+
if api_key is not None:
|
|
105
|
+
logger.success(
|
|
106
|
+
f"logged in with API key (handle: {user_handle}, uid: {user_id})"
|
|
107
|
+
)
|
|
108
|
+
elif handle is None:
|
|
96
109
|
logger.success(f"logged in with handle {user_handle} (uid: {user_id})")
|
|
97
110
|
else:
|
|
98
111
|
logger.success(f"logged in with email {user_settings.email} (uid: {user_id})")
|
|
@@ -101,6 +114,7 @@ def login(
|
|
|
101
114
|
user_settings.name = user_name
|
|
102
115
|
user_settings._uuid = user_uuid
|
|
103
116
|
user_settings.access_token = access_token
|
|
117
|
+
user_settings.api_key = api_key
|
|
104
118
|
save_user_settings(user_settings)
|
|
105
119
|
|
|
106
120
|
if settings._instance_exists and _check_instance_setup():
|
|
@@ -113,6 +127,8 @@ def login(
|
|
|
113
127
|
def logout():
|
|
114
128
|
if current_user_settings_file().exists():
|
|
115
129
|
current_user_settings_file().unlink()
|
|
130
|
+
# update user info
|
|
131
|
+
settings._user_settings = None
|
|
116
132
|
logger.success("logged out")
|
|
117
133
|
else:
|
|
118
134
|
logger.important("already logged out")
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
+
import json
|
|
3
4
|
import os
|
|
4
5
|
from urllib.request import urlretrieve
|
|
5
6
|
|
|
@@ -78,7 +79,7 @@ def connect_hub_with_auth(
|
|
|
78
79
|
|
|
79
80
|
if renew_token:
|
|
80
81
|
settings.user.access_token = get_access_token(
|
|
81
|
-
settings.user.email, settings.user.password
|
|
82
|
+
settings.user.email, settings.user.password, settings.user.api_key
|
|
82
83
|
)
|
|
83
84
|
access_token = settings.user.access_token
|
|
84
85
|
hub.postgrest.auth(access_token)
|
|
@@ -87,9 +88,17 @@ def connect_hub_with_auth(
|
|
|
87
88
|
|
|
88
89
|
|
|
89
90
|
# runs ~0.5s
|
|
90
|
-
def get_access_token(
|
|
91
|
+
def get_access_token(
|
|
92
|
+
email: str | None = None, password: str | None = None, api_key: str | None = None
|
|
93
|
+
):
|
|
91
94
|
hub = connect_hub()
|
|
92
95
|
try:
|
|
96
|
+
if api_key is not None:
|
|
97
|
+
auth_response = hub.functions.invoke(
|
|
98
|
+
"create-jwt",
|
|
99
|
+
invoke_options={"body": {"api_key": api_key}},
|
|
100
|
+
)
|
|
101
|
+
return json.loads(auth_response)["accessToken"]
|
|
93
102
|
auth_response = hub.auth.sign_in_with_password(
|
|
94
103
|
{
|
|
95
104
|
"email": email,
|
lamindb_setup/core/_hub_core.py
CHANGED
|
@@ -436,10 +436,11 @@ def _sign_in_hub(email: str, password: str, handle: str | None, client: Client):
|
|
|
436
436
|
)
|
|
437
437
|
data = client.table("account").select("*").eq("id", auth.user.id).execute().data
|
|
438
438
|
if data: # sync data from hub to local cache in case it was updated on the hub
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
439
|
+
user = data[0]
|
|
440
|
+
user_uuid = UUID(user["id"])
|
|
441
|
+
user_id = user["lnid"]
|
|
442
|
+
user_handle = user["handle"]
|
|
443
|
+
user_name = user["name"]
|
|
443
444
|
if handle is not None and handle != user_handle:
|
|
444
445
|
logger.warning(
|
|
445
446
|
f"using account handle {user_handle} (cached handle was {handle})"
|
|
@@ -458,7 +459,7 @@ def _sign_in_hub(email: str, password: str, handle: str | None, client: Client):
|
|
|
458
459
|
|
|
459
460
|
def sign_in_hub(
|
|
460
461
|
email: str, password: str, handle: str | None = None
|
|
461
|
-
) -> Exception | tuple[UUID, str, str, str, str]:
|
|
462
|
+
) -> Exception | str | tuple[UUID, str, str, str, str]:
|
|
462
463
|
try:
|
|
463
464
|
result = call_with_fallback(
|
|
464
465
|
_sign_in_hub, email=email, password=password, handle=handle
|
|
@@ -471,3 +472,53 @@ def sign_in_hub(
|
|
|
471
472
|
)
|
|
472
473
|
return exception
|
|
473
474
|
return result
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
def _sign_in_hub_api_key(api_key: str, client: Client):
|
|
478
|
+
response = client.functions.invoke(
|
|
479
|
+
"create-jwt",
|
|
480
|
+
invoke_options={"body": {"api_key": api_key}},
|
|
481
|
+
)
|
|
482
|
+
access_token = json.loads(response)["accessToken"]
|
|
483
|
+
# probably need more info here to avoid additional queries
|
|
484
|
+
# like handle, uid etc
|
|
485
|
+
account_id = client.auth._decode_jwt(access_token)["sub"]
|
|
486
|
+
client.postgrest.auth(access_token)
|
|
487
|
+
# normally public.account.id is equal to auth.user.id
|
|
488
|
+
data = client.table("account").select("*").eq("id", account_id).execute().data
|
|
489
|
+
if data:
|
|
490
|
+
user = data[0]
|
|
491
|
+
user_uuid = UUID(user["id"])
|
|
492
|
+
user_id = user["lnid"]
|
|
493
|
+
user_handle = user["handle"]
|
|
494
|
+
user_name = user["name"]
|
|
495
|
+
else:
|
|
496
|
+
logger.error("Invalid API key.")
|
|
497
|
+
return "invalid-api-key"
|
|
498
|
+
return (user_uuid, user_id, user_handle, user_name, access_token)
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
def sign_in_hub_api_key(
|
|
502
|
+
api_key: str,
|
|
503
|
+
) -> Exception | str | tuple[UUID, str, str, str, str]:
|
|
504
|
+
try:
|
|
505
|
+
result = call_with_fallback(_sign_in_hub_api_key, api_key=api_key)
|
|
506
|
+
except Exception as exception:
|
|
507
|
+
logger.error(exception)
|
|
508
|
+
logger.error("Could not login. Probably your API key is wrong.")
|
|
509
|
+
return exception
|
|
510
|
+
return result
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
def _create_api_key(body: dict, client: Client) -> str:
|
|
514
|
+
response = client.functions.invoke(
|
|
515
|
+
"create-api-key",
|
|
516
|
+
invoke_options={"body": body},
|
|
517
|
+
)
|
|
518
|
+
api_key = json.loads(response)["apiKey"]
|
|
519
|
+
return api_key
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
def create_api_key(body: dict) -> str:
|
|
523
|
+
api_key = call_with_fallback_auth(_create_api_key, body=body)
|
|
524
|
+
return api_key
|
|
@@ -71,30 +71,35 @@ def load_user_settings(user_settings_file: Path):
|
|
|
71
71
|
return settings
|
|
72
72
|
|
|
73
73
|
|
|
74
|
+
def _null_to_value(field, value=None):
|
|
75
|
+
return field if field != "null" else value
|
|
76
|
+
|
|
77
|
+
|
|
74
78
|
def setup_instance_from_store(store: InstanceSettingsStore) -> InstanceSettings:
|
|
75
79
|
ssettings = StorageSettings(
|
|
76
80
|
root=store.storage_root,
|
|
77
|
-
region=store.storage_region
|
|
81
|
+
region=_null_to_value(store.storage_region),
|
|
78
82
|
)
|
|
79
83
|
return InstanceSettings(
|
|
80
84
|
id=UUID(store.id),
|
|
81
85
|
owner=store.owner,
|
|
82
86
|
name=store.name,
|
|
83
87
|
storage=ssettings,
|
|
84
|
-
db=store.db
|
|
85
|
-
schema=store.schema_str
|
|
86
|
-
git_repo=store.git_repo
|
|
88
|
+
db=_null_to_value(store.db),
|
|
89
|
+
schema=_null_to_value(store.schema_str),
|
|
90
|
+
git_repo=_null_to_value(store.git_repo),
|
|
87
91
|
keep_artifacts_local=store.keep_artifacts_local, # type: ignore
|
|
88
92
|
)
|
|
89
93
|
|
|
90
94
|
|
|
91
95
|
def setup_user_from_store(store: UserSettingsStore) -> UserSettings:
|
|
92
96
|
settings = UserSettings()
|
|
93
|
-
settings.email = store.email
|
|
94
|
-
settings.password = store.password
|
|
97
|
+
settings.email = _null_to_value(store.email)
|
|
98
|
+
settings.password = _null_to_value(store.password)
|
|
95
99
|
settings.access_token = store.access_token
|
|
100
|
+
settings.api_key = _null_to_value(store.api_key)
|
|
96
101
|
settings.uid = store.uid
|
|
97
|
-
settings.handle = store.handle
|
|
98
|
-
settings.name = store.name
|
|
102
|
+
settings.handle = _null_to_value(store.handle, value="anonymous")
|
|
103
|
+
settings.name = _null_to_value(store.name)
|
|
99
104
|
settings._uuid = UUID(store.uuid) if store.uuid != "null" else None
|
|
100
105
|
return settings
|
|
@@ -21,8 +21,10 @@ class UserSettings:
|
|
|
21
21
|
|
|
22
22
|
handle: str = "anonymous"
|
|
23
23
|
"""Unique handle."""
|
|
24
|
-
email: str
|
|
24
|
+
email: str | None = None
|
|
25
25
|
"""User email."""
|
|
26
|
+
api_key: str | None = None
|
|
27
|
+
"""Beta API key."""
|
|
26
28
|
password: str | None = None
|
|
27
29
|
"""API key or legacy password."""
|
|
28
30
|
access_token: str | None = None
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
lamindb_setup/__init__.py,sha256=
|
|
1
|
+
lamindb_setup/__init__.py,sha256=S8zggJwTndSC_MojZpmVuvD4i8hp6CwnyjLNH8wU6d4,1726
|
|
2
2
|
lamindb_setup/_cache.py,sha256=wA7mbysANwe8hPNbjDo9bOmXJ0xIyaS5iyxIpxSWji4,846
|
|
3
3
|
lamindb_setup/_check.py,sha256=28PcG8Kp6OpjSLSi1r2boL2Ryeh6xkaCL87HFbjs6GA,129
|
|
4
4
|
lamindb_setup/_check_setup.py,sha256=cNEL9Q4yPpmEkGKHH8JgullWl1VUZwALJ4RHn9wZypY,2613
|
|
5
5
|
lamindb_setup/_close.py,sha256=cXNwK7QTTyNFt2XTpLnO3KHljJ7ShOcISk95np_dltE,1239
|
|
6
|
-
lamindb_setup/_connect_instance.py,sha256=
|
|
6
|
+
lamindb_setup/_connect_instance.py,sha256=TaY317ufYYAVWoEAfeGI_P8IJDP4AYTcHxA4w0-CIqU,16386
|
|
7
7
|
lamindb_setup/_delete.py,sha256=Y8KSFYgY0UHAvjd7cCL6hZ_XiLeJwx50BguVATcj_Xo,5524
|
|
8
8
|
lamindb_setup/_django.py,sha256=EoyWvFzH0i9wxjy4JZhcoXCTckztP_Mrl6FbYQnMmLE,1534
|
|
9
|
+
lamindb_setup/_entry_points.py,sha256=Hs2oJQOCTaGUdWn-1mufM6qUZr9W_EJ_Oc3f0_Vc0Yw,616
|
|
9
10
|
lamindb_setup/_exportdb.py,sha256=43g77-tH-vAlTn8ig1mMD9-KXLKvxUeDLaq0gVu3l-c,2114
|
|
10
11
|
lamindb_setup/_importdb.py,sha256=yYYShzUajTsR-cTW4CZ-UNDWZY2uE5PAgNbp-wn8Ogc,1874
|
|
11
12
|
lamindb_setup/_init_instance.py,sha256=VxHgD2i0hrFm2f_WCX76YmS_Lsx2iufrMtfab82r8X0,12391
|
|
@@ -14,25 +15,25 @@ lamindb_setup/_register_instance.py,sha256=alQuYp2f8Ct8xvRC1gt8p_HZ0tqCd3gZD3kiP
|
|
|
14
15
|
lamindb_setup/_schema.py,sha256=b3uzhhWpV5mQtDwhMINc2MabGCnGLESy51ito3yl6Wc,679
|
|
15
16
|
lamindb_setup/_schema_metadata.py,sha256=XfKCcpQXoatx4Dm2pflp-mPhZ9tpqjn2Cq4ip3MOFSY,13715
|
|
16
17
|
lamindb_setup/_set_managed_storage.py,sha256=4tDxXQMt8Gw028uY3vIQxZQ7qBNXhQMc8saarNK_Z-s,2043
|
|
17
|
-
lamindb_setup/_setup_user.py,sha256=
|
|
18
|
+
lamindb_setup/_setup_user.py,sha256=vvmzotU_6C-fFLIZ85mevdkKMV9qXHsQFIXoXV3GUEk,4395
|
|
18
19
|
lamindb_setup/_silence_loggers.py,sha256=AKF_YcHvX32eGXdsYK8MJlxEaZ-Uo2f6QDRzjKFCtws,1568
|
|
19
20
|
lamindb_setup/core/__init__.py,sha256=BxIVMX5HQq8oZ1OuY_saUEJz5Tdd7gaCPngxVu5iou4,417
|
|
20
21
|
lamindb_setup/core/_aws_credentials.py,sha256=uKMQO9q42Hnepz8aj3RxwLKDWUJx8pNOYrFnnNh5X40,5325
|
|
21
22
|
lamindb_setup/core/_aws_storage.py,sha256=nEjeUv4xUVpoV0Lx-zjjmyb9w804bDyaeiM-OqbfwM0,1799
|
|
22
23
|
lamindb_setup/core/_deprecated.py,sha256=3qxUI1dnDlSeR0BYrv7ucjqRBEojbqotPgpShXs4KF8,2520
|
|
23
24
|
lamindb_setup/core/_docs.py,sha256=3k-YY-oVaJd_9UIY-LfBg_u8raKOCNfkZQPA73KsUhs,276
|
|
24
|
-
lamindb_setup/core/_hub_client.py,sha256=
|
|
25
|
-
lamindb_setup/core/_hub_core.py,sha256=
|
|
25
|
+
lamindb_setup/core/_hub_client.py,sha256=nhdF9qYABRzVkDQMFI-Ft4KVZPDJXrZiyHIvAE5e2j4,6103
|
|
26
|
+
lamindb_setup/core/_hub_core.py,sha256=IOH8yI60xYel42aXTk2yYlF5Z2jJPsHFhvn9cguA-FY,18690
|
|
26
27
|
lamindb_setup/core/_hub_crud.py,sha256=eZErpq9t1Cp2ULBSi457ekrcqfesw4Y6IJgaqyrINMY,5276
|
|
27
28
|
lamindb_setup/core/_hub_utils.py,sha256=w5IRtrxZcvxmGSJslzuZF89ewkzXV4cCUmZUVrqmAfo,3026
|
|
28
29
|
lamindb_setup/core/_private_django_api.py,sha256=KIn43HOhiRjkbTbddyJqv-WNTTa1bAizbM1tWXoXPBg,2869
|
|
29
30
|
lamindb_setup/core/_settings.py,sha256=46axQ5HPvI0X9YuotgdpuSOfSo7qYU1DudIx3vxpFk0,4471
|
|
30
31
|
lamindb_setup/core/_settings_instance.py,sha256=QkhBeDrnM86WDq_FL6KwBIkQxW9mqLjwNW7FSBoKXxs,17608
|
|
31
|
-
lamindb_setup/core/_settings_load.py,sha256=
|
|
32
|
+
lamindb_setup/core/_settings_load.py,sha256=n7-_vg7YfuoMo4wdwwL2hdBjorywTq0GiprsfILWCko,3720
|
|
32
33
|
lamindb_setup/core/_settings_save.py,sha256=n_tYfb9EBSxwm4LHyPRHJptE5uB8lmHhcRkz1JkAmhg,2781
|
|
33
34
|
lamindb_setup/core/_settings_storage.py,sha256=jFdoIkSn1gPDDZKjAlgKyrlsHBqZDOvv-UnuUI7aD_4,14249
|
|
34
|
-
lamindb_setup/core/_settings_store.py,sha256=
|
|
35
|
-
lamindb_setup/core/_settings_user.py,sha256=
|
|
35
|
+
lamindb_setup/core/_settings_store.py,sha256=tEpHPEqg58ZMyCZUKRkekQ3VzTByqsRTnWh_esTWUVY,2149
|
|
36
|
+
lamindb_setup/core/_settings_user.py,sha256=N3a3CjZSCs0TW5Q0A_HVUaKBCpb0_82wZMoa5C_YsbA,1390
|
|
36
37
|
lamindb_setup/core/_setup_bionty_sources.py,sha256=o2L5Ww8TKgSqJtL4cGUcpJwLNYxA9BZgddhCMCu_E2g,3428
|
|
37
38
|
lamindb_setup/core/cloud_sqlite_locker.py,sha256=reu02M4aE2BT_A5AFqwhv48l91mOMyQ4zTd-hh-wtuU,6922
|
|
38
39
|
lamindb_setup/core/django.py,sha256=QUQm3zt5QIiD8uv6o9vbSm_bshqiSWzKSkgD3z2eJCg,3542
|
|
@@ -40,7 +41,7 @@ lamindb_setup/core/exceptions.py,sha256=eoI7AXgATgDVzgArtN7CUvpaMUC067vsBg5LHCsW
|
|
|
40
41
|
lamindb_setup/core/hashing.py,sha256=Y2cvEaqtm3KwpHqj5ZG2f_sLaXhsQT4oDrmJdHbOQeo,3116
|
|
41
42
|
lamindb_setup/core/types.py,sha256=bcYnZ0uM_2NXKJCl94Mmc-uYrQlRUUVKG3sK2N-F-N4,532
|
|
42
43
|
lamindb_setup/core/upath.py,sha256=EPLLm62q-Y3hZzd-286cynFMttXKDNXNOKL3_QGkeug,27215
|
|
43
|
-
lamindb_setup-0.
|
|
44
|
-
lamindb_setup-0.
|
|
45
|
-
lamindb_setup-0.
|
|
46
|
-
lamindb_setup-0.
|
|
44
|
+
lamindb_setup-0.77.1.dist-info/LICENSE,sha256=UOZ1F5fFDe3XXvG4oNnkL1-Ecun7zpHzRxjp-XsMeAo,11324
|
|
45
|
+
lamindb_setup-0.77.1.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
|
|
46
|
+
lamindb_setup-0.77.1.dist-info/METADATA,sha256=--qjx1aWeTkC0N4u10UC2JtnTvp_UMLPuXv2MO2icDQ,1667
|
|
47
|
+
lamindb_setup-0.77.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|