Skip to main content

A client implementation for Virtomize Unattended Install Images API

Project description

Donate License Website Twitter LinkedIn

UII Python API

This repository contains an implementation of a client for the Virtomize Unattended Install Images API.

Build an ISO

Building an ISO requires two steps.

  1. Create a client. This requires the API token created in the UI (see below).

    import uiipythonapi as uii
    api = uii.Client("token here")
    
  2. Building the ISO by using build on the client object.

    err = api.build("debian10.iso", "debian", "10", "x86_64", "hostnamehere", [{
            "dhcp": True,        
            "nointernet": False,
    }])
    

    build requires the following parameters:

    • A path to the output file
    • The name of the distribution
    • The version number of the distribution
    • The architecture of the distribution (x86_64 in most cases)
    • A configuration of the network interfaces

Register an API token

Before using this client library, you need to register an API token under your account. For this, login into the website and go to the "API-Token" tab.

API-Token tab

There, create a new API token by clicking "Create" and give it a name. Then click save. Create a token

A new token will be created. Copy this token, as it will be hidden, once you log out. There, create a new API token by clicking "Create" and give it a name. Then click save. Save token

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

uiipythonapi-1.0.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uiipythonapi-1.0.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file uiipythonapi-1.0.1.tar.gz.

File metadata

  • Download URL: uiipythonapi-1.0.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for uiipythonapi-1.0.1.tar.gz
Algorithm Hash digest
SHA256 39844bbb58468ffb4b1096dee47bb611e03e1da88899f51a122eb39e1eeb5c6b
MD5 34ac51a11f7a58be4f4babd05db2ff63
BLAKE2b-256 ce764b4fe994ee9dc257af107fb1822e58d456c2f30b64fd98b5909ae53f3187

See more details on using hashes here.

File details

Details for the file uiipythonapi-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: uiipythonapi-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for uiipythonapi-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 36af693cb1b2e0de048a398677455e4dc91492d751960d3afe5f094a7dde13c3
MD5 3d0edad5efa88b2b57bfad1cc3202122
BLAKE2b-256 6cc3b1cd9de8bce0aed78352fdd685c313662ec4157a45a65ec835f3cf54e064

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page