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 details)
Built Distribution
File details
Details for the file 0-core-client-1.1.0a7.tar.gz
.
File metadata
- Download URL: 0-core-client-1.1.0a7.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f45465e53f57b6f7570aa959d27f6ab5ea32ee395e210df8de23f1335b3bcc8 |
|
MD5 | 35ebd261248d500b346674f98d9244f4 |
|
BLAKE2b-256 | f590897a16f3cd9044fe18a238ecaa9c421f8b54531bd7ef34e7ec405c5a319a |
File details
Details for the file 0_core_client-1.1.0a7-py3-none-any.whl
.
File metadata
- Download URL: 0_core_client-1.1.0a7-py3-none-any.whl
- Upload date:
- Size: 20.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c81dfe9de503d0dc9770bf27f6177d8bf31626830b290ed5afbc0b3579f8fd2e |
|
MD5 | 4ac068d7eadbca72b04e60d543adce6c |
|
BLAKE2b-256 | 253ed455e956af418f0632326604d19253b6d0558809ed582afffaed72200b0a |