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 details)
Built Distribution
File details
Details for the file 0-core-client-1.1.0a8.tar.gz
.
File metadata
- Download URL: 0-core-client-1.1.0a8.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 663508e24643ad3a261b8b317e34ad6f096d2bae8997fb9155629e941b78986b |
|
MD5 | 7707c35dbb5ae99925daa925dbb04696 |
|
BLAKE2b-256 | cd1c52c3a1c88b2a2821ea7d2afc3c7883a8d73880dd4de4199b8d5e7d9773bd |
File details
Details for the file 0_core_client-1.1.0a8-py3-none-any.whl
.
File metadata
- Download URL: 0_core_client-1.1.0a8-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a5566dcb6d8c971c4ec74b3910b1d5b25b5e18ce6263161a1b7f9d41f3188e4 |
|
MD5 | c408c34711834a9d7d9d0c7590e3dfd1 |
|
BLAKE2b-256 | 66faacc0e598ef7bc9af8dc67b76776fff86e163b702742c3a842d1ae7956203 |