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.0a4.tar.gz
(14.7 kB
view details)
File details
Details for the file 0-core-client-1.1.0a4.tar.gz
.
File metadata
- Download URL: 0-core-client-1.1.0a4.tar.gz
- Upload date:
- Size: 14.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 601b69c5c93d4990399ddacd79d1a81e9af3570a44a3a55bb7edff315b7c084d |
|
MD5 | 724309bb5af56368f696e0ecb403553d |
|
BLAKE2b-256 | 9b160160f8c9dfafb8d59e0b2eac3b0264660e8cef16e4f7dcd2da34f4073f2d |