sciveo 0.0.24__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.
Files changed (37) hide show
  1. {sciveo-0.0.24 → sciveo-0.0.26}/PKG-INFO +1 -1
  2. sciveo-0.0.26/sciveo/__init__.py +45 -0
  3. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo/api/base.py +0 -1
  4. sciveo-0.0.26/sciveo/version.py +2 -0
  5. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo.egg-info/PKG-INFO +1 -1
  6. sciveo-0.0.24/sciveo/__init__.py +0 -38
  7. sciveo-0.0.24/sciveo/version.py +0 -2
  8. {sciveo-0.0.24 → sciveo-0.0.26}/README.md +0 -0
  9. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo/api/__init__.py +0 -0
  10. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo/api/upload.py +0 -0
  11. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo/common/__init__.py +0 -0
  12. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo/common/configuration.py +0 -0
  13. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo/common/model.py +0 -0
  14. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo/common/optimizers.py +0 -0
  15. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo/common/sampling.py +0 -0
  16. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo/common/tools/__init__.py +0 -0
  17. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo/common/tools/daemon.py +0 -0
  18. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo/common/tools/formating.py +0 -0
  19. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo/common/tools/hardware.py +0 -0
  20. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo/common/tools/logger.py +0 -0
  21. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo/common/tools/synchronized.py +0 -0
  22. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo/content/__init__.py +0 -0
  23. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo/content/dataset.py +0 -0
  24. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo/content/experiment.py +0 -0
  25. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo/content/project.py +0 -0
  26. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo/content/runner.py +0 -0
  27. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo/monitoring/__init__.py +0 -0
  28. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo/monitoring/monitor.py +0 -0
  29. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo.egg-info/SOURCES.txt +0 -0
  30. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo.egg-info/dependency_links.txt +0 -0
  31. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo.egg-info/requires.txt +0 -0
  32. {sciveo-0.0.24 → sciveo-0.0.26}/sciveo.egg-info/top_level.txt +0 -0
  33. {sciveo-0.0.24 → sciveo-0.0.26}/setup.cfg +0 -0
  34. {sciveo-0.0.24 → sciveo-0.0.26}/setup.py +0 -0
  35. {sciveo-0.0.24 → sciveo-0.0.26}/test/test_configuration.py +0 -0
  36. {sciveo-0.0.24 → sciveo-0.0.26}/test/test_runner.py +0 -0
  37. {sciveo-0.0.24 → sciveo-0.0.26}/test/test_sampling.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sciveo
3
- Version: 0.0.24
3
+ Version: 0.0.26
4
4
  Description-Content-Type: text/markdown
5
5
  Provides-Extra: mon
6
6
 
@@ -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
@@ -13,7 +13,6 @@ import os
13
13
  import json
14
14
  from urllib import request, parse
15
15
  from urllib.error import HTTPError
16
- import requests
17
16
 
18
17
  from sciveo.common.tools.logger import *
19
18
 
@@ -0,0 +1,2 @@
1
+
2
+ __version__ = '0.0.26'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sciveo
3
- Version: 0.0.24
3
+ Version: 0.0.26
4
4
  Description-Content-Type: text/markdown
5
5
  Provides-Extra: mon
6
6
 
@@ -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)
@@ -1,2 +0,0 @@
1
-
2
- __version__ = '0.0.24'
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes