Zero-OS 0-core client
Project description
# Zero-OS Python Client
## Install
```bash
pip install 0-core-client
```
## How to use
```python
from zeroos.core0 import client
cl = client.Client(host='0-core-host-address')
#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
pip install 0-core-client
```
## How to use
```python
from zeroos.core0 import client
cl = client.Client(host='0-core-host-address')
#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.0a7.tar.gz
(18.9 kB
view hashes)
Built Distribution
Close
Hashes for 0_core_client-1.1.0a7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c81dfe9de503d0dc9770bf27f6177d8bf31626830b290ed5afbc0b3579f8fd2e |
|
MD5 | 4ac068d7eadbca72b04e60d543adce6c |
|
BLAKE2b-256 | 253ed455e956af418f0632326604d19253b6d0558809ed582afffaed72200b0a |