pyVBox | Python API on top of VirtualBox Python SDK API

 by   von Python Version: Current License: No License

kandi X-RAY | pyVBox Summary

kandi X-RAY | pyVBox Summary

pyVBox is a Python library. pyVBox has no bugs, it has no vulnerabilities, it has build file available and it has low support. You can download it from GitHub.

This is pyVBOX, a shim layer above the VirtualBox Python API. Why? Becuase the VirtualBox Python API is somewhat complex and I got tried of trying to remember all the details of its use. Plus it changes from release to release and this gives me an abstraction layer to hide those changes. The software also includes a script, utils/pyVbox.py, that provides the ability to manipulate VMs (like VBoxMange). This code is written to the 4.1 version of VirtualBox (4.1.12 specifically). I have not tried it against any other version. This software is independently created from VirtualBox and Oracle. No endorsement by Oracle or the VirtualBox authors is implied. Use at your own risk. No support guarenteed, but I'm happy to receive bug reports or suggestions (open an issue please). This code is released under the Apache License, Version 2.0. I ask you send me email (von@vwelch.com) if you add any enhancements or just find it useful (open an issue to report a bug please). Kudos to Nikolay Igotti and the vboxshell.py example that comes with the Virtualbox SDK. The home page for this code is
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              pyVBox has a low active ecosystem.
              It has 38 star(s) with 6 fork(s). There are 8 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 3 open issues and 5 have been closed. On average issues are closed in 227 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of pyVBox is current.

            kandi-Quality Quality

              pyVBox has 0 bugs and 0 code smells.

            kandi-Security Security

              pyVBox has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              pyVBox code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              pyVBox does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              pyVBox releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              It has 1928 lines of code, 236 functions and 30 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed pyVBox and discovered the below as its top functions. This is intended to give you an instant insight into pyVBox implemented functionality, and help decide if they suit your requirements.
            • Find a medium by path
            • Check if s is a valid UUID
            • Return the canonical path to the medium
            • Returns the VirtualBox object
            • Gets the vbox
            • List of VirtualMachine objects
            • Gets the array associated with the given array
            • Return an instance from the given type
            • Return a class corresponding to the given device type
            • Create a session
            • Create a session object
            • Open a medium file
            • Open a medium
            • List of guestOSTypes
            Get all kandi verified functions for this library.

            pyVBox Key Features

            No Key Features are available at this moment for pyVBox.

            pyVBox Examples and Code Snippets

            No Code Snippets are available at this moment for pyVBox.

            Community Discussions

            Trending Discussions on pyVBox

            QUESTION

            Access virtualbox VMs as root
            Asked 2020-Apr-29 at 14:45

            I have VMs created as normal user. I can access them via the GUI and via python bindings (pyvbox). I have a python script that I need to run as root to access other ressources. I cannot access any VMs via the GUI nor python bindings as root. How can I access them from my script ?

            Should I drop privileges from my script ran as root whenever I need to access vbox ? and then go back to root user when i need to access other resources ? How would you do this and is it a good idea ?

            ...

            ANSWER

            Answered 2020-Apr-29 at 14:45

            I found a solution that requires the name of the user for which you want to monitor VMs:

            Source https://stackoverflow.com/questions/61463487

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install pyVBox

            (TODO: Update this to use setup.py).
            The directory containing the pyVBox module directory. I.e. the directory in which you found this README.
            The bindings/xpcom/python/ directory in the VirtualBox SDK distribution.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/von/pyVBox.git

          • CLI

            gh repo clone von/pyVBox

          • sshUrl

            git@github.com:von/pyVBox.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link