Skip to content

Releases: UpCloudLtd/upcloud-python-api

v.0.3.3

08 Feb 12:20

Choose a tag to compare

Allow setting timeout via

manager = upcloud_api.CloudManager('username', 'password', timeout)

or

manager.timeout = timeout (although this should probably be avoided)

where timeout is an integer (seconds) or None (forever) or anything accepted by requests library as described here

v.0.3.2

30 Nov 07:47

Choose a tag to compare

Small update, adds functionality to manage preconfigured servers ("fixed plan", see upcloud.com/pricing/)

  • plan attribute for Server
  • Server.save() works even if the instance has not been populated from API

v0.3.1

20 Jul 12:36

Choose a tag to compare

Small update introducing Tags

  • Tag class and TagManager mixin for CloudManager
  • see upcloud_api/cloud_manager/tag_mixin.py and upcloud_api/tag.py

0.3.0

15 Jul 07:53

Choose a tag to compare

Major release introducing python2/3 support and several features for Ansible inventory/modules

  • PyPi relase renamed to upcloud-api (pip install upcloud-api)
  • Package renamed to upcloud_api (import upcloud_api)

  • versions supported: 2.6, 2.7, 3.3+
    • drop 3.2 support (future does not support it)
  • new convenience functions for Server:
    • server.stop_and_destroy() - wait for server to stop, then destroy it and its storages
    • server.ensure_started() - wait for server to be started
    • server.to_dict() - JSON serialisable dict including storages an IP-addresses
  • password delivery "none" by default. (no annoying emails about new servers)
  • some code quality improvements, like using strictly absolute imports within the codebase

v0.2.0

29 Jun 13:34

Choose a tag to compare

v0.2.0 Pre-release
Pre-release

Major update with new features related to UpCloud's API v1.2

  • major change: use UpCloud's API v1.2
  • add FirewallRule management (see documentation)
  • add option to add IPv6 addresses (server.add_IP("IPv6"))
  • ship files required for running tests with the PyPI release
  • updates to documentation and README.md
  • live tests against UpCloud's API - these are NOT shipped with PyPI release as they are extremely dangerous. py.test will not run these tests and they require extra confirmation / cloud credentials. This version has been tested manually and automatically against the UpCloud v1.2 API.

v0.1.1

23 Jun 13:48

Choose a tag to compare

v0.1.1 Pre-release
Pre-release

Move to X.Y.Z versioning and bump version from 0.1(.0) to 0.1.1

  • minor enchancement: Storage OS param can now take a UUID of a OS template. Useful if using custom OS templates.
  • bugfix: add cloud_manager to Server object during create_server.
  • added MANIFEST.in, tox.in, setup.cfg and removed docs/html from git (built by mkdocs from md sources)
  • sublime project file and some readme.md improvements

v0.1

23 Jun 07:44

Choose a tag to compare

v0.1 Pre-release
Pre-release