nwolk 0.1.0__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.
nwolk-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,75 @@
1
+ Metadata-Version: 2.4
2
+ Name: nwolk
3
+ Version: 0.1.0
4
+ Summary: nwolk — CLI da Neurosia Cloud: instâncias, SSH, SCP, exposição e rede privada pelo terminal
5
+ Author-email: Neurosia <dev@neurosia.io>
6
+ License: Proprietary
7
+ Project-URL: Homepage, https://wolke.neurosia.io
8
+ Project-URL: Documentation, https://wolke.neurosia.io/docs/NCLI.md
9
+ Keywords: nwolk,neurosia,wolke,cloud,cli,vm,ssh,scp
10
+ Classifier: Environment :: Console
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Intended Audience :: System Administrators
13
+ Classifier: Operating System :: POSIX :: Linux
14
+ Classifier: Operating System :: MacOS
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Topic :: System :: Systems Administration
17
+ Requires-Python: >=3.8
18
+ Description-Content-Type: text/markdown
19
+
20
+ # nwolk — Neurosia Cloud CLI (Python)
21
+
22
+ Instala o comando `nwolk` via pip.
23
+
24
+ ```bash
25
+ pip install neurosia-cli
26
+ nwolk login
27
+ nwolk list
28
+ nwolk ssh minha-vm
29
+ ```
30
+
31
+ ## Como funciona
32
+
33
+ O CLI é escrito em TypeScript e distribuído como **um único arquivo JavaScript**
34
+ sem dependências (`_bundle/nwolk.cjs`). Este pacote Python apenas:
35
+
36
+ 1. Embute esse bundle
37
+ 2. Localiza o Node.js do sistema
38
+ 3. Repassa os argumentos preservando stdin/stdout/stderr
39
+
40
+ Assim `nwolk ssh` continua interativo e `nwolk list | jq` funciona em pipes.
41
+
42
+ ## Requisito
43
+
44
+ Node.js 18+ no PATH. Se não estiver, o pacote instala mesmo assim e avisa
45
+ durante a instalação.
46
+
47
+ ```bash
48
+ sudo apt install nodejs # Ubuntu/Debian
49
+ brew install node # macOS
50
+ ```
51
+
52
+ ## Build
53
+
54
+ ```bash
55
+ # 1. Gere o bundle JS (na pasta cli/)
56
+ cd ../../cli && ./scripts/build-packages.sh
57
+
58
+ # 2. Copie para cá
59
+ cp build/nwolk.cjs ../python/sdk/nwolk/_bundle/
60
+
61
+ # 3. Gere o pacote
62
+ cd ../python/sdk && python3 -m build
63
+ ```
64
+
65
+ ## Publicar no PyPI
66
+
67
+ ```bash
68
+ python3 -m pip install --upgrade build twine
69
+ python3 -m build
70
+ twine upload dist/*
71
+ ```
72
+
73
+ ## Licença
74
+
75
+ Proprietária — Neurosia.
nwolk-0.1.0/README.md ADDED
@@ -0,0 +1,56 @@
1
+ # nwolk — Neurosia Cloud CLI (Python)
2
+
3
+ Instala o comando `nwolk` via pip.
4
+
5
+ ```bash
6
+ pip install neurosia-cli
7
+ nwolk login
8
+ nwolk list
9
+ nwolk ssh minha-vm
10
+ ```
11
+
12
+ ## Como funciona
13
+
14
+ O CLI é escrito em TypeScript e distribuído como **um único arquivo JavaScript**
15
+ sem dependências (`_bundle/nwolk.cjs`). Este pacote Python apenas:
16
+
17
+ 1. Embute esse bundle
18
+ 2. Localiza o Node.js do sistema
19
+ 3. Repassa os argumentos preservando stdin/stdout/stderr
20
+
21
+ Assim `nwolk ssh` continua interativo e `nwolk list | jq` funciona em pipes.
22
+
23
+ ## Requisito
24
+
25
+ Node.js 18+ no PATH. Se não estiver, o pacote instala mesmo assim e avisa
26
+ durante a instalação.
27
+
28
+ ```bash
29
+ sudo apt install nodejs # Ubuntu/Debian
30
+ brew install node # macOS
31
+ ```
32
+
33
+ ## Build
34
+
35
+ ```bash
36
+ # 1. Gere o bundle JS (na pasta cli/)
37
+ cd ../../cli && ./scripts/build-packages.sh
38
+
39
+ # 2. Copie para cá
40
+ cp build/nwolk.cjs ../python/sdk/nwolk/_bundle/
41
+
42
+ # 3. Gere o pacote
43
+ cd ../python/sdk && python3 -m build
44
+ ```
45
+
46
+ ## Publicar no PyPI
47
+
48
+ ```bash
49
+ python3 -m pip install --upgrade build twine
50
+ python3 -m build
51
+ twine upload dist/*
52
+ ```
53
+
54
+ ## Licença
55
+
56
+ Proprietária — Neurosia.
@@ -0,0 +1,10 @@
1
+ """
2
+ nwolk — CLI da Neurosia Cloud.
3
+
4
+ Uso:
5
+ pip install nwolk
6
+ nwolk login
7
+ nwolk list
8
+ """
9
+
10
+ __version__ = "0.1.0"