DEV Community

Cover image for Introducing Aetherix 0.1.0 – Build Operating Systems with Python
Divyanshu Sinha
Divyanshu Sinha

Posted on

Introducing Aetherix 0.1.0 – Build Operating Systems with Python

Today I'm excited to release Aetherix 0.1.0 on PyPI.

Aetherix is an open-source Python framework for experimenting with operating system development. The goal is to make low-level OS concepts more approachable while still allowing developers to build real bootable projects.

Current features include:

BIOS boot support
UEFI support
x86 target
VGA graphics support
Bootloader generation
Driver framework
Python-first API for building OS components

Install it with:

pip install aetherix

Quick Start:

from aetherix import Project

with Project("MyOS") as os:

    @os.kernel_entry
    def main(prog, drivers):
        drivers.vga.clear(prog)
        drivers.vga.print_string(prog, "Hello, world!")
        prog.hlt()

    os.build("myos.img")
Enter fullscreen mode Exit fullscreen mode
qemu-system-i386 -drive file=myos.img,format=raw
Enter fullscreen mode Exit fullscreen mode

Or write it to a USB stick: sudo dd if=myos.img of=/dev/sdX bs=4M status=progress conv=fsync
(VirtualBox and VMware also accept the raw .img/.bin directly as a virtual disk.)


GitHub: https://github.com/DivyanshuSinha136/Aetherix/
PyPI : https://pypi.org/project/aetherix/

This is just the first public release, and there is still a lot to improve. I'd really appreciate feedback, bug reports, feature requests, and contributions from the community.

If you've ever wanted to explore OS development without starting entirely from C or Assembly, I'd love to hear what you think.

Top comments (0)