Zero-OS 0-core client
Project description
# Zero-OS Python Client
## Install
```bash
pip3 install 0-core-client
```
## How to use
```python
from zeroos.core0.client import Client
cl = Client(host='<0-core-host-address>', password='<JWT>')
#validate that core0 is reachable
print(cl.ping())
#then u can do stuff like
print(
cl.system('ps -eF').get()
)
print(
cl.system('ip a').get()
)
#client exposes more tools for disk, bridges, and container mgmt
print(
cl.disk.list()
)
```
## Install
```bash
pip3 install 0-core-client
```
## How to use
```python
from zeroos.core0.client import Client
cl = Client(host='<0-core-host-address>', password='<JWT>')
#validate that core0 is reachable
print(cl.ping())
#then u can do stuff like
print(
cl.system('ps -eF').get()
)
print(
cl.system('ip a').get()
)
#client exposes more tools for disk, bridges, and container mgmt
print(
cl.disk.list()
)
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
0-core-client-1.1.0a8.tar.gz
(19.7 kB
view hashes)
Built Distribution
Close
Hashes for 0_core_client-1.1.0a8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a5566dcb6d8c971c4ec74b3910b1d5b25b5e18ce6263161a1b7f9d41f3188e4 |
|
MD5 | c408c34711834a9d7d9d0c7590e3dfd1 |
|
BLAKE2b-256 | 66faacc0e598ef7bc9af8dc67b76776fff86e163b702742c3a842d1ae7956203 |