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.

Source Distribution

g8core-1.0.0.tar.gz (10.7 kB view details)

Uploaded Source

File details

Details for the file g8core-1.0.0.tar.gz.

File metadata

  • Download URL: g8core-1.0.0.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for g8core-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7f23628d1acb34eeafc18c305833f90ac348c066e8e83b23114e61447d856044
MD5 6e8f77b52e07b2abd4ce18e5f1fccacd
BLAKE2b-256 eb74f386771c48dfb477a574fae39d1328f1bbc183523bb22cdf7682128d75c4

See more details on using hashes here.

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