Skip to main content

Civo

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

Usage

>>> from civo import Civo
>>> civo = Civo('token')
>>> ssh_file = open('~/.ssh/id_dsa.pub').read()
>>> # you can filter the result
>>> size_id = civo.size.search(filter='name:g2.xsmall')[0]['name']
>>> template = civo.templates.search(filter='code:debian-stretch')[0]['id']
>>> civo.ssh.create(name='default', public_key=ssh_file)
>>> civo.instances.create(hostname='text.example.com', size='g2.xsmall',
                      region='lon1', template_id=template,
                      public_ip='true', ssh_key='default')

Installation

pip3 install civo

Requirements

requests

Compatibility

python 3.7

Licence

Mit License

Authors

civo was written by Alejandro JNM.

Release files for civo 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for civo 1.0.4
File Size Uploaded
civo-1.0.4.tar.gz 13.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for civo 1.0.4
File Interpreter ABI Platform
civo-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 35.5 kB

Release files / civo-1.0.4.tar.gz

Download URL civo-1.0.4.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0ead971f6502fe615a22242eb7433126debe1c60b1466e47b76ca49dd4e1fa16
BLAKE2b-256 checksum
How to use checksums
e064feb43b38f4365a4777987b7dafab64215512abab3188385b20de2cf07959
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0

Release files / civo-1.0.4-py3-none-any.whl

Download URL civo-1.0.4-py3-none-any.whl
Size 21.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c227c06e896dbd1decba6effaa0ecbc8ac8b5751e1e9c10d2e99108c5e4f8bcd
BLAKE2b-256 checksum
How to use checksums
82473f62c3077b5d18a856b9ccbafe17bfc267bba8f0b843d46e88fcb5409211
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0

Release history Release notifications | RSS feed

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page