Skip to main content

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()
)
```


Project details


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)

Uploaded Source

Built Distribution

0_core_client-1.1.0a8-py3-none-any.whl (21.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page