sciveo 0.0.25__tar.gz → 0.0.26__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.
- {sciveo-0.0.25 → sciveo-0.0.26}/PKG-INFO +1 -1
- sciveo-0.0.26/sciveo/__init__.py +45 -0
- sciveo-0.0.26/sciveo/version.py +2 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo.egg-info/PKG-INFO +1 -1
- sciveo-0.0.25/sciveo/__init__.py +0 -38
- sciveo-0.0.25/sciveo/version.py +0 -2
- {sciveo-0.0.25 → sciveo-0.0.26}/README.md +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo/api/__init__.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo/api/base.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo/api/upload.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo/common/__init__.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo/common/configuration.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo/common/model.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo/common/optimizers.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo/common/sampling.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo/common/tools/__init__.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo/common/tools/daemon.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo/common/tools/formating.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo/common/tools/hardware.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo/common/tools/logger.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo/common/tools/synchronized.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo/content/__init__.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo/content/dataset.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo/content/experiment.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo/content/project.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo/content/runner.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo/monitoring/__init__.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo/monitoring/monitor.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo.egg-info/SOURCES.txt +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo.egg-info/dependency_links.txt +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo.egg-info/requires.txt +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/sciveo.egg-info/top_level.txt +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/setup.cfg +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/setup.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/test/test_configuration.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/test/test_runner.py +0 -0
- {sciveo-0.0.25 → sciveo-0.0.26}/test/test_sampling.py +0 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
#
|
|
2
|
+
# Pavlin Georgiev, Softel Labs
|
|
3
|
+
#
|
|
4
|
+
# This is a proprietary file and may not be copied,
|
|
5
|
+
# distributed, or modified without express permission
|
|
6
|
+
# from the owner. For licensing inquiries, please
|
|
7
|
+
# contact pavlin@softel.bg.
|
|
8
|
+
#
|
|
9
|
+
# 2023
|
|
10
|
+
#
|
|
11
|
+
|
|
12
|
+
from builtins import ImportError
|
|
13
|
+
|
|
14
|
+
try:
|
|
15
|
+
|
|
16
|
+
import os
|
|
17
|
+
|
|
18
|
+
from sciveo.common.tools.logger import *
|
|
19
|
+
from sciveo.common.tools.daemon import TasksDaemon, __upload_content__
|
|
20
|
+
from sciveo.content.runner import ProjectRunner
|
|
21
|
+
from sciveo.content.dataset import Dataset
|
|
22
|
+
from sciveo.version import __version__
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
TasksDaemon.current = TasksDaemon(num_threads=int(os.environ.get("SCIVEO_TASKS_NUM_THREADS", 1)))
|
|
26
|
+
TasksDaemon.current.start()
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
# New Experiment
|
|
30
|
+
def open():
|
|
31
|
+
if ProjectRunner.current is not None:
|
|
32
|
+
return ProjectRunner.current.project
|
|
33
|
+
else:
|
|
34
|
+
error("there is no started project")
|
|
35
|
+
|
|
36
|
+
def start(project, function, configuration={}, **kwargs):
|
|
37
|
+
ProjectRunner.current = ProjectRunner(project=project, function=function, configuration=configuration, **kwargs)
|
|
38
|
+
ProjectRunner.current.run()
|
|
39
|
+
|
|
40
|
+
# Dataset info
|
|
41
|
+
def dataset(info={}):
|
|
42
|
+
return Dataset.get(info)
|
|
43
|
+
|
|
44
|
+
except ImportError as e:
|
|
45
|
+
pass
|
sciveo-0.0.25/sciveo/__init__.py
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
#
|
|
2
|
-
# Pavlin Georgiev, Softel Labs
|
|
3
|
-
#
|
|
4
|
-
# This is a proprietary file and may not be copied,
|
|
5
|
-
# distributed, or modified without express permission
|
|
6
|
-
# from the owner. For licensing inquiries, please
|
|
7
|
-
# contact pavlin@softel.bg.
|
|
8
|
-
#
|
|
9
|
-
# 2023
|
|
10
|
-
#
|
|
11
|
-
|
|
12
|
-
import os
|
|
13
|
-
|
|
14
|
-
from sciveo.common.tools.logger import *
|
|
15
|
-
from sciveo.common.tools.daemon import TasksDaemon, __upload_content__
|
|
16
|
-
from sciveo.content.runner import ProjectRunner
|
|
17
|
-
from sciveo.content.dataset import Dataset
|
|
18
|
-
from sciveo.version import __version__
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
TasksDaemon.current = TasksDaemon(num_threads=int(os.environ.get("SCIVEO_TASKS_NUM_THREADS", 1)))
|
|
22
|
-
TasksDaemon.current.start()
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
# New Experiment
|
|
26
|
-
def open():
|
|
27
|
-
if ProjectRunner.current is not None:
|
|
28
|
-
return ProjectRunner.current.project
|
|
29
|
-
else:
|
|
30
|
-
error("there is no started project")
|
|
31
|
-
|
|
32
|
-
def start(project, function, configuration={}, **kwargs):
|
|
33
|
-
ProjectRunner.current = ProjectRunner(project=project, function=function, configuration=configuration, **kwargs)
|
|
34
|
-
ProjectRunner.current.run()
|
|
35
|
-
|
|
36
|
-
# Dataset info
|
|
37
|
-
def dataset(info={}):
|
|
38
|
-
return Dataset.get(info)
|
sciveo-0.0.25/sciveo/version.py
DELETED
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|