wnm 0.0.6__py3-none-any.whl → 0.0.8__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.

Potentially problematic release.


This version of wnm might be problematic. Click here for more details.

wnm/__init__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """A service to manage a cluster of decentralized Autonomi nodes"""
2
2
 
3
- __version__ = "0.0.6"
3
+ __version__ = "0.0.8"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wnm
3
- Version: 0.0.6
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. Clone the repository:
42
+ 1. Create a directory to hold data:
43
43
  ```
44
- git clone https://github.com/iweave/weave-node-manager.git
44
+ mkdir /home/ubuntu/wnm
45
45
  ```
46
46
  2. Navigate to the project directory:
47
47
  ```
48
- cd weave-node-manager
49
- 3. Create a virtual environment
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
- 4. Activate the virtual environment
57
+ 5. Activate the virtual environment
54
58
  ```
55
59
  . .venv/bin/activate
56
60
  ```
57
- 5. Install the required dependencies:
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
- pip install -r requirements.txt
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
@@ -0,0 +1,9 @@
1
+ wnm/__init__.py,sha256=Ha9Nzes9yJ5jMwfAR7DygPzcSKP8jIwQp9GQAVRE8OU,91
2
+ wnm/__main__.py,sha256=779OKyej7fBte3cSUCnqQx3R05iSfjaU2XvOyPYXWI4,42957
3
+ wnm/config.py,sha256=nMJlzxZX7NA0iI_QAuJDE0uI3V_ROjP5v99wdKDfuDs,47
4
+ wnm/models.py,sha256=7lhZkUfFlnDgeEVRngQVuFnzSbJPwbytLMCynAo1j28,9416
5
+ wnm-0.0.8.dist-info/METADATA,sha256=Hvlc06scFyASbDVL-L4NxPyCjNtKWSyyCDAyY8Hn8P0,2972
6
+ wnm-0.0.8.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
7
+ wnm-0.0.8.dist-info/entry_points.txt,sha256=jfoemjoLVPeeiBMHKqAExrHQ4Rhf9IXxL4JCnS7ZYFo,42
8
+ wnm-0.0.8.dist-info/top_level.txt,sha256=E6dTE5k6efMEB9LaJAZSBu8zzs__l4R55t0-F-LwufI,4
9
+ wnm-0.0.8.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- wnm/__init__.py,sha256=FZ8bQGnVxVfNn4mORWWF52iCVY3AprvOn-Y42SPe4aU,91
2
- wnm/__main__.py,sha256=779OKyej7fBte3cSUCnqQx3R05iSfjaU2XvOyPYXWI4,42957
3
- wnm/config.py,sha256=nMJlzxZX7NA0iI_QAuJDE0uI3V_ROjP5v99wdKDfuDs,47
4
- wnm/models.py,sha256=7lhZkUfFlnDgeEVRngQVuFnzSbJPwbytLMCynAo1j28,9416
5
- wnm-0.0.6.dist-info/METADATA,sha256=FXDyeQ15lAyf_bfHlKklZbKcZhmZRmTBvDINng01xv8,2568
6
- wnm-0.0.6.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
7
- wnm-0.0.6.dist-info/entry_points.txt,sha256=jfoemjoLVPeeiBMHKqAExrHQ4Rhf9IXxL4JCnS7ZYFo,42
8
- wnm-0.0.6.dist-info/top_level.txt,sha256=E6dTE5k6efMEB9LaJAZSBu8zzs__l4R55t0-F-LwufI,4
9
- wnm-0.0.6.dist-info/RECORD,,
File without changes