Skip to main content

Copyright (c) 2018 The Spry Group, LLC.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Description: # Vultr

[![build status](https://travis-ci.org/spry-group/python-vultr.svg?branch=master)](https://travis-ci.org/spry-group/python-vultr)

Vultr provides a client library to the [Vultr.com](http://www.vultr.com/?ref=6989379-3B) API.

## Usage

`python api_key = 'XXXXXXXXX' vultr = Vultr(api_key) plans_json = vultr.plans.list() `

## Testing

From the repo root directory Performs generic, unauthenticated tests

`shell python -m unittest -v tests.test_vultr.UnauthenticatedTests `

Requires the environment variable VULTR_KEY to be set

`shell python -m unittest -v tests.test_vultr.AuthenticatedTests `

## Support

Python Vultr is supported on a volunteer basis.

## API

  • def account.info(self, params=None):

  • def app.list(self, params=None):

  • def backup.list(self, params=None):

  • def dns.create_domain(self, domain, ipaddr, params=None):

  • def dns.create_record(self, domain, name, _type, data, params=None):

  • def dns.delete_domain(self, domain, params=None):

  • def dns.delete_record(self, domain, recordid, params=None):

  • def dns.list(self, params=None):

  • def dns.records(self, domain, params=None):

  • def dns.update_record(self, domain, recordid, params=None):

  • def iso.list(self, params=None):

  • def iso.create_from_url(self, url, params=None)

  • def os.list(self, params=None):

  • def plans.list(self, params=None):

  • def regions.availability(self, dcid, params=None):

  • def regions.list(self, params=None):

  • def server.ipv4.create(self, subid, params=None):

  • def server.ipv4.destroy(self, subid, ipaddr, params=None):

  • def server.ipv4.list(self, subid, params=None):

  • def server.ipv4.reverse_default(self, subid, ipaddr, params=None):

  • def server.ipv4.reverse_set(self, subid, ipaddr, entry, params=None):

  • def server.ipv6.list_ipv6(self, subid, params=None):

  • def server.ipv6.reverse_delete_ipv6(self, subid, ipaddr, params=None):

  • def server.ipv6.reverse_list_ipv6(self, subid, params=None):

  • def server.ipv6.reverse_set_ipv6(self, subid, ipaddr, entry, params=None):

  • def server.bandwidth(self, subid, params=None):

  • def server.create(self, dcid, vpsplanid, osid, params=None):

  • def server.destroy(self, subid, params=None):

  • def server.get_user_data(self, subid, params=None):

  • def server.halt(self, subid, params=None):

  • def server.label_set(self, subid, label, params=None):

  • def server.list(self, subid=None, params=None):

  • def server.neighbors(self, subid, params=None):

  • def server.os_change(self, subid, osid, params=None):

  • def server.os_change_list(self, subid, params=None):

  • def server.reboot(self, subid, params=None):

  • def server.reinstall(self, subid, params=None):

  • def server.restore_backup(self, subid, backupid, params=None):

  • def server.restore_snapshot(self, subid, snapshotid, params=None):

  • def server.set_user_data(self, subid, userdata, params=None):

  • def server.start(self, subid, params=None):

  • def server.upgrade_plan(self, subid, vpsplanid, params=None):

  • def server.upgrade_plan_list(self, subid, params=None):

  • def snapshot.create(self, subid, params=None):

  • def snapshot.destroy(self, snapshotid, params=None):

  • def snapshot.list(self, params=None):

  • def sshkey.create(self, name, ssh_key, params=None):

  • def sshkey.destroy(self, sshkeyid, params=None):

  • def sshkey.list(self, params=None):

  • def sshkey.update(self, sshkeyid, params=None):

  • def startupscript.create(self, name, script, params=None):

  • def startupscript.destroy(self, scriptid, params=None):

  • def startupscript.list(self, params=None):

  • def startupscript.update(self, scriptid, params=None):

Platform: UNKNOWN Classifier: Intended Audience :: Developers Classifier: Natural Language :: English Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Topic :: Software Development :: Libraries :: Python Modules Description-Content-Type: text/markdown

Metadata

Release files for vultr 1.0.1

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

Source distribution (sdist)

Source distribution for vultr 1.0.1
File Size Uploaded
vultr-1.0.1.tar.gz 11.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vultr 1.0.1
File Interpreter ABI Platform
vultr-1.0.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 28.4 kB

Release files / vultr-1.0.1.tar.gz

Download URL vultr-1.0.1.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3f38849d267808c02fb2b2d9d2e394cb0be5b2d5b422b34bda01c4544060de1b
BLAKE2b-256 checksum
How to use checksums
ea87abe6e282bb4797f37fba197f0bd61f8d05f4f0b1158931124837e5ea1cff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / vultr-1.0.1-py2.py3-none-any.whl

Download URL vultr-1.0.1-py2.py3-none-any.whl
Size 17.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
16acaae4b71f92d47c7820f81699264e70f15509aadaa37ec831d9e15538cb98
BLAKE2b-256 checksum
How to use checksums
118187b6e7c81582a4919549ce7f25006a7c951e315e1fc12920b022fdcc300a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.1.2

2 release files

0.1.1

1 release file

0.1.0

1 release file

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