GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Morphir Python
  • Docs
  • Articles
  • GitHub

This view

  • Original page
  • New address

GeezerVison is showing finos.github.io — Morphir Python

Morphir, in Python

Write domain models in Python, exchange Morphir IR and generate Python libraries. Use the same compiler through the Python API, CLI or Morphir extension.

Start with Python Explore the API

models.py compiles to Morphir IR
from __future__ import annotations

from dataclasses import dataclass


@dataclass(frozen=True)
class Pending:
    pass


@dataclass(frozen=True)
class Approved:
    amount: float


type Decision = Pending | Approved
  1. Python domain model
  2. Morphir IR
  3. Generated Python library

Work with Morphir IR

Read, write and migrate versioned models with the dependency-free Python library.

Compile through Python or the CLI

Compile and generate in memory with the typed API, or follow a complete CLI round trip.

Connect to Morphir

Install the extension with finos/morphir. Check the qualified host matrix for MoonBit integration and IR interchange.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.