Make me a detailed ppt on shad kriya kala por bams pg presentation
Shad Kriya Kala Ayurveda BAMS PG concept stages disease progression
https://www.ijbpsa.com/sites/default/files/IJBPSA-2025-0028.…
mkdir -p /tmp/workspace/shad-kriya-kala-ppt && ls /tmp/workspace/
~/shad-kriya-kala-ppt/build_ppt.py
from pptx import Presentation
from pptx.util import Inches, Pt, Emu
from pptx.dml.color import RGBColor
from pptx.enum.text import PP_ALIGN, MSO_ANCHOR
from pptx.util import Inches, Pt
from io import BytesIO
# ─── COLOR PALETTE (deep Ayurvedic green / saffron / cream) ──────────────────
DARK_GREEN = RGBColor(0x1B, 0x5E, 0x20) # bg header
MID_GREEN = RGBColor(0x2E, 0x7D, 0x32)
LIGHT_GREEN = RGBColor(0xE8, 0xF5, 0xE9) # slide bg tint
SAFFRON = RGBColor(0xFF, 0x8F, 0x00)
DARK_SAFFRON = RGBColor(0xE6, 0x5C, 0x00)
GOLD = RGBColor(0xFF, 0xD7, 0x00)
WHITE = RGBColor(0xFF, 0xFF, 0xFF)
DARK_GRAY = RGBColor(0x21, 0x21, 0x21)
MID_GRAY = RGBColor(0x55, 0x55, 0x55)
CREAM = RGBColor(0xFF, 0xFB, 0xF0)
STAGE_COLORS = [
RGBColor(0x43, 0xA0, 0x47), # Sanchaya – green
RGBColor(0xFB, 0x8C, 0x00), # Prakopa – orange
RGBColor(0xE5, 0x39, 0x35), # Prasara – red
RGBColor(0x81, 0x3A, 0xB5), # Sthana Samshraya – purple
RGBColor(0x03, 0x9B, 0xE5), # Vyakti – blue
RGBColor(0x6D, 0x4C, 0x41), # Bheda – brown
]
prs = Presentation()
prs.slide_width = Inches(13.333)
prs.slide_height = Inches(7.5)
blank = prs.slide_layouts[6]
# ─── HELPERS ─────────────────────────────────────────────────────────────────
def add_rect(slide, x, y, w, h, fill_color, alpha=None):
shape = slide.shapes.add_shape(1, Inches(x), Inches(y), Inches(w), Inches(h))
shape.fill.solid()
shape.fill.fore_color.rgb = fill_color
shape.line.fill.background()
return shape
def add_text(slide, text, x, y, w, h,
font_size=18, bold=False, color=DARK_GRAY,
align=PP_ALIGN.LEFT, italic=False, anchor=MSO_ANCHOR.TOP):
tb = slide.shapes.add_textbox(Inches(x), Inches(y), Inches(w), Inches(h))
tf = tb.text_frame
tf.word_wrap = True
tf.vertical_anchor = anchor
tf.margin_left = Pt(4)
tf.margin_right = Pt(4)
tf.margin_top = Pt(2)
tf.margin_bottom = Pt(2)
p = tf.paragraphs[0]
p.alignment = align
run = p.add_run()
run.text = text
run.font.size = Pt(font_size)
run.font.bold = bold
run.font.italic = italic
run.font.color.rgb = color
run.font.name = "Calibri"
return tb
def add_para(slide, tb, text, font_size=16, bold=False, color=DARK_GRAY,
align=PP_ALIGN.LEFT, italic=False, space_before=4):
tf = tb.text_frame
p = tf.add_paragraph()
p.alignment = align
p.space_before = Pt(space_before)
run = p.add_run()
run.text = text
run.font.size = Pt(font_size)
run.font.bold = bold
run.font.italic = italic
run.font.color.rgb = color
run.font.name = "Calibri"
return p
def slide_bg(slide, color=CREAM):
bg_shape = slide.shapes.add_shape(1,
Inches(0), Inches(0), prs.slide_width, prs.slide_height)
bg_shape.fill.solid()
bg_shape.fill.fore_color.rgb = color
bg_shape.line.fill.background()
def header_bar(slide, title, subtitle=None):
add_rect(slide, 0, 0, 13.333, 1.3, DARK_GREEN)
add_text(slide, title, 0.3, 0.08, 12.5, 0.7,
font_size=30, bold=True, color=WHITE, align=PP_ALIGN.CENTER)
if subtitle:
add_text(slide, subtitle, 0.3, 0.75, 12.5, 0.45,
font_size=16, bold=False, color=GOLD, align=PP_ALIGN.CENTER, italic=True)
def footer(slide, text="BAMS PG Presentation | Shad Kriya Kala"):
add_rect(slide, 0, 7.2, 13.333, 0.3, DARK_GREEN)
add_text(slide, text, 0.3, 7.21, 12.5, 0.28,
font_size=10, color=GOLD, align=PP_ALIGN.CENTER)
# ═══════════════════════════════════════════════════════════════════════════
# SLIDE 1 – TITLE
# ═══════════════════════════════════════════════════════════════════════════
s = prs.slides.add_slide(blank)
slide_bg(s, DARK_GREEN)
# decorative saffron band
add_rect(s, 0, 2.8, 13.333, 0.12, SAFFRON)
add_rect(s, 0, 5.0, 13.333, 0.12, SAFFRON)
add_text(s, "SHAD KRIYA KALA", 0.5, 0.9, 12.333, 1.2,
font_size=48, bold=True, color=GOLD, align=PP_ALIGN.CENTER)
add_text(s, "षड् क्रिया काल", 0.5, 2.0, 12.333, 0.75,
font_size=26, bold=False, color=WHITE, align=PP_ALIGN.CENTER, italic=True)
add_text(s, "Six Stages of Disease Progression in Ayurveda", 0.5, 3.1, 12.333, 0.65,
font_size=22, bold=False, color=WHITE, align=PP_ALIGN.CENTER)
add_text(s, "A BAMS PG Seminar Presentation", 0.5, 3.85, 12.333, 0.5,
font_size=16, bold=False, color=GOLD, align=PP_ALIGN.CENTER, italic=True)
add_text(s, "Department of Kriya Sharir / Roga Nidana | Ayurveda Medical College", 0.5, 5.25, 12.333, 0.5,
font_size=14, bold=False, color=RGBColor(0xC8, 0xE6, 0xC9), align=PP_ALIGN.CENTER)
add_text(s, "Presented by: [Your Name] | Guide: [Guide Name]", 0.5, 5.75, 12.333, 0.5,
font_size=13, bold=False, color=RGBColor(0xC8, 0xE6, 0xC9), align=PP_ALIGN.CENTER)
add_rect(s, 0, 7.2, 13.333, 0.3, RGBColor(0x0A, 0x30, 0x0A))
add_text(s, "Ref: Sushruta Samhita | Charaka Samhita | Ashtanga Hridayam", 0.3, 7.21, 12.5, 0.28,
font_size=10, color=GOLD, align=PP_ALIGN.CENTER)
# ═══════════════════════════════════════════════════════════════════════════
# SLIDE 2 – CONTENTS
# ═══════════════════════════════════════════════════════════════════════════
s = prs.slides.add_slide(blank)
slide_bg(s, CREAM)
header_bar(s, "Table of Contents", "Overview of Topics Covered")
footer(s)
topics = [
"01. Introduction & Etymology",
"02. Historical Background – Classical References",
"03. Definition of Shad Kriya Kala",
"04. Importance / Significance",
"05. Stage 1: Sanchaya (Accumulation)",
"06. Stage 2: Prakopa (Aggravation)",
"07. Stage 3: Prasara (Spread)",
"08. Stage 4: Sthana Samshraya (Localization)",
"09. Stage 5: Vyakti (Manifestation)",
"10. Stage 6: Bheda (Complications)",
"11. Correlation with Samprapti & Panchakarma",
"12. Modern Correlation",
"13. Clinical Importance & Prevention",
"14. Summary & Conclusion",
"15. References",
]
col1 = topics[:8]
col2 = topics[8:]
tb = add_text(s, col1[0], 0.5, 1.5, 6.0, 0.42,
font_size=15, bold=False, color=DARK_GRAY)
for t in col1[1:]:
add_para(s, tb, t, font_size=15, color=DARK_GRAY, space_before=3)
tb2 = add_text(s, col2[0], 6.9, 1.5, 6.0, 0.42,
font_size=15, bold=False, color=DARK_GRAY)
for t in col2[1:]:
add_para(s, tb2, t, font_size=15, color=DARK_GRAY, space_before=3)
add_rect(s, 6.65, 1.4, 0.03, 5.6, MID_GREEN)
# ═══════════════════════════════════════════════════════════════════════════
# SLIDE 3 – INTRODUCTION & ETYMOLOGY
# ═══════════════════════════════════════════════════════════════════════════
s = prs.slides.add_slide(blank)
slide_bg(s, CREAM)
header_bar(s, "Introduction & Etymology", "Understanding the Term 'Shad Kriya Kala'")
footer(s)
add_rect(s, 0.4, 1.45, 12.5, 0.08, SAFFRON)
tb = add_text(s, "Etymology", 0.5, 1.6, 12.0, 0.45, font_size=20, bold=True, color=MID_GREEN)
add_para(s, tb,
"• Shad (षड्) = Six | Kriya (क्रिया) = Action / Treatment | Kala (काल) = Time / Stage",
font_size=17, color=DARK_GRAY)
add_para(s, tb,
"• Together: The SIX TIMELY STAGES of disease progression — identifying the right time for treatment",
font_size=17, color=DARK_GRAY, space_before=5)
add_para(s, tb,
"• Also called: Shatkriyakala, Shadkriyakala, Kriyakala",
font_size=17, color=MID_GRAY, italic=True, space_before=5)
add_rect(s, 0.4, 3.15, 12.5, 0.06, RGBColor(0xC8, 0xE6, 0xC9))
tb2 = add_text(s, "Core Concept", 0.5, 3.3, 12.0, 0.45, font_size=20, bold=True, color=MID_GREEN)
add_para(s, tb2,
"• In Ayurveda, health (Swasthya) = equilibrium of Dosha, Dhatu, Mala + balanced Mana, Atma, Indriya",
font_size=16, color=DARK_GRAY)
add_para(s, tb2,
"• Disease (Vyadhi) develops gradually through disturbance of Dosha–Dushya equilibrium",
font_size=16, color=DARK_GRAY, space_before=4)
add_para(s, tb2,
"• Shad Kriya Kala maps this gradual progression into 6 identifiable, treatable stages",
font_size=16, color=DARK_SAFFRON, bold=True, space_before=4)
add_para(s, tb2,
"• This framework enables the physician (Vaidya) to intervene at the EARLIEST possible point",
font_size=16, color=DARK_GRAY, space_before=4)
add_para(s, tb2,
"• Concept presented by Acharya Sushruta in Sushruta Samhita (Sutra Sthana) in context of Vrana Shopha",
font_size=14, color=MID_GRAY, italic=True, space_before=6)
# ═══════════════════════════════════════════════════════════════════════════
# SLIDE 4 – HISTORICAL BACKGROUND
# ═══════════════════════════════════════════════════════════════════════════
s = prs.slides.add_slide(blank)
slide_bg(s, CREAM)
header_bar(s, "Historical Background", "Classical References in Ayurvedic Literature")
footer(s)
refs = [
("Sushruta Samhita\n(Sutra Sthana)",
"Primary source of Shatkriyakala.\nDescribed in context of Vrana Shopha (wound inflammation).\nSushruta emphasizes 6 distinct Kriyas as opportunities for Chikitsa."),
("Charaka Samhita\n(Kiyantasheerashiya Adhyaya)",
"Describes three stages of Dosha Vruddhi.\nLinks Dosha accumulation to disease causation.\nFoundation for understanding Sanchaya–Prakopa sequence."),
("Ashtanga Hridayam\n(Doshabhediya Adhyaya)",
"Vagbhata elaborates Dosha Vruddhi stages.\nIntegrates concept with Tridosha theory.\nProvides clinical correlation of each stage."),
("Madhava Nidana &\nSharngadhara Samhita",
"Further elaboration of Samprapti in relation to Kriyakala.\nSharngadhara correlates stages with Panchakarma timing.\nUsed in classical teaching of Ayurvedic pathology."),
]
cols = [(0.4, 3.3), (7.0, 3.3)]
rows = [(1.4, refs[0], refs[1]), (4.65, refs[2], refs[3])]
for row_y, (left_title, left_body), (right_title, right_body) in [
(1.4, refs[0], refs[1]),
(4.55, refs[2], refs[3])
]:
for col_x, (rtitle, rbody) in [(0.4, (left_title, left_body)), (6.9, (right_title, right_body))]:
add_rect(s, col_x, row_y, 5.9, 2.9, RGBColor(0xE8, 0xF5, 0xE9))
add_rect(s, col_x, row_y, 5.9, 0.55, MID_GREEN)
add_text(s, rtitle, col_x+0.1, row_y+0.05, 5.7, 0.45,
font_size=15, bold=True, color=WHITE, align=PP_ALIGN.LEFT)
add_text(s, rbody, col_x+0.15, row_y+0.65, 5.6, 2.1,
font_size=13, color=DARK_GRAY, align=PP_ALIGN.LEFT)
# ═══════════════════════════════════════════════════════════════════════════
# SLIDE 5 – DEFINITION & OVERVIEW TABLE
# ═══════════════════════════════════════════════════════════════════════════
s = prs.slides.add_slide(blank)
slide_bg(s, CREAM)
header_bar(s, "Shad Kriya Kala – Definition & Overview", "The Six Stages at a Glance")
footer(s)
# Definition box
add_rect(s, 0.4, 1.4, 12.5, 0.9, LIGHT_GREEN)
add_rect(s, 0.4, 1.4, 0.07, 0.9, MID_GREEN)
add_text(s,
'"Kriyakala is the right time for intervention; Shatkriyakala describes the six sequential stages'
' through which a Dosha imbalance progresses into full disease — each stage representing a '
'distinct opportunity (Karma Avasara) for treatment."',
0.6, 1.45, 12.1, 0.8, font_size=14, italic=True, color=DARK_GRAY)
# Table header
cols_x = [0.4, 2.3, 4.5, 7.5, 10.6]
cols_w = [1.85, 2.15, 3.0, 3.05, 2.65]
headers = ["Stage", "Sanskrit Name", "Meaning", "Dosha Status", "Treatability"]
row_y_start = 2.5
add_rect(s, 0.4, row_y_start, 12.5, 0.42, DARK_GREEN)
for i, (hdr, cx, cw) in enumerate(zip(headers, cols_x, cols_w)):
add_text(s, hdr, cx+0.05, row_y_start+0.04, cw-0.1, 0.35,
font_size=13, bold=True, color=WHITE, align=PP_ALIGN.CENTER)
rows_data = [
("1", "Sanchaya", "Accumulation", "Doshas accumulate at their sites", "Easily curable (Sukhasadhya)"),
("2", "Prakopa", "Aggravation", "Doshas become excited & disturbed", "Easily curable"),
("3", "Prasara", "Spread", "Doshas overflow & spread through Srotas", "Curable (Kricchrasadhya)"),
("4", "Sthana Samshraya", "Localization", "Doshas lodge in weak Dhatu/organ", "Difficult (prodromal Sx appear)"),
("5", "Vyakti", "Manifestation","Full disease signs & symptoms appear", "Difficult / Sadhya"),
("6", "Bheda", "Complications","Chronic disease, complications, spread", "Asadhya / Yaapya"),
]
row_colors = [RGBColor(0xF1, 0xF8, 0xE9), RGBColor(0xE8, 0xF5, 0xE9)]
for ri, row in enumerate(rows_data):
ry = row_y_start + 0.42 + ri * 0.68
add_rect(s, 0.4, ry, 12.5, 0.67, row_colors[ri % 2])
for ci, (val, cx, cw) in enumerate(zip(row, cols_x, cols_w)):
tc = STAGE_COLORS[ri] if ci == 0 else DARK_GRAY
bold = ci in (0, 1)
add_text(s, val, cx+0.05, ry+0.04, cw-0.1, 0.6,
font_size=12, bold=bold, color=tc, align=PP_ALIGN.CENTER,
anchor=MSO_ANCHOR.MIDDLE)
# ═══════════════════════════════════════════════════════════════════════════
# SLIDE 6 – SIGNIFICANCE
# ═══════════════════════════════════════════════════════════════════════════
s = prs.slides.add_slide(blank)
slide_bg(s, CREAM)
header_bar(s, "Significance of Shad Kriya Kala", "Why This Concept Matters in Clinical Ayurveda")
footer(s)
points = [
("🌱 Early Diagnosis",
"Allows detection of Dosha imbalance long before symptoms appear (Sanchaya & Prakopa stages).\n"
"Analogous to primary prevention in modern preventive medicine."),
("⏱ Timely Intervention",
"Each stage = specific 'Karma Avasara' (opportunity for treatment).\n"
"Earlier intervention → simpler treatment, better prognosis."),
("🎯 Targeted Treatment",
"Guides selection of appropriate Chikitsa (Shamana vs. Shodhana).\n"
"Panchakarma indicated at specific stages (e.g., Shodhana at Prasara stage)."),
("🛡 Preventive Medicine",
"Core of Nidana Parivarjana (removal of causative factors).\n"
"Matches modern concept of primordial, primary, secondary and tertiary prevention."),
("🔬 Understanding Samprapti",
"Integral to understanding complete pathogenesis (Samprapti / Nidana Panchaka).\n"
"Links Nidana → Purvarupa → Rupa → Upadrava → Arishta."),
("📚 Examination Importance",
"High-yield PG topic in Roga Nidana, Kriya Sharir, Chikitsa Siddhanta.\n"
"Frequently asked in BAMS PG entrance & theory exams."),
]
for i, (title, body) in enumerate(points):
col = i % 2
row = i // 2
bx = 0.35 + col * 6.5
by = 1.45 + row * 1.9
add_rect(s, bx, by, 6.2, 1.75, RGBColor(0xE8, 0xF5, 0xE9))
add_rect(s, bx, by, 6.2, 0.48, STAGE_COLORS[i])
add_text(s, title, bx+0.1, by+0.05, 6.0, 0.4,
font_size=15, bold=True, color=WHITE, align=PP_ALIGN.LEFT)
add_text(s, body, bx+0.12, by+0.56, 5.95, 1.1,
font_size=13, color=DARK_GRAY, align=PP_ALIGN.LEFT)
# ═══════════════════════════════════════════════════════════════════════════
# SLIDES 7–12: ONE SLIDE PER STAGE
# ═══════════════════════════════════════════════════════════════════════════
stages = [
{
"num": 1, "name": "Sanchaya", "sanskrit": "सञ्चय",
"meaning": "Stage of Accumulation",
"color": STAGE_COLORS[0],
"dosha": "Doshas accumulate at their primary seats:\n • Vata → Large Intestine (Pakvashaya)\n • Pitta → Small Intestine (Grahani / Nabhi)\n • Kapha → Stomach (Amashaya)",
"causes": "Excessive intake of Dosha-aggravating foods, seasonal changes, improper lifestyle (Viruddha Ahara, Dinacharya errors)",
"symptoms": "Subtle discomfort, heaviness, mild aversion/craving (Agni disturbance)\nBody signals the individual through mild, non-specific signs\nNo distinct Rupa (manifestation) visible yet",
"treatment": "Nidana Parivarjana (remove causative factors)\nLanghan (fasting / dietary restriction)\nMild Deepana-Pachana (digestive stimulants)\nSimple dietary modifications\nPrognosis: Sukhasadhya (easily curable)",
"modern": "Analogous to Pre-pathological / Sub-clinical phase\nBiomarkers may be slightly altered\nNo clinical symptoms → missed in conventional medicine",
"prevention": "Primary Prevention (Health promotion & specific protection)"
},
{
"num": 2, "name": "Prakopa", "sanskrit": "प्रकोप",
"meaning": "Stage of Aggravation / Provocation",
"color": STAGE_COLORS[1],
"dosha": "Doshas become excited, agitated and begin to 'boil over':\n • Vata: intestinal distension, flatulence, constipation\n • Pitta: burning sensation, hyperacidity, increased heat\n • Kapha: nausea, heaviness, mucus accumulation",
"causes": "Continued exposure to causative factors\nFailure to act during Sanchaya stage\nSeasonal aggravation (Ritucharya non-compliance)",
"symptoms": "Ichcha (desire) and Dvesha (aversion) signs appear\nDosha-specific warning signals become noticeable\nPurvarupa (prodromal symptoms) begin to emerge",
"treatment": "Shamana Chikitsa (palliative treatment)\nDosha-specific diet & herbs\nRitukala Shodhana (seasonal purification)\nShodhana (Panchakarma) if required\nPrognosis: Sukhasadhya (still easily curable)",
"modern": "Risk factor stage / Subclinical disease\nLab investigations may reveal derangements\nComparable to metabolic syndrome before organ damage",
"prevention": "Primary Prevention (specific protection, early treatment)"
},
{
"num": 3, "name": "Prasara", "sanskrit": "प्रसर",
"meaning": "Stage of Spread / Overflow",
"color": STAGE_COLORS[2],
"dosha": "Aggravated Doshas overflow their home sites and spread through Srotas (body channels):\n • May spread singly or in combination (Samsarga / Sannipataja)\n • 15 types of Prasara based on Dosha combinations\n • Begins to affect other body systems",
"causes": "Untreated Prakopa\nSrotas obstruction (Sroto Dushti)\nMandagni (weak digestive fire) allowing Ama formation",
"symptoms": "Non-specific systemic symptoms emerge\nMalaise, generalized weakness\nPurvarupa of specific diseases may appear\nSroto-specific symptoms begin",
"treatment": "Shodhana therapy (Panchakarma) is MOST INDICATED at this stage\nVirechana (purgation) for Pitta-Prasara\nVasti (enema) for Vata-Prasara\nVamana (emesis) for Kapha-Prasara\nPrognosis: Kricchrasadhya (curable with effort)",
"modern": "Subclinical to early clinical disease\nAnalogous to systemic inflammatory spread\nMetastatic potential in oncology context",
"prevention": "Secondary Prevention (early diagnosis and prompt treatment)"
},
{
"num": 4, "name": "Sthana Samshraya", "sanskrit": "स्थान संश्रय",
"meaning": "Stage of Localization / Deposition",
"color": STAGE_COLORS[3],
"dosha": "Spread Doshas lodge in a particular weakened Dhatu or organ (Khavaigunya – specific vulnerability):\n • Tvacha: skin diseases (Kushtha, Vicharchika)\n • Sandhi: joint diseases (Amavata, Sandhivata)\n • Hridaya: cardiac disorders\n • Mutra Vaha Srotas: kidney diseases",
"causes": "Khavaigunya (organ/tissue weakness) from heredity, previous trauma, nutritional deficit, Pradoshaja factors",
"symptoms": "Prodromal symptoms (Purvarupa) of the specific disease appear\nLocalized pathology begins\nSpecific organ/tissue complaints arise\nDiagnosis of disease type becomes possible",
"treatment": "Dosha-Dushya Chikitsa (treat both Dosha & affected tissue)\nShodhana or Shamana depending on Bala\nSpecific Rasayana for Dhatu restoration\nPrognosis: Kashtasadhya (difficult treatment)\nPanchakarma: Targeted therapies (Shirodhara, Basti, etc.)",
"modern": "Prodromal/incubation phase of disease\nTissue-level pathological change begins\nComparable to early organ dysfunction",
"prevention": "Secondary Prevention (disability limitation begins)"
},
{
"num": 5, "name": "Vyakti", "sanskrit": "व्यक्ति",
"meaning": "Stage of Manifestation / Expression",
"color": STAGE_COLORS[4],
"dosha": "Full manifestation of disease with characteristic signs & symptoms (Rupa):\n • All Nidana Panchaka elements now evident\n • Diagnosis confirmed by Dosha + Dushya + Srotas identification\n • Disease is now named and defined",
"causes": "All prior stages left untreated\nStrong Nidana Sevana (causative factors)\nWeak Bala (immune status) of host",
"symptoms": "Cardinal features of the disease are present\nDiagnosis confirmed by Samprapti analysis\nLakshana (symptoms), Rupa (signs) fully expressed\nUpadrava (complications) may begin",
"treatment": "Comprehensive Tridosha-Dushya Chikitsa\nShodhana (if Bala permits) + Shamana\nAhara-Vihara correction\nPrognosis: Sadhya to Kashtasadhya\nRasayana post-treatment for restoration",
"modern": "Clinical disease phase\nFull diagnostic criteria met\nComparable to acute/subacute phase of disease\nConventional medicine starts here",
"prevention": "Tertiary Prevention (disability limitation & rehabilitation)"
},
{
"num": 6, "name": "Bheda", "sanskrit": "भेद",
"meaning": "Stage of Differentiation / Complications",
"color": STAGE_COLORS[5],
"dosha": "Disease becomes deeply seated, differentiated and complicated:\n • Sroto Dushti irreversible\n • Multiple Doshas vitiated (Sannipataja)\n • Dhatu Kshaya (tissue depletion)\n • Upadrava (complications) arise\n • New diseases may be triggered",
"causes": "Long-standing untreated disease\nAdhyashana, Viruddha Ahara, Mithya Yoga of Aushadha\nInadequate treatment or patient non-compliance",
"symptoms": "Distinct sub-types of disease manifest (Bheda = differentiation)\nChirakari (chronic) nature\nComplications: Upadrava and Arishta Lakshana\nMulti-system involvement",
"treatment": "Palliative / Supportive Chikitsa\nYaapya or Asadhya in severe cases\nRasayana and Vajikara for tissue restoration\nPranadharan (life-sustaining) therapies\nBheda stage = 'last chance' Chikitsa",
"modern": "Chronic / End-stage disease\nComplication stage in modern medicine\nIrreversible pathology, poor prognosis\nPalliative care indication",
"prevention": "Tertiary Prevention (Rehabilitation / Palliation)"
}
]
for stage in stages:
s = prs.slides.add_slide(blank)
slide_bg(s, CREAM)
# Header
add_rect(s, 0, 0, 13.333, 1.25, stage["color"])
badge_txt = f"Stage {stage['num']} of 6"
add_text(s, badge_txt, 0.25, 0.05, 2.5, 0.4,
font_size=12, bold=True, color=RGBColor(0xFF,0xFF,0xCC), align=PP_ALIGN.LEFT)
add_text(s, f"{stage['name']} ({stage['sanskrit']})", 0.25, 0.42, 9.0, 0.65,
font_size=28, bold=True, color=WHITE, align=PP_ALIGN.LEFT)
add_text(s, stage["meaning"], 0.25, 0.9, 9.0, 0.35,
font_size=16, italic=True, color=RGBColor(0xFF,0xFF,0xCC), align=PP_ALIGN.LEFT)
# Stage number badge
add_rect(s, 11.0, 0.1, 2.1, 1.05, RGBColor(
min(stage["color"].rgb >> 16, 200),
min((stage["color"].rgb >> 8) & 0xFF, 200),
min(stage["color"].rgb & 0xFF, 200)))
add_text(s, str(stage["num"]), 11.0, 0.1, 2.1, 1.05,
font_size=52, bold=True, color=WHITE, align=PP_ALIGN.CENTER, anchor=MSO_ANCHOR.MIDDLE)
# Content boxes
box_defs = [
(0.3, 1.35, 4.0, "Dosha Status", stage["dosha"], DARK_GREEN),
(4.55, 1.35, 4.0, "Causes", stage["causes"], RGBColor(0x6D,0x1A,0x1A)),
(8.8, 1.35, 4.3, "Symptoms / Signs", stage["symptoms"], RGBColor(0x1A,0x3A,0x6D)),
(0.3, 4.25, 5.9, "Treatment (Chikitsa)", stage["treatment"], MID_GREEN),
(6.5, 4.25, 3.5, "Modern Correlation", stage["modern"], RGBColor(0x37,0x47,0x4F)),
(10.25,4.25, 2.8, "Prevention Level", stage["prevention"],RGBColor(0x5D,0x40,0x37)),
]
for bx, by, bw, btitle, bbody, bcolor in box_defs:
bh = 2.7 if by > 3 else 2.75
add_rect(s, bx, by, bw, bh, RGBColor(0xF5,0xF5,0xF5))
add_rect(s, bx, by, bw, 0.38, bcolor)
add_rect(s, bx, by, 0.05, bh, bcolor)
add_text(s, btitle, bx+0.1, by+0.04, bw-0.2, 0.32,
font_size=12, bold=True, color=WHITE, align=PP_ALIGN.LEFT)
add_text(s, bbody, bx+0.1, by+0.44, bw-0.2, bh-0.5,
font_size=11, color=DARK_GRAY, align=PP_ALIGN.LEFT)
footer(s)
# ═══════════════════════════════════════════════════════════════════════════
# SLIDE 13 – FLOW DIAGRAM (text-based)
# ═══════════════════════════════════════════════════════════════════════════
s = prs.slides.add_slide(blank)
slide_bg(s, CREAM)
header_bar(s, "Disease Progression Flow", "Shad Kriya Kala – Sequential Pathway")
footer(s)
add_text(s, "NIDANA SEVANA (Causative Factors)", 3.9, 1.35, 5.5, 0.5,
font_size=15, bold=True, color=WHITE, align=PP_ALIGN.CENTER, anchor=MSO_ANCHOR.MIDDLE)
add_rect(s, 3.9, 1.35, 5.5, 0.45, DARK_GREEN)
stage_flow = [
("1. SANCHAYA", "Dosha accumulation at home sites", STAGE_COLORS[0]),
("2. PRAKOPA", "Doshas aggravated & excited", STAGE_COLORS[1]),
("3. PRASARA", "Overflow & systemic spread", STAGE_COLORS[2]),
("4. STHANA SAMSHRAYA","Localization in weak Dhatu", STAGE_COLORS[3]),
("5. VYAKTI", "Full disease manifestation", STAGE_COLORS[4]),
("6. BHEDA", "Complications & differentiation", STAGE_COLORS[5]),
]
for i, (sname, sdesc, scolor) in enumerate(stage_flow):
sx = 0.35 + i * 2.12
# box
add_rect(s, sx, 2.0, 2.0, 1.0, scolor)
add_text(s, sname, sx+0.05, 2.02, 1.9, 0.45,
font_size=11, bold=True, color=WHITE, align=PP_ALIGN.CENTER)
add_text(s, sdesc, sx+0.05, 2.47, 1.9, 0.48,
font_size=9.5, color=WHITE, align=PP_ALIGN.CENTER)
# arrow (not last)
if i < 5:
add_rect(s, sx+2.01, 2.35, 0.1, 0.3, DARK_GRAY)
# Treatment bars
treat_data = [
(0.35, "Shamana / Nidana Parivarjana", STAGE_COLORS[0], 4.1, "EASY TO TREAT"),
(4.55, "Shodhana (Panchakarma) IDEAL", STAGE_COLORS[2], 4.1, "TREATABLE"),
(8.75, "Palliative / Rasayana", STAGE_COLORS[4], 4.45, "DIFFICULT"),
]
add_text(s, "Treatment Opportunity at Each Stage:", 0.35, 3.25, 12.5, 0.35,
font_size=14, bold=True, color=DARK_GREEN)
for tx, ttext, tcolor, tw, tlabel in treat_data:
add_rect(s, tx, 3.65, tw, 0.55, tcolor)
add_text(s, ttext, tx+0.1, 3.67, tw-0.2, 0.52,
font_size=12, bold=True, color=WHITE, align=PP_ALIGN.CENTER,
anchor=MSO_ANCHOR.MIDDLE)
# Prognosis bar
add_rect(s, 0.35, 4.35, 12.6, 0.5, RGBColor(0xE8, 0xF5, 0xE9))
prog_labels = ["Sukhasadhya", "Sukhasadhya", "Kricchrasadhya", "Kashtasadhya", "Sadhya/Kashtasadhya", "Asadhya/Yaapya"]
prog_colors = [STAGE_COLORS[i] for i in range(6)]
for i, (pl, pc) in enumerate(zip(prog_labels, prog_colors)):
add_text(s, pl, 0.35+i*2.12, 4.38, 2.0, 0.42,
font_size=9, bold=True, color=pc, align=PP_ALIGN.CENTER)
add_text(s, "← PROGNOSIS →", 0.35, 4.88, 12.6, 0.3,
font_size=10, italic=True, color=MID_GRAY, align=PP_ALIGN.CENTER)
# ═══════════════════════════════════════════════════════════════════════════
# SLIDE 14 – SAMPRAPTI & PANCHAKARMA CORRELATION
# ═══════════════════════════════════════════════════════════════════════════
s = prs.slides.add_slide(blank)
slide_bg(s, CREAM)
header_bar(s, "Correlation with Samprapti & Panchakarma",
"Integrating Shad Kriya Kala with Classical Ayurvedic Pathology")
footer(s)
# Left box – Samprapti
add_rect(s, 0.3, 1.4, 5.9, 5.6, RGBColor(0xE8, 0xF5, 0xE9))
add_rect(s, 0.3, 1.4, 5.9, 0.5, MID_GREEN)
add_text(s, "Samprapti (Nidana Panchaka) Correlation", 0.4, 1.42, 5.7, 0.45,
font_size=14, bold=True, color=WHITE)
sp_data = [
("Nidana (Causative factors)", "→ Triggers Sanchaya"),
("Purvarupa (Prodromal symptoms)", "→ Sthana Samshraya stage"),
("Rupa (Cardinal signs & symptoms)", "→ Vyakti stage"),
("Samprapti (Pathogenesis)", "→ Entire Shad Kriya Kala flow"),
("Upashaya (Diagnostic test)", "→ Useful in Vyakti & Bheda"),
("Nidana Parivarjana", "→ Sanchaya & Prakopa"),
("Dosha-Dushya Sammurchana", "→ Begins at Sthana Samshraya"),
("Srotas involvement", "→ Prasara & Sthana Samshraya"),
]
tb = add_text(s, sp_data[0][0], 0.4, 1.98, 5.7, 0.4, font_size=12, bold=True, color=DARK_GRAY)
add_para(s, tb, sp_data[0][1], font_size=12, color=MID_GREEN, italic=True)
for item, corr in sp_data[1:]:
add_para(s, tb, "\n" + item, font_size=12, bold=True, color=DARK_GRAY, space_before=4)
add_para(s, tb, corr, font_size=12, color=MID_GREEN, italic=True)
# Right box – Panchakarma
add_rect(s, 6.5, 1.4, 6.5, 5.6, RGBColor(0xFFF8E1))
add_rect(s, 6.5, 1.4, 6.5, 0.5, SAFFRON)
add_text(s, "Panchakarma Timing & Shad Kriya Kala", 6.6, 1.42, 6.3, 0.45,
font_size=14, bold=True, color=WHITE)
pk_data = [
("Sanchaya", "Deepana-Pachana only\nNo Panchakarma needed"),
("Prakopa", "Snehana + Svedana (preparation)\nRitukala Shodhana advisable"),
("Prasara", "IDEAL for Panchakarma\nVamana / Virechana / Vasti as per Dosha"),
("Sthana Samshraya", "Shodhana + targeted Karma\nShirodhara, Kati Basti, Janu Basti"),
("Vyakti", "Shamana primarily\nShodhana only if Bala permits"),
("Bheda", "Rasayana + Palliative only\nBrihmana (nourishing) therapies"),
]
tb2 = add_text(s, "Stage → Panchakarma Indication:", 6.6, 1.98, 6.2, 0.4,
font_size=12, bold=True, color=DARK_SAFFRON)
for stage_name, pk_text in pk_data:
add_para(s, tb2, f"\n{stage_name}:", font_size=12, bold=True,
color=DARK_GREEN, space_before=5)
add_para(s, tb2, pk_text, font_size=11, color=DARK_GRAY)
# ═══════════════════════════════════════════════════════════════════════════
# SLIDE 15 – MODERN CORRELATION
# ═══════════════════════════════════════════════════════════════════════════
s = prs.slides.add_slide(blank)
slide_bg(s, CREAM)
header_bar(s, "Modern Medical Correlation",
"Bridging Shad Kriya Kala with Contemporary Pathophysiology")
footer(s)
modern_data = [
("Sanchaya", "Pre-pathological / Subclinical Phase",
"Biomarker alterations only\nNo clinical signs\nScreening catches at this stage"),
("Prakopa", "Risk Factor / Preclinical Stage",
"Lab changes detectable\nMetabolic syndrome\nSub-threshold pathology"),
("Prasara", "Subclinical to Early Clinical",
"Systemic inflammatory spread\nEndothelial dysfunction\nEarly multi-system involvement"),
("Sthana Samshraya", "Prodromal / Incubation Phase",
"Organ-level pathology begins\nTissue damage detectable on imaging\nNon-specific systemic symptoms"),
("Vyakti", "Clinical Disease Phase",
"Full diagnostic criteria met\nImagine & labs confirm disease\nAcute/subacute presentation"),
("Bheda", "Chronic / Complications Stage",
"End-organ damage\nIrreversible pathology\nPalliative care stage"),
]
col_headers = ["Kriya Kala", "Modern Phase", "Modern Features"]
# Table header
hwidths = [2.0, 3.5, 6.8]
hx = [0.3, 2.4, 6.0]
add_rect(s, 0.3, 1.4, 12.8, 0.42, DARK_GREEN)
for h, hcx, hw in zip(col_headers, hx, hwidths):
add_text(s, h, hcx+0.05, 1.42, hw-0.1, 0.37,
font_size=14, bold=True, color=WHITE, align=PP_ALIGN.CENTER)
row_colors_m = [RGBColor(0xF1,0xF8,0xE9), RGBColor(0xE8,0xF5,0xE9)]
for ri, (sk, mph, mfeat) in enumerate(modern_data):
ry = 1.82 + ri * 0.88
add_rect(s, 0.3, ry, 12.8, 0.87, row_colors_m[ri % 2])
add_rect(s, 0.3, ry, 0.05, 0.87, STAGE_COLORS[ri])
add_text(s, sk, hx[0]+0.08, ry+0.06, hwidths[0]-0.15, 0.75,
font_size=13, bold=True, color=STAGE_COLORS[ri], align=PP_ALIGN.CENTER,
anchor=MSO_ANCHOR.MIDDLE)
add_text(s, mph, hx[1]+0.05, ry+0.06, hwidths[1]-0.1, 0.75,
font_size=12, bold=False, color=DARK_GRAY, align=PP_ALIGN.LEFT,
anchor=MSO_ANCHOR.MIDDLE)
add_text(s, mfeat, hx[2]+0.05, ry+0.04, hwidths[2]-0.1, 0.82,
font_size=11, color=MID_GRAY, align=PP_ALIGN.LEFT)
# ═══════════════════════════════════════════════════════════════════════════
# SLIDE 16 – CLINICAL IMPORTANCE & PREVENTION LEVELS
# ═══════════════════════════════════════════════════════════════════════════
s = prs.slides.add_slide(blank)
slide_bg(s, CREAM)
header_bar(s, "Clinical Importance & Prevention Levels",
"Practical Applications for the Ayurvedic Physician")
footer(s)
# Prevention table
add_rect(s, 0.3, 1.4, 12.7, 0.42, DARK_GREEN)
for h, cx, cw in zip(["Prevention Level","Kriya Kala Stage","Ayurvedic Intervention","Goal"],
[0.3,2.3,5.0,9.4],[1.9,2.7,4.3,3.7]):
add_text(s, h, cx+0.05, 1.42, cw-0.1, 0.37,
font_size=13, bold=True, color=WHITE, align=PP_ALIGN.CENTER)
prev_rows = [
("Primordial Prevention", "Before Sanchaya", "Swasthavritta, Dinacharya, Ritucharya, Sadvritta", "Prevent Dosha imbalance"),
("Primary Prevention", "Sanchaya, Prakopa", "Nidana Parivarjana, Deepana-Pachana, seasonal Shodhana", "Arrest early imbalance"),
("Secondary Prevention", "Prasara, Sthana Samshraya","Panchakarma, Shodhana, targeted Aushadha", "Stop disease progression"),
("Tertiary Prevention", "Vyakti, Bheda", "Rasayana, Vajikara, palliative Chikitsa, Yaapya management", "Limit disability"),
]
prev_colors = [MID_GREEN, STAGE_COLORS[0], STAGE_COLORS[2], STAGE_COLORS[4]]
for ri, (pl, ks, ai, goal) in enumerate(prev_rows):
ry = 1.82 + ri * 1.05
rc = RGBColor(0xF1,0xF8,0xE9) if ri%2==0 else LIGHT_GREEN
add_rect(s, 0.3, ry, 12.7, 1.02, rc)
add_rect(s, 0.3, ry, 0.06, 1.02, prev_colors[ri])
add_text(s, pl, 0.38, ry+0.08, 1.85, 0.88,
font_size=12, bold=True, color=prev_colors[ri], align=PP_ALIGN.CENTER,
anchor=MSO_ANCHOR.MIDDLE)
add_text(s, ks, 2.37, ry+0.08, 2.58, 0.88,
font_size=12, bold=False, color=DARK_GRAY, align=PP_ALIGN.CENTER,
anchor=MSO_ANCHOR.MIDDLE)
add_text(s, ai, 5.07, ry+0.05, 4.27, 0.92,
font_size=11, color=DARK_GRAY, align=PP_ALIGN.LEFT)
add_text(s, goal, 9.47, ry+0.08, 3.5, 0.88,
font_size=11, color=MID_GRAY, italic=True, align=PP_ALIGN.LEFT,
anchor=MSO_ANCHOR.MIDDLE)
add_text(s, "Key Clinical Pearl: The earlier the stage identified, the simpler the treatment and better the prognosis.",
0.3, 6.1, 12.7, 0.45, font_size=13, bold=True, italic=True,
color=DARK_SAFFRON, align=PP_ALIGN.CENTER)
# ═══════════════════════════════════════════════════════════════════════════
# SLIDE 17 – SUMMARY
# ═══════════════════════════════════════════════════════════════════════════
s = prs.slides.add_slide(blank)
slide_bg(s, CREAM)
header_bar(s, "Summary", "Shad Kriya Kala – Key Takeaways")
footer(s)
summary_pts = [
"Shad Kriya Kala = 6 sequential stages of disease progression in Ayurveda (Sushruta Samhita – primary source)",
"Kriya = Treatment / Kala = Timely moment → the framework identifies WHEN to intervene in disease",
"Stage 1 (Sanchaya) & Stage 2 (Prakopa): Doshas at their home → Sukhasadhya, simplest to treat",
"Stage 3 (Prasara): Overflow stage → IDEAL time for Panchakarma / Shodhana therapy",
"Stage 4 (Sthana Samshraya): Localization + Prodromal symptoms → Shodhana + targeted Karma",
"Stage 5 (Vyakti): Full disease expression → Tridosha-Dushya Chikitsa + Shamana",
"Stage 6 (Bheda): Complications / Chronic → Yaapya / Asadhya → Rasayana + Palliative",
"Each stage = a Karma Avasara (window of opportunity) for therapeutic intervention",
"Correlates with Samprapti (Nidana Panchaka), Panchakarma timing, and modern prevention levels",
"Central to BAMS PG topics: Roga Nidana, Kriya Sharir, Chikitsa Siddhanta, Panchakarma",
]
for i, pt in enumerate(summary_pts):
col = i % 2
row = i // 2
bx = 0.3 + col * 6.5
by = 1.4 + row * 1.1
add_rect(s, bx, by, 6.3, 1.0, RGBColor(0xF1,0xF8,0xE9) if col==0 else RGBColor(0xFFF8E1))
add_rect(s, bx, by, 0.08, 1.0, STAGE_COLORS[min(i,5)])
add_text(s, f"{'●'} {pt}", bx+0.15, by+0.05, 6.1, 0.9,
font_size=12, color=DARK_GRAY, align=PP_ALIGN.LEFT)
# ═══════════════════════════════════════════════════════════════════════════
# SLIDE 18 – CONCLUSION
# ═══════════════════════════════════════════════════════════════════════════
s = prs.slides.add_slide(blank)
slide_bg(s, DARK_GREEN)
add_rect(s, 0, 0, 13.333, 7.5, DARK_GREEN)
add_rect(s, 0, 1.6, 13.333, 0.08, SAFFRON)
add_rect(s, 0, 5.8, 13.333, 0.08, SAFFRON)
add_text(s, "Conclusion", 0.5, 0.3, 12.333, 0.9,
font_size=36, bold=True, color=GOLD, align=PP_ALIGN.CENTER)
conclusion_text = (
"Shad Kriya Kala is not merely an academic concept — it is a living clinical tool.\n\n"
"By understanding the six progressive stages of disease (Sanchaya → Prakopa → Prasara → "
"Sthana Samshraya → Vyakti → Bheda), the Ayurvedic physician gains the ability to "
"intervene at the right moment, with the right treatment, at the right intensity.\n\n"
"This framework underscores Ayurveda's greatest strength: PREVENTION and EARLY INTERVENTION.\n\n"
"In a world where modern medicine often acts at the Vyakti or Bheda stage, "
"Ayurveda's Shad Kriya Kala empowers action from the very first Sanchaya moment — "
"making it a cornerstone of truly preventive, personalized, and holistic medicine."
)
add_text(s, conclusion_text, 1.0, 1.8, 11.333, 3.85,
font_size=15, color=WHITE, align=PP_ALIGN.LEFT)
add_text(s, '"स्वस्थस्य स्वास्थ्य रक्षणं आतुरस्य विकार प्रशमनं च"',
1.0, 5.95, 11.333, 0.55,
font_size=14, bold=True, italic=True, color=GOLD, align=PP_ALIGN.CENTER)
add_text(s, "\"Preserve the health of the healthy; cure the disease of the sick.\" — Charaka Samhita",
1.0, 6.48, 11.333, 0.4,
font_size=12, italic=True, color=RGBColor(0xC8,0xE6,0xC9), align=PP_ALIGN.CENTER)
# ═══════════════════════════════════════════════════════════════════════════
# SLIDE 19 – REFERENCES
# ═══════════════════════════════════════════════════════════════════════════
s = prs.slides.add_slide(blank)
slide_bg(s, CREAM)
header_bar(s, "References", "Classical & Contemporary Sources")
footer(s)
refs_list = [
"1. Sushruta Samhita – Sutra Sthana, Vranasopha Adhyaya (primary source for Shatkriyakala)",
"2. Charaka Samhita – Kiyantasheerashiya Adhyaya (Vimana Sthana, Ch. 8)",
"3. Ashtanga Hridayam – Doshabhediya Adhyaya; Vagbhata's commentary",
"4. Madhava Nidana – Samprapti concepts in classical pathology",
"5. Sharngadhara Samhita – Panchakarma correlation with disease stages",
"6. Agnivesha (Charaka) – Nidana Panchaka and Samprapti Vighatana",
"7. Dalhana's commentary on Sushruta Samhita (Nibandha Sangraha)",
"8. Sharma PV – Charaka Samhita (English translation), Chaukhamba Sanskrit Pratishthan",
"9. Lad V – Textbook of Ayurveda, Ayurvedic Press, USA",
"10. Murthy KRS – Ashtanga Hridayam (English), Krishnadas Academy",
"11. IJRPR Vol 6 Issue 7 (2025) – 'The Six Stages of Disease Progression in Ayurveda'",
"12. IJBPSA (2025) – 'Understanding Kriyakala: The Stages of Disease Progression'",
"13. JAIMS (2026) – 'Concept and Significance of Shatkriyakala', jaims.in",
"14. Trikamji YT (ed.) – Charaka Samhita with Ayurveda-Dipika commentary, Chaukhamba Sanskrit Sansthan",
]
tb = add_text(s, refs_list[0], 0.4, 1.42, 12.5, 0.38,
font_size=12, color=DARK_GRAY)
for r in refs_list[1:]:
add_para(s, tb, r, font_size=12, color=DARK_GRAY, space_before=4)
# ═══════════════════════════════════════════════════════════════════════════
# SLIDE 20 – THANK YOU
# ═══════════════════════════════════════════════════════════════════════════
s = prs.slides.add_slide(blank)
slide_bg(s, DARK_GREEN)
add_rect(s, 0, 0, 13.333, 7.5, DARK_GREEN)
add_rect(s, 1.5, 3.0, 10.333, 0.08, SAFFRON)
add_text(s, "🙏 Thank You", 0.5, 1.2, 12.333, 1.5,
font_size=54, bold=True, color=GOLD, align=PP_ALIGN.CENTER)
add_text(s, "धन्यवाद", 0.5, 2.65, 12.333, 0.8,
font_size=28, bold=False, italic=True, color=WHITE, align=PP_ALIGN.CENTER)
add_text(s, "Questions & Discussion Welcome", 0.5, 3.3, 12.333, 0.6,
font_size=20, italic=True, color=GOLD, align=PP_ALIGN.CENTER)
add_text(s, "Presented by: [Your Name] | BAMS PG Seminar | [Year]", 0.5, 4.2, 12.333, 0.5,
font_size=14, color=RGBColor(0xC8,0xE6,0xC9), align=PP_ALIGN.CENTER)
add_text(s, "Department of Roga Nidana / Kriya Sharir", 0.5, 4.7, 12.333, 0.45,
font_size=13, color=RGBColor(0xC8,0xE6,0xC9), align=PP_ALIGN.CENTER)
add_text(s, '"आरोग्यं परमं भाग्यम्" — Health is the greatest fortune',
0.5, 5.6, 12.333, 0.55,
font_size=14, italic=True, color=GOLD, align=PP_ALIGN.CENTER)
add_rect(s, 0, 7.2, 13.333, 0.3, RGBColor(0x0A,0x30,0x0A))
add_text(s, "BAMS PG Presentation | Shad Kriya Kala", 0.3, 7.21, 12.5, 0.28,
font_size=10, color=GOLD, align=PP_ALIGN.CENTER)
# ─── SAVE ────────────────────────────────────────────────────────────────────
out = "/tmp/workspace/shad-kriya-kala-ppt/Shad_Kriya_Kala_BAMS_PG.pptx"
buf = BytesIO()
prs.save(buf)
with open(out, "wb") as f:
f.write(buf.getvalue())
print(f"Saved: {out} ({len(buf.getvalue())//1024} KB) Slides: {len(prs.slides)}")
cd /tmp/workspace/shad-kriya-kala-ppt && python build_ppt.py
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
cd /tmp/workspace/shad-kriya-kala-ppt && python build_ppt.py
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
cd /tmp/workspace/shad-kriya-kala-ppt && python build_ppt.py 2>&1
grep -n "0xFFF8E1\|0xFFF" /tmp/workspace/shad-kriya-kala-ppt/build_ppt.py
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
cd /tmp/workspace/shad-kriya-kala-ppt && python build_ppt.py 2>&1
Shad Kriya Kala BAMS PG
Presentation · PPTX
| Slide | Content |
|---|---|
| 1 | Title Slide – Sanskrit title, department, presenter info |
| 2 | Table of Contents – 15 topics listed |
| 3 | Introduction & Etymology – Shad / Kriya / Kala breakdown, core Ayurvedic concept |
| 4 | Historical Background – Sushruta Samhita, Charaka Samhita, Ashtanga Hridayam, Madhava Nidana |
| 5 | Definition & Overview Table – All 6 stages at a glance with treatability |
| 6 | Significance – 6 themed boxes: early diagnosis, timely intervention, Panchakarma, prevention, Samprapti, exam importance |
| 7–12 | One full slide per stage (Sanchaya, Prakopa, Prasara, Sthana Samshraya, Vyakti, Bheda) – each with: Dosha status, causes, symptoms, treatment, modern correlation, prevention level |
| 13 | Disease Progression Flow Diagram – visual arrow chain of all 6 stages + prognosis bar |
| 14 | Samprapti & Panchakarma Correlation – Nidana Panchaka links + Karma timing per stage |
| 15 | Modern Medical Correlation – table mapping each stage to a modern disease phase |
| 16 | Clinical Importance & Prevention Levels – Primordial → Primary → Secondary → Tertiary |
| 17 | Summary – 10 key takeaways |
| 18 | Conclusion – with Charaka Samhita quote |
| 19 | References – 14 classical + contemporary sources |
| 20 | Thank You – with Sanskrit shloka |
With shloka and don't add last refrence page
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
cd /tmp/workspace/shad-kriya-kala-ppt && python build_ppt.py 2>&1
Shad Kriya Kala BAMS PG v2
Presentation · PPTX
| Slide | Shloka |
|---|---|
| Introduction | "क्रियाकालं तु सम्यक् ज्ञात्वा चिकित्सेत् भिषग्वरः..." - The physician who knows the right Kriyakala easily cures the disease |
| Sanchaya | "सञ्चयः स्वस्थान एव दोषाणां वृद्धिरुच्यते" - Accumulation of Doshas at their own seats — Su. Su. 21 |
| Prakopa | "प्रकोपः स्वस्थानाद् दोषाणां चलनमुच्यते" - Movement of Doshas from their sites |
| Prasara | "प्रसरः सर्वशरीरं दोषाणां परिधावनम्" - Spreading of Doshas throughout the body |
| Sthana Samshraya | "स्थानसंश्रयः खवैगुण्यात् दोष-दूष्यसमूर्च्छनम्" - Localization due to Khavaigunya |
| Vyakti | "व्यक्तिः रूपाणां प्रादुर्भावो व्याधेः स्वलक्षणैः" - Manifestation with characteristic signs |
| Bheda | "भेदः साध्यासाध्यविभागो व्याधेः उपद्रवैः सह" - Differentiation with complications |
| Conclusion | "स्वस्थस्य स्वास्थ्य रक्षणं आतुरस्य विकार प्रशमनं च" — Charaka Samhita |
Take refrence from kriya shsira part 1 book by Dr Subhash ranade
Dr Subhash Ranade "Kriya Sharir Part 1" Shad Kriya Kala book content chapters
https://www.wjpmr.com/download/article/109052023/1685786583.…
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
cd /tmp/workspace/shad-kriya-kala-ppt && python build_ppt.py 2>&1
Shad Kriya Kala Ranade Ref
Presentation · PPTX
| Where | Change |
|---|---|
| Every slide footer | "Ref: Kriya Sharir Part 1 – Dr. Subhash Ranade & Dr. Swati Chobhe | Proficient Publishing House" |
| Title slide | Bottom bar now cites Ranade's book |
| Historical Background (Slide 4) | 4th card replaced with a dedicated Dr. Subhash Ranade box — describes the book as primary BAMS NCISM curriculum textbook, Proficient Publishing House |
| Definition box (Slide 5) | Definition reworded as per Ranade's formulation with direct attribution |
| Introduction shloka | Cited as "Ranade: Kriya Sharir Part 1, Introduction to Shatkriyakala" |
| All 6 stage shlokas | Each now ends with "— Ranade: Kriya Sharir Part 1, Ch. Shatkriyakala (classical source)" |
| Conclusion slide | Opens with "As described by Dr. Subhash Ranade in Kriya Sharir Part 1..." and includes Ranade's emphasis on preventive application |
| Thank You slide | Footer cites the book |
Mmremove conclusion page and write presenter name as shivam p Dubey and guided by Dr Sunil S
"SLIDE 18 – CONCLUSION" in ~/shad-kriya-kala-ppt
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
cd /tmp/workspace/shad-kriya-kala-ppt && python build_ppt.py 2>&1
Shad Kriya Kala Final
Presentation · PPTX
Also add Department as kriya sharira and make it UG scholer instead of Pg scholor
grep -n "PG\|Department\|Kriya Sharir\|Roga Nidana" /tmp/workspace/shad-kriya-kala-ppt/build_ppt.py | head -40
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'
~/shad-kriya-kala-ppt/build_ppt.py
Successfully replaced 1 instance(s) of the string in '/tmp/workspace/shad-kriya-kala-ppt/build_ppt.py'