Skip to main content

Wrapper for civo api

Project description


This project is the python API library for using in python projects.


>>> from civo import Civo
>>> from os.path import expanduser
>>> civo = Civo('token')
>>> home = expanduser("~/.ssh/")
>>> ssh_file = open('{}'.format(home)).read()
>>> # you can filter the result
>>> size_id ='name:g2.xsmall')[0]['name']
>>> template ='code:debian-stretch')[0]['id']
>>> civo.ssh.create(name='default', public_key=ssh_file)
>>> ssh_id ='name:default')[0]['id']
>>> civo.instances.create(hostname='', size=size_id,
                      region='lon1', template_id=template,
                      public_ip='true', ssh_key=ssh_id)


pip3 install civo




python 3.7


Mit License


civo was written by Alejandro JNM.

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 civo, version 1.0.8
Filename, size File type Python version Upload date Hashes
Filename, size civo-1.0.8-py3-none-any.whl (25.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size civo-1.0.8.tar.gz (16.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page