Promethium

Python, powered by Elements.

Write expressive Python code and bring it to the full Elements toolchain, with native access to the platforms and frameworks your project targets.

Python Meets Elements

Promethium is the Python language frontend for the Elements compiler. It brings Python's approachable, readable syntax into the same compiler and project system used by Oxygene, C#, Swift, Java, Go, and Mercury.

That means Python can be a first-class choice for Elements projects: use the language you enjoy while working with the APIs, SDKs, and native capabilities of your target platform.

Promethium's PocketDungeon command-line project in Earth on Linux, with Python source code in the dark editor

A Familiar Language, a Bigger Reach

Promethium combines Python's clarity with the cross-platform reach and development experience of Elements.

Readable by Design

Use clean, concise Python syntax for application code, shared libraries, tools, and services.

Native APIs

Work directly with the frameworks and SDKs of the platform you are building for.

One Toolchain

Build Python projects alongside the other Elements languages with the same project model and developer tools.

Promethium's FallingBricks command-line project in Fire on macOS, with Python source code and the CodeBot assistant
Promethium's MissionControl WPF project in Water on Windows, with Python source code and the running Tiny Mission Control app

Promethium Base Library

Promethium ships with an optional and open-source Promethium Base Library, available for all platforms, that brings a large set of common CPython APIs over to Elements.

This way, you can explore the new platforms in the Python language, without giving up your creature comforts and the core Python types and functions you are used to.

Of course, PBL is also – optionally – available to all other Elements languages. For example, Python’s familiar collections.Counter makes it easy to count occurrences and find the most common items in a collection — just as useful for analyzing sales or application logs in Oxygene, C#, or Myth as it is in Python.

A dark blue and gold python surrounded by flowing blue and yellow light
Python syntax. Elements reach.