Skip to main content

An asynchronous noVNC client

Project description

noVNCbot

Send keystrokes to a noVNC session.

Usage

This is most useful for appending to the commandline of an initial OS install in OpenStack

Example

First, Boot from an install ISO. The following will connect via noVNC and append to the boot arguments

#!/usr/bin/env python3
from novncbot import NoVNCbot

console_url = "<noVNC URL>"
bot = NoVNCbot()
bot.connect(console_url)

# Disable consistent network device naming
bot.sendKeys(Keys.TAB)
bot.sendKeys(" biosdevname=0 net.ifnames=0")
bot.sendKeys(Keys.ENTER)

bot.disconnect()

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

novncbot-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

novncbot-0.1.0-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file novncbot-0.1.0.tar.gz.

File metadata

  • Download URL: novncbot-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8

File hashes

Hashes for novncbot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5f90eb8a400532e4ccb3aceb6aeadff52b3fd93e821a6a01b60f0a5e6ea7ba82
MD5 f00c3ad7a191b2a0f93f174dd2c994bf
BLAKE2b-256 3c38a8c6e9e886c0dbc14a4ee9561e4b785110422cb264da28b2aaec8a56bcca

See more details on using hashes here.

File details

Details for the file novncbot-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: novncbot-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8

File hashes

Hashes for novncbot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a37ad4d35067f892faa2eff62b9f6e122aac596820ff72e18d51a2b60c1ef173
MD5 df1c51392144f63bbe9fa450be32f78c
BLAKE2b-256 8f5c02ba0507dd5f433f7b4fd9b27cf96850d787562d3147e7d0eb940ec02234

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