sciveo 0.1.3__tar.gz → 0.1.5__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.1.3 → sciveo-0.1.5}/PKG-INFO +19 -3
- {sciveo-0.1.3 → sciveo-0.1.5}/README.md +18 -2
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/monitoring/monitor.py +3 -2
- sciveo-0.1.5/sciveo/version.py +2 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo.egg-info/PKG-INFO +19 -3
- sciveo-0.1.3/sciveo/version.py +0 -2
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/__init__.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/api/__init__.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/api/base.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/api/upload.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/common/__init__.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/common/configuration.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/common/model.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/common/optimizers.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/common/sampling.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/common/tools/__init__.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/common/tools/daemon.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/common/tools/formating.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/common/tools/hardware.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/common/tools/logger.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/common/tools/synchronized.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/common/tools/timers.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/content/__init__.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/content/dataset.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/content/experiment.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/content/project.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/content/runner.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/monitoring/__init__.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/monitoring/network.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo/monitoring/start.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo.egg-info/SOURCES.txt +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo.egg-info/dependency_links.txt +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo.egg-info/requires.txt +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/sciveo.egg-info/top_level.txt +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/setup.cfg +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/setup.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/test/test_configuration.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/test/test_monitoring.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/test/test_runner.py +0 -0
- {sciveo-0.1.3 → sciveo-0.1.5}/test/test_sampling.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sciveo
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.5
|
|
4
4
|
Description-Content-Type: text/markdown
|
|
5
5
|
Provides-Extra: mon
|
|
6
6
|
Provides-Extra: net
|
|
@@ -46,12 +46,28 @@ There are few public examples in sciveo.com.
|
|
|
46
46
|
The library has local and remote mode. The local one is ready to use, but for the remote one you will need a sciveo.com account.
|
|
47
47
|
|
|
48
48
|
When have sciveo account:
|
|
49
|
+
```shell
|
|
49
50
|
export SCIVEO_SECRET_ACCESS_KEY='my_sciveo_user_auth_token'
|
|
51
|
+
```
|
|
50
52
|
|
|
51
|
-
When using sciveo
|
|
53
|
+
When using sciveo Monitoring just run, using suitable python environment
|
|
54
|
+
```shell
|
|
52
55
|
python -c "import sciveo; sciveo.monitor(period=120)"
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Monitoring started along with other python code.
|
|
59
|
+
```python
|
|
60
|
+
import sciveo
|
|
61
|
+
|
|
62
|
+
# Non blocking monitoring, so continue the code execution after it.
|
|
63
|
+
sciveo.monitor(period=120, block=False)
|
|
64
|
+
|
|
65
|
+
#rest of your code here
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
```
|
|
53
69
|
|
|
54
|
-
When using sciveo
|
|
70
|
+
When using sciveo Experimental projects management
|
|
55
71
|
|
|
56
72
|
```python
|
|
57
73
|
|
|
@@ -38,12 +38,28 @@ There are few public examples in sciveo.com.
|
|
|
38
38
|
The library has local and remote mode. The local one is ready to use, but for the remote one you will need a sciveo.com account.
|
|
39
39
|
|
|
40
40
|
When have sciveo account:
|
|
41
|
+
```shell
|
|
41
42
|
export SCIVEO_SECRET_ACCESS_KEY='my_sciveo_user_auth_token'
|
|
43
|
+
```
|
|
42
44
|
|
|
43
|
-
When using sciveo
|
|
45
|
+
When using sciveo Monitoring just run, using suitable python environment
|
|
46
|
+
```shell
|
|
44
47
|
python -c "import sciveo; sciveo.monitor(period=120)"
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Monitoring started along with other python code.
|
|
51
|
+
```python
|
|
52
|
+
import sciveo
|
|
53
|
+
|
|
54
|
+
# Non blocking monitoring, so continue the code execution after it.
|
|
55
|
+
sciveo.monitor(period=120, block=False)
|
|
56
|
+
|
|
57
|
+
#rest of your code here
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
```
|
|
45
61
|
|
|
46
|
-
When using sciveo
|
|
62
|
+
When using sciveo Experimental projects management
|
|
47
63
|
|
|
48
64
|
```python
|
|
49
65
|
|
|
@@ -16,6 +16,7 @@ import datetime
|
|
|
16
16
|
import socket
|
|
17
17
|
import psutil
|
|
18
18
|
import platform
|
|
19
|
+
import re
|
|
19
20
|
import uuid
|
|
20
21
|
import numpy as np
|
|
21
22
|
|
|
@@ -34,11 +35,11 @@ class MonitorTools:
|
|
|
34
35
|
list_uid_calls = [socket.gethostname, psutil.cpu_count, platform.processor]
|
|
35
36
|
for uid_call in list_uid_calls:
|
|
36
37
|
try:
|
|
37
|
-
machine_serial += f"{uid_call()
|
|
38
|
+
machine_serial += f"{uid_call()}{s}"
|
|
38
39
|
s = ""
|
|
39
40
|
except Exception:
|
|
40
41
|
pass
|
|
41
|
-
return machine_serial
|
|
42
|
+
return re.sub(r'[\s,\.]', '', machine_serial)
|
|
42
43
|
|
|
43
44
|
|
|
44
45
|
class BaseMonitor(DaemonBase):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sciveo
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.5
|
|
4
4
|
Description-Content-Type: text/markdown
|
|
5
5
|
Provides-Extra: mon
|
|
6
6
|
Provides-Extra: net
|
|
@@ -46,12 +46,28 @@ There are few public examples in sciveo.com.
|
|
|
46
46
|
The library has local and remote mode. The local one is ready to use, but for the remote one you will need a sciveo.com account.
|
|
47
47
|
|
|
48
48
|
When have sciveo account:
|
|
49
|
+
```shell
|
|
49
50
|
export SCIVEO_SECRET_ACCESS_KEY='my_sciveo_user_auth_token'
|
|
51
|
+
```
|
|
50
52
|
|
|
51
|
-
When using sciveo
|
|
53
|
+
When using sciveo Monitoring just run, using suitable python environment
|
|
54
|
+
```shell
|
|
52
55
|
python -c "import sciveo; sciveo.monitor(period=120)"
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Monitoring started along with other python code.
|
|
59
|
+
```python
|
|
60
|
+
import sciveo
|
|
61
|
+
|
|
62
|
+
# Non blocking monitoring, so continue the code execution after it.
|
|
63
|
+
sciveo.monitor(period=120, block=False)
|
|
64
|
+
|
|
65
|
+
#rest of your code here
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
```
|
|
53
69
|
|
|
54
|
-
When using sciveo
|
|
70
|
+
When using sciveo Experimental projects management
|
|
55
71
|
|
|
56
72
|
```python
|
|
57
73
|
|
sciveo-0.1.3/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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|