steer-core 0.1.8__py3-none-any.whl → 0.1.9__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.
- steer_core/Data/database.db +0 -0
- steer_core/DataManager.py +5 -3
- steer_core/__init__.py +1 -1
- {steer_core-0.1.8.dist-info → steer_core-0.1.9.dist-info}/METADATA +1 -1
- {steer_core-0.1.8.dist-info → steer_core-0.1.9.dist-info}/RECORD +7 -6
- {steer_core-0.1.8.dist-info → steer_core-0.1.9.dist-info}/WHEEL +0 -0
- {steer_core-0.1.8.dist-info → steer_core-0.1.9.dist-info}/top_level.txt +0 -0
Binary file
|
steer_core/DataManager.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import sqlite3 as sql
|
2
2
|
from pathlib import Path
|
3
3
|
import pandas as pd
|
4
|
+
import importlib.resources
|
4
5
|
|
5
6
|
from steer_core.Constants.Units import *
|
6
7
|
|
@@ -9,9 +10,10 @@ class DataManager:
|
|
9
10
|
|
10
11
|
def __init__(self):
|
11
12
|
|
12
|
-
|
13
|
-
|
14
|
-
|
13
|
+
with importlib.resources.path("steer_core.Data", "database.db") as db_path:
|
14
|
+
self._db_path = db_path
|
15
|
+
self._connection = sql.connect(self._db_path)
|
16
|
+
self._cursor = self._connection.cursor()
|
15
17
|
|
16
18
|
def create_table(self, table_name: str, columns: dict):
|
17
19
|
"""
|
steer_core/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.1.
|
1
|
+
__version__ = "0.1.9"
|
@@ -1,5 +1,5 @@
|
|
1
|
-
steer_core/DataManager.py,sha256=
|
2
|
-
steer_core/__init__.py,sha256=
|
1
|
+
steer_core/DataManager.py,sha256=KKpN8GiVHm8xfUmjHKgfLt_xRXT--dhNX8gxs022VHs,11156
|
2
|
+
steer_core/__init__.py,sha256=XIaxbMbyiP-L3kguR1GhxirFblTXiHR1lMfDVITvHUI,22
|
3
3
|
steer_core/Apps/ContextManagers.py,sha256=p3_m6cio2bobP0gg03Iu18XRPHTeIsoZasf5TnLsvZg,1810
|
4
4
|
steer_core/Apps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
steer_core/Apps/Components/CompoundComponents.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -15,6 +15,7 @@ steer_core/Constants/Universal.py,sha256=5FWdrex5NiI2DResDmwO7GIvGN2B0DNtdlG1l-y
|
|
15
15
|
steer_core/Constants/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
16
|
steer_core/ContextManagers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
17
17
|
steer_core/Data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
18
|
+
steer_core/Data/database.db,sha256=q0JM2I0Pd28YVq9kxfGbFxFnuM-13cFjCwhL0FdwrJg,12795904
|
18
19
|
steer_core/Decorators/Coordinates.py,sha256=qo79PlA8ZZ6QY-VvH9YGg27gqpVJ2-Xa3blyoQVCp7A,1436
|
19
20
|
steer_core/Decorators/Electrochemical.py,sha256=fAy89aw3zspBu_8UPa5kEhUpvO-bYpM0xH1r6O6mSiA,985
|
20
21
|
steer_core/Decorators/General.py,sha256=-Wu-kTC9JAokicgt_nvANR7zpbCBPNR1kDmY6jzHfy4,966
|
@@ -26,7 +27,7 @@ steer_core/Mixins/Data.py,sha256=wdNedZHS5Q7B-pCIoEbqTWMcxsC91CVn9pbQ2Zszg3w,136
|
|
26
27
|
steer_core/Mixins/Serializer.py,sha256=x-aX8BcFSh5egZdkKinYMmIHLqZymCnETNUld3hzgnk,1039
|
27
28
|
steer_core/Mixins/Validators.py,sha256=VmWmv1M8YqTzaIyc95TOvNEJScG7o8rQezQNor84DEc,12933
|
28
29
|
steer_core/Mixins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
29
|
-
steer_core-0.1.
|
30
|
-
steer_core-0.1.
|
31
|
-
steer_core-0.1.
|
32
|
-
steer_core-0.1.
|
30
|
+
steer_core-0.1.9.dist-info/METADATA,sha256=HTEex5neesD31cFzb4vNPy2-hajPveSZFWFijOemmJ0,703
|
31
|
+
steer_core-0.1.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
32
|
+
steer_core-0.1.9.dist-info/top_level.txt,sha256=6LFpGCSDE_SqRoT7raeM3Ax7KTBKQnyXLXxM9kXtw5M,11
|
33
|
+
steer_core-0.1.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|