nowfound

Dev tools · February 5, 2025

OP

OSS Python Framework for Running macOS and Linux VMs on Apple Silicon

Building on the momentum of lume, we’re excited to share pylume, a new Python library that makes it easier to manage macOS and Linux virtual machines (VMs) on Apple Silicon directly from your Python code. pylume extends lume's command-line functionality to Python, giving developers the ability to integrate VM management into their Python scripts or applications. Why pylume? While lume makes managing VMs via the command line simple, pylume brings those features to Python, allowing developers to control VMs directly from their code. Here’s why pylume might be useful: • Native Python API:…

What it does

In the maker’s words, at launch

Building on the momentum of lume, we’re excited to share pylume, a new Python library that makes it easier to manage macOS and Linux virtual machines (VMs) on Apple Silicon directly from your Python code. pylume extends lume's command-line functionality to Python, giving developers the ability to integrate VM management into their Python scripts or applications. Why pylume? While lume makes managing VMs via the command line simple, pylume brings those features to Python, allowing developers to control VMs directly from their code. Here’s why pylume might be useful: • Native Python API: Manage VMs directly with Python code. For example: python import asyncio from pylume import PyLume, ImageRef, VMRunOpts async def main(): async with PyLume() as pylume: # Pull an image image = ImageRef("macos-sequoia-xcode", "latest", "ghcr.io", "trycua") await pylume.pull_image(image, "lume-vm") # Run the VM await pylume.run_vm("lume-vm") # Get VM details vm_details = await pylume.get_vm("lume-vm") print("VM Details:", vm_details) # Stop the VM await pylume.stop_vm("lume-vm") if __name__ == '__main__': asyncio.run(main()) • Supports macOS & Linux VMs: Quickly set up prebuilt images from any Github registries with minimal setup time. • Configurability: Adjust VM settings like networking, storage, and more, directly from Python. • One-liner VM Creation: Launch VMs in a single line of code, just like you would with Lume’s CLI. Installation: pip install pylume Why Python? • Automation: Python is great for automation, and with libraries like pyautogui for UI automation, integrating VM management into your workflows allows for testing and automation across different OS environments without needing physical machines. • CI/CD Integration: Pylume can be easily added to CI/CD pipelines to automate testing of software across different operating systems or versions on Apple Silicon. • Testing & Development: Quickly set up isolated environments for testing or development, which is particularly useful for cross-platform development or system-level testing. Feedback & Future Directions: We’d love to hear how you're using pylume! Here’s what we’re working on next: • Enhanced Automation: Adding more tools to simplify and automate complex VM workflows. • More Prebuilt Images: Expanding support for additional OS images and offering pre-built customizations for specific use cases. Links: • Pylume GitHub Repo: https://github.com/trycua/pylume • Lume CLI GitHub Repo: https://github.com/trycua/lume We look forward to your feedback, suggestions, or any issues you come across!

Does the same job

all alternatives →

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 1d ago · opentrailpaper.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, February 2025

the whole month →
  • Beautiful screen recordings with instant shareable links

    Growth · 2025 · screen.studio

  • Tana1,666

    Put your notes to work with voice and AI

    AI · 2025 · tana.inc

  • IG

    I was at FB/Meta from late 2013 to early 2023, mostly working in the compiler/runtime spaces. I got hit in the spring 2023 layoff wave. I immediately started making games in my newfound free time (a lifelong interest, and I even worked in AA(A?) back ca. ~2000), and in October 2023 I stumbled upon the idea of a roguelike pachinko/plinko game inspired by Luck Be A Landlord. Things snowballed quickly, I started talking to publishers, then worked like crazy through all of 2024, almost the hardest I've ever worked in my career, and launched the game in December 2024. It's sold…

    Work · 2025

  • Tanka1,410

    AI Messenger with smart reply & long term memory for teams

    AI · 2025 · tanka.ai

  • Tool Finder1,327

    Your shortcut to better software

    AI · 2025 · toolfinder.com

  • IB

    i wanted to change the habit of reaching for my phone in the morning and doomscrolling away an hour so i built an app to help me. now i have to literally touch grass before accessing my most distracting apps the app is built in swiftui, uses the screen time apis provided by apple and google vision to recognise grass or not i'd love to get your thoughts on the concept.

    Life & fun · 2025 · touchgrass.now