Skip to main content

G8OS cores client

Project description

# G8core

G8Core is the python client used to talk to [G8OS core](https://github.com/g8os/core0)

## install
```bash
pip install g8core
```

## How to use:
```python
import g8core

cl = g8core.Client(host='ip of docker container running core0')

#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.

Files for g8core, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size g8core-1.0.0.tar.gz (10.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page