wnm 0.0.6__tar.gz → 0.0.8__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.
Potentially problematic release.
This version of wnm might be problematic. Click here for more details.
- {wnm-0.0.6 → wnm-0.0.8}/PKG-INFO +24 -8
- {wnm-0.0.6 → wnm-0.0.8}/README.md +23 -7
- {wnm-0.0.6 → wnm-0.0.8}/wnm/__init__.py +1 -1
- {wnm-0.0.6 → wnm-0.0.8}/wnm.egg-info/PKG-INFO +24 -8
- {wnm-0.0.6 → wnm-0.0.8}/pyproject.toml +0 -0
- {wnm-0.0.6 → wnm-0.0.8}/requirements-dev.txt +0 -0
- {wnm-0.0.6 → wnm-0.0.8}/requirements.txt +0 -0
- {wnm-0.0.6 → wnm-0.0.8}/setup.cfg +0 -0
- {wnm-0.0.6 → wnm-0.0.8}/wnm/__main__.py +0 -0
- {wnm-0.0.6 → wnm-0.0.8}/wnm/config.py +0 -0
- {wnm-0.0.6 → wnm-0.0.8}/wnm/models.py +0 -0
- {wnm-0.0.6 → wnm-0.0.8}/wnm.egg-info/SOURCES.txt +0 -0
- {wnm-0.0.6 → wnm-0.0.8}/wnm.egg-info/dependency_links.txt +0 -0
- {wnm-0.0.6 → wnm-0.0.8}/wnm.egg-info/entry_points.txt +0 -0
- {wnm-0.0.6 → wnm-0.0.8}/wnm.egg-info/requires.txt +0 -0
- {wnm-0.0.6 → wnm-0.0.8}/wnm.egg-info/top_level.txt +0 -0
{wnm-0.0.6 → wnm-0.0.8}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: wnm
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.8
|
|
4
4
|
Summary: Manager for Autonomi nodes
|
|
5
5
|
Author-email: Troy Johnson <troy@weave.sh>
|
|
6
6
|
License: GPL-3.0
|
|
@@ -39,24 +39,40 @@ Weave Node Manager (wnm) is a Python application designed to manage nodes for de
|
|
|
39
39
|
- Support for configuration via YAML, JSON, or command-line parameters.
|
|
40
40
|
|
|
41
41
|
## Installation
|
|
42
|
-
1.
|
|
42
|
+
1. Create a directory to hold data:
|
|
43
43
|
```
|
|
44
|
-
|
|
44
|
+
mkdir /home/ubuntu/wnm
|
|
45
45
|
```
|
|
46
46
|
2. Navigate to the project directory:
|
|
47
47
|
```
|
|
48
|
-
cd
|
|
49
|
-
3.
|
|
48
|
+
cd /home/ubuntu/wnm
|
|
49
|
+
3. Install the required dependencies:
|
|
50
|
+
```
|
|
51
|
+
sudo apt install -y python3.12-venv python3-dotenv
|
|
52
|
+
```
|
|
53
|
+
4. Create a virtual environment
|
|
50
54
|
```
|
|
51
55
|
python3 -m venv .venv
|
|
52
56
|
```
|
|
53
|
-
|
|
57
|
+
5. Activate the virtual environment
|
|
54
58
|
```
|
|
55
59
|
. .venv/bin/activate
|
|
56
60
|
```
|
|
57
|
-
|
|
61
|
+
6. Install the package:
|
|
62
|
+
```
|
|
63
|
+
pip install wnm
|
|
64
|
+
```
|
|
65
|
+
7. Run to initialize environment from anm
|
|
66
|
+
```
|
|
67
|
+
wnm
|
|
68
|
+
```
|
|
69
|
+
8. Add to cron to run every minute
|
|
58
70
|
```
|
|
59
|
-
|
|
71
|
+
echo <<EOF
|
|
72
|
+
SHELL=/bin/bash
|
|
73
|
+
PATH=/home/ubuntu/.local/bin:/home/ubuntu/wnm/,venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
74
|
+
*/1 * * * * ubuntu cd /home/ubuntu/wnm && wnm > /home/ubuntu/wnm/cron.out 2>&1
|
|
75
|
+
EOF
|
|
60
76
|
```
|
|
61
77
|
|
|
62
78
|
## Configuration
|
|
@@ -9,24 +9,40 @@ Weave Node Manager (wnm) is a Python application designed to manage nodes for de
|
|
|
9
9
|
- Support for configuration via YAML, JSON, or command-line parameters.
|
|
10
10
|
|
|
11
11
|
## Installation
|
|
12
|
-
1.
|
|
12
|
+
1. Create a directory to hold data:
|
|
13
13
|
```
|
|
14
|
-
|
|
14
|
+
mkdir /home/ubuntu/wnm
|
|
15
15
|
```
|
|
16
16
|
2. Navigate to the project directory:
|
|
17
17
|
```
|
|
18
|
-
cd
|
|
19
|
-
3.
|
|
18
|
+
cd /home/ubuntu/wnm
|
|
19
|
+
3. Install the required dependencies:
|
|
20
|
+
```
|
|
21
|
+
sudo apt install -y python3.12-venv python3-dotenv
|
|
22
|
+
```
|
|
23
|
+
4. Create a virtual environment
|
|
20
24
|
```
|
|
21
25
|
python3 -m venv .venv
|
|
22
26
|
```
|
|
23
|
-
|
|
27
|
+
5. Activate the virtual environment
|
|
24
28
|
```
|
|
25
29
|
. .venv/bin/activate
|
|
26
30
|
```
|
|
27
|
-
|
|
31
|
+
6. Install the package:
|
|
32
|
+
```
|
|
33
|
+
pip install wnm
|
|
34
|
+
```
|
|
35
|
+
7. Run to initialize environment from anm
|
|
36
|
+
```
|
|
37
|
+
wnm
|
|
38
|
+
```
|
|
39
|
+
8. Add to cron to run every minute
|
|
28
40
|
```
|
|
29
|
-
|
|
41
|
+
echo <<EOF
|
|
42
|
+
SHELL=/bin/bash
|
|
43
|
+
PATH=/home/ubuntu/.local/bin:/home/ubuntu/wnm/,venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
44
|
+
*/1 * * * * ubuntu cd /home/ubuntu/wnm && wnm > /home/ubuntu/wnm/cron.out 2>&1
|
|
45
|
+
EOF
|
|
30
46
|
```
|
|
31
47
|
|
|
32
48
|
## Configuration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: wnm
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.8
|
|
4
4
|
Summary: Manager for Autonomi nodes
|
|
5
5
|
Author-email: Troy Johnson <troy@weave.sh>
|
|
6
6
|
License: GPL-3.0
|
|
@@ -39,24 +39,40 @@ Weave Node Manager (wnm) is a Python application designed to manage nodes for de
|
|
|
39
39
|
- Support for configuration via YAML, JSON, or command-line parameters.
|
|
40
40
|
|
|
41
41
|
## Installation
|
|
42
|
-
1.
|
|
42
|
+
1. Create a directory to hold data:
|
|
43
43
|
```
|
|
44
|
-
|
|
44
|
+
mkdir /home/ubuntu/wnm
|
|
45
45
|
```
|
|
46
46
|
2. Navigate to the project directory:
|
|
47
47
|
```
|
|
48
|
-
cd
|
|
49
|
-
3.
|
|
48
|
+
cd /home/ubuntu/wnm
|
|
49
|
+
3. Install the required dependencies:
|
|
50
|
+
```
|
|
51
|
+
sudo apt install -y python3.12-venv python3-dotenv
|
|
52
|
+
```
|
|
53
|
+
4. Create a virtual environment
|
|
50
54
|
```
|
|
51
55
|
python3 -m venv .venv
|
|
52
56
|
```
|
|
53
|
-
|
|
57
|
+
5. Activate the virtual environment
|
|
54
58
|
```
|
|
55
59
|
. .venv/bin/activate
|
|
56
60
|
```
|
|
57
|
-
|
|
61
|
+
6. Install the package:
|
|
62
|
+
```
|
|
63
|
+
pip install wnm
|
|
64
|
+
```
|
|
65
|
+
7. Run to initialize environment from anm
|
|
66
|
+
```
|
|
67
|
+
wnm
|
|
68
|
+
```
|
|
69
|
+
8. Add to cron to run every minute
|
|
58
70
|
```
|
|
59
|
-
|
|
71
|
+
echo <<EOF
|
|
72
|
+
SHELL=/bin/bash
|
|
73
|
+
PATH=/home/ubuntu/.local/bin:/home/ubuntu/wnm/,venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
74
|
+
*/1 * * * * ubuntu cd /home/ubuntu/wnm && wnm > /home/ubuntu/wnm/cron.out 2>&1
|
|
75
|
+
EOF
|
|
60
76
|
```
|
|
61
77
|
|
|
62
78
|
## Configuration
|
|
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
|