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


Release history Release notifications

This version
History Node

1.1.0a2

History Node

1.0.0

History Node

0.11.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
g8core-1.1.0a2.tar.gz (13.3 kB) Copy SHA256 hash SHA256 Source None May 16, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page