Skip to main content

MOU & Partnerships

ASCII Layout

ASCII Layout

Multi-entity logo pattern in Col 2:

Structuring Prompt


Illustrative Transform Example

For a news item: “ISRO and NASA sign an MOU for joint lunar exploration. Key areas include data sharing, crew training, and satellite coordination.”
For a 3-entity deal: “Ministry of Education, IIT Delhi, and Infosys sign tripartite MOU for skilling.”

Image Handling

File: logos.json


FastAPI Integration

The flat lookup is all your parser needs — categories exist only for human readability in the editor. FastAPI flattens on load:

Adding a New Entry

When a new organisation appears in monthly content, the editor simply appends one object to the relevant category — no schema change, no code change needed:

MOU Logo Placement for WeasyPrint PDF

Visual Structure Analysis (from attached image)

The image shows two layout variants:
  • Top row (1-to-1 MOU): Two equal-sized circular logo frames placed side by side, slightly overlapping at the center. A MOU/agreement icon (document + pen) floats centered on top, overlapping both circles at the junction — acting as a visual “connector” between the two parties.
  • Bottom row (1-to-many MOU): One circle on the left (Entity 1), followed by 2–3 overlapping circles on the right (Other Entities), each shifted so the center of the next circle aligns with the circumference of the previous one (50% overlap). A bold & Others subtitle sits beneath the right-side cluster.

WeasyPrint HTML/CSS Prompt


Jinja2 Template Logic (for WeasyPrint)


Key CSS Values Summary

This structure mirrors the overlapping circular frame pattern shown in your reference image exactly, and is WeasyPrint-safe by avoiding position: absolute in favour of negative margins and flex z-ordering.

Code Example