Is resume me sub me Microbiology Pathology Prevention medicine Environmental studies Radiation physics Add kar do
~/
PDF editing add text python pypdf reportlab best practice
~/attachments/3a31bdf2-1ae7-412c-a1f4-cef12cd5c284
mkdir -p "/tmp/workspace/resume-krishna/output" python - <<'PY' import fitz p='/tmp/workspace/attachments/3a31bdf2-1ae7-412c-a1f4-cef12cd5c284/Resumé Krishna .pdf' doc=fitz.open(p) print('pages',len(doc)) for i,page in enumerate(doc): print('\nPAGE',i+1,'size',page.rect) print(page.get_text('text')) pix=page.get_pixmap(matrix=fitz.Matrix(1.5,1.5),alpha=False) pix.save(f'/tmp/workspace/resume-krishna/output/page_{i+1}.png') PY
~/resume-krishna
python -c "import fitz; p='/tmp/workspace/attachments/3a31bdf2-1ae7-412c-a1f4-cef12cd5c284/Resumé Krishna .pdf'; d=fitz.open(p); print('pages',len(d)); [print('PAGE',i+1, repr(x.get_text('text'))) for i,x in enumerate(d)]"
python -c "from pypdf import PdfReader; p='/tmp/workspace/attachments/3a31bdf2-1ae7-412c-a1f4-cef12cd5c284/Resumé Krishna .pdf'; r=PdfReader(p); print(len(r.pages)); [print('PAGE', i+1, '\\n', pg.extract_text()) for i,pg in enumerate(r.pages)]"
python - <<'PY' import pdfplumber p='/tmp/workspace/attachments/3a31bdf2-1ae7-412c-a1f4-cef12cd5c284/Resumé Krishna .pdf' with pdfplumber.open(p) as pdf: page=pdf.pages[0] print(page.width,page.height) for w in page.extract_words(): if w['text'] in ['AREAS','KEY','Radiology','Anatomy','Physiology','Basic','Radiological','Fundamentals']: print(w) PY
python - <<'PY' from pypdf import PdfReader, PdfWriter from reportlab.pdfgen import canvas from reportlab.lib.colors import white, HexColor from io import BytesIO src='/tmp/workspace/attachments/3a31bdf2-1ae7-412c-a1f4-cef12cd5c284/Resumé Krishna .pdf' out='/tmp/workspace/resume-krishna/output/Krishna_Arya_Updated_Resume.pdf' reader=PdfReader(src) page=reader.pages[0] w=float(page.mediabox.width); h=float(page.mediabox.height) packet=BytesIO() c=canvas.Canvas(packet,pagesize=(w,h)) # Cover only left teaching-interest region, retaining the right key-skills column. c.setFillColor(white) c.rect(44, h-542, 245, 126, stroke=0, fill=1) # Recreate left section in the document's visual style. c.setFillColor(HexColor('#1F1F1F')) c.setFont('Helvetica-Bold',10.5) c.drawString(49.52, h-417.69, 'AREAS OF TEACHING INTEREST') items=['Radiology','Human Anatomy','Human Physiology','Basic Medical Imaging','Radiological Anatomy','Fundamentals of Diagnostic Imaging','Microbiology','Pathology','Preventive Medicine','Environmental Studies','Radiation Physics'] # bullet character represented with a filled round bullet for consistent PDF font support left_x,right_x=57,174 start_top=438.5 row_gap=17.7 for i, item in enumerate(items): col=i//6 row=i%6 x=left_x if col==0 else right_x y=h-(start_top+row*row_gap) c.setFillColor(HexColor('#1F1F1F')) c.setFont('Helvetica',8.7) c.drawString(x-9,y,'•') c.drawString(x,y,item) c.save() packet.seek(0) overlay=PdfReader(packet).pages[0] page.merge_page(overlay) writer=PdfWriter(); writer.add_page(page) with open(out,'wb') as f: writer.write(f) print(out) PY python - <<'PY' from pypdf import PdfReader p='/tmp/workspace/resume-krishna/output/Krishna_Arya_Updated_Resume.pdf' r=PdfReader(p) print('pages=',len(r.pages)) t=r.pages[0].extract_text() print(t[t.find('AREAS OF TEACHING INTEREST'):t.find('KEY SKILLS')]) PY ls -lh "/tmp/workspace/resume-krishna/output/Krishna_Arya_Updated_Resume.pdf"
python - <<'PY' import pdfplumber p='/tmp/workspace/resume-krishna/output/Krishna_Arya_Updated_Resume.pdf' with pdfplumber.open(p) as pdf: t=pdf.pages[0].extract_text() print(t[t.find('AREAS OF TEACHING INTEREST'):t.find('KEY SKILLS')]) PY
Krishna Arya Updated Resume
PDF Document · PDF
Writing sahi karo blur a raha hai
~/
ReportLab vector text PDF clarity guide
fc-list | head -20; python - <<'PY' from pypdf import PdfReader p='/tmp/workspace/attachments/3a31bdf2-1ae7-412c-a1f4-cef12cd5c284/Resumé Krishna .pdf' r=PdfReader(p) print(r.pages[0]['/Resources']['/Font']) PY
python - <<'PY' from reportlab.lib.pagesizes import A4 from reportlab.pdfgen import canvas from reportlab.pdfbase import pdfmetrics from reportlab.pdfbase.ttfonts import TTFont from reportlab.lib.colors import HexColor, white from reportlab.lib.units import mm from reportlab.pdfbase.pdfmetrics import stringWidth out='/tmp/workspace/resume-krishna/output/Krishna_Arya_Updated_Resume_Clear.pdf' reg='/usr/share/fonts/google-droid-sans-fonts/DroidSans.ttf' bold='/usr/share/fonts/google-droid-sans-fonts/DroidSans-Bold.ttf' pdfmetrics.registerFont(TTFont('DroidSans',reg)) pdfmetrics.registerFont(TTFont('DroidSans-Bold',bold)) W,H=A4 c=canvas.Canvas(out,pagesize=A4,pageCompression=1) # page c.setFillColor(white); c.rect(0,0,W,H,fill=1,stroke=0) navy=HexColor('#243B53'); blue=HexColor('#2F80B7'); dark=HexColor('#20252B'); gray=HexColor('#4A5568'); light=HexColor('#D9E2EC') left=18*mm; right=W-18*mm; content_w=right-left def txt(x,y,s,font='DroidSans',size=8.6,color=dark): c.setFillColor(color); c.setFont(font,size); c.drawString(x,y,s) def wrap(text,font,size,maxw): words=text.split(); lines=[]; cur='' for word in words: test=(cur+' '+word).strip() if stringWidth(test,font,size)<=maxw: cur=test else: lines.append(cur);cur=word if cur: lines.append(cur) return lines def para(y,text,size=8.6,leading=12,color=gray): for line in wrap(text,'DroidSans',size,content_w): txt(left,y,line,size=size,color=color); y-=leading return y def section(y,title): c.setFillColor(navy); c.setFont('DroidSans-Bold',10.4); c.drawString(left,y,title) c.setStrokeColor(blue); c.setLineWidth(.75); c.line(left,y-4,right,y-4) return y-18 def bullet(x,y,text,size=8.5): c.setFillColor(blue); c.circle(x,y+2,1.35,fill=1,stroke=0); txt(x+7,y,text,size=size) # Header c.setFillColor(navy); c.rect(0,H-37*mm,W,37*mm,fill=1,stroke=0) c.setFillColor(white); c.setFont('DroidSans-Bold',22); c.drawString(left,H-20*mm,'KRISHNA ARYA') c.setFont('DroidSans',9); c.drawString(left,H-28*mm,'Haldwani, Uttarakhand | 6398596497 | aryakrishna061@gmail.com') y=H-46*mm y=section(y,'CAREER OBJECTIVE') y=para(y,'Dedicated and enthusiastic B.Sc. Radiology graduate seeking a teaching position in a college or institute where I can use my academic knowledge and practical hospital experience to teach Radiology, Anatomy, and Physiology. I aim to support students’ learning through clear explanations, practical examples, and a professional approach while continuously developing my skills.')-4 y=section(y,'EDUCATIONAL QUALIFICATION') txt(left,y,'Bachelor of Science (B.Sc.) - Radiology','DroidSans-Bold',9); y-=12 txt(left,y,'Government Medical College, Haldwani, Uttarakhand',size=8.6,color=gray); y-=13 bullet(left+2,y,'Completed B.Sc. Radiology degree.'); y-=13 bullet(left+2,y,'Academic and practical knowledge of radiological sciences, human anatomy, physiology, and medical imaging.');y-=9 y=section(y,'INTERNSHIP / CLINICAL EXPERIENCE') txt(left,y,'6-Month Internship - Radiology','DroidSans-Bold',9); y-=12 txt(left,y,'Dr. Susheela Tiwari Government Hospital, Haldwani, Uttarakhand',size=8.6,color=gray); y-=13 for s in ['Successfully completed a 6-month clinical internship in a hospital environment.','Practical exposure to radiology and medical imaging procedures.','Strong understanding of human anatomy and physiology relevant to radiological practice.','Experience in professional clinical practices and patient handling.','Worked in a multidisciplinary healthcare environment.']: bullet(left+2,y,s); y-=13 y-=1 # two columns y=section(y,'AREAS OF TEACHING INTEREST') colgap=15*mm; colw=(content_w-colgap)/2; x1=left+2; x2=left+colw+colgap+2 items1=['Radiology','Human Anatomy','Human Physiology','Basic Medical Imaging','Radiological Anatomy','Fundamentals of Diagnostic Imaging'] items2=['Microbiology','Pathology','Preventive Medicine','Environmental Studies','Radiation Physics'] for i,s in enumerate(items1): bullet(x1,y-i*13,s) for i,s in enumerate(items2): bullet(x2,y-i*13,s) y-=6*13+3 y=section(y,'KEY SKILLS') skills1=['Strong understanding of basic radiology concepts','Good knowledge of anatomy and physiology','Ability to explain concepts simply','Practical hospital and radiology exposure'] skills2=['Good communication and interpersonal skills','Patient-friendly and professional approach','Willingness to learn and adapt'] for i,s in enumerate(skills1): bullet(x1,y-i*13,s,8.2) for i,s in enumerate(skills2): bullet(x2,y-i*13,s,8.2) y-=4*13+4 y=section(y,'PERSONAL DETAILS') txt(left,y,'Name: Krishna Arya Date of Birth: 20/01/2003 Gender: Male',size=8.4);y-=12 txt(left,y,'Nationality: Indian Languages: Hindi, English',size=8.4);y-=12 txt(left,y,'Address: Near Dhanmill, Haldwani, Uttarakhand',size=8.4);y-=12 y=section(y,'DECLARATION') y=para(y,'I hereby declare that the information provided above is true and correct to the best of my knowledge and belief.',8.2,11)-3 txt(left,y,'Date: __________ Place: Haldwani',size=8.2); txt(right-120,y,'Signature: ____________________',size=8.2) y-=12; txt(right-50,y,'Krishna Arya',size=8.2) c.save() print(out) PY python - <<'PY' from pypdf import PdfReader p='/tmp/workspace/resume-krishna/output/Krishna_Arya_Updated_Resume_Clear.pdf' r=PdfReader(p);print('pages',len(r.pages), 'bytes', __import__('os').path.getsize(p)); print(r.pages[0].extract_text()[-600:]) PY
Krishna Arya Updated Resume Clear
PDF Document · PDF
Ek badiya sa bna do jo atractive lage ek dam bdiya sa
~/
modern medical resume design one page typography teaching position resume tips
python - <<'PY' from reportlab.pdfgen import canvas from reportlab.lib.pagesizes import A4 from reportlab.lib.colors import HexColor, white from reportlab.pdfbase import pdfmetrics from reportlab.pdfbase.ttfonts import TTFont from reportlab.pdfbase.pdfmetrics import stringWidth from pathlib import Path out=Path('/tmp/workspace/resume-krishna/output/Krishna_Arya_Premium_Resume.pdf') pdfmetrics.registerFont(TTFont('Montserrat','/usr/share/fonts/google-noto-vf/NotoSans[wght].ttf')) pdfmetrics.registerFont(TTFont('MontserratBold','/usr/share/fonts/google-noto-vf/NotoSans[wght].ttf')) W,H=A4 c=canvas.Canvas(str(out),pagesize=A4,pageCompression=1) # Palette INK=HexColor('#17324D'); TEAL=HexColor('#16A5A5'); SKY=HexColor('#EAF7F7'); PALE=HexColor('#F4F8FB'); TEXT=HexColor('#2D3A45'); MUTED=HexColor('#5F7180'); WHITE=white # Background & left identity panel c.setFillColor(WHITE); c.rect(0,0,W,H,stroke=0,fill=1) side=155 c.setFillColor(INK); c.rect(0,0,side,H,stroke=0,fill=1) # decorative accent c.setFillColor(TEAL); c.rect(0,H-11,side,11,stroke=0,fill=1) # Initial mark c.setFillColor(TEAL); c.circle(side/2,H-88,32,stroke=0,fill=1) c.setFillColor(WHITE); c.setFont('MontserratBold',27); c.drawCentredString(side/2,H-98,'KA') # helper def T(x,y,s,font='Montserrat',size=8,color=TEXT): c.setFillColor(color); c.setFont(font,size); c.drawString(x,y,s) def wrap(text,font,size,width): words=text.split(); lines=[]; line='' for z in words: cand=(line+' '+z).strip() if stringWidth(cand,font,size)<=width: line=cand else: lines.append(line); line=z if line: lines.append(line) return lines def rule(x,y,w,color=TEAL): c.setStrokeColor(color);c.setLineWidth(1.2);c.line(x,y,x+w,y) def side_heading(y,title): T(18,y,title,'MontserratBold',8.5,WHITE); rule(18,y-6,112,TEAL); return y-22 def side_text(y,text,size=7.6,leading=11): for z in wrap(text,'Montserrat',size,118): T(18,y,z,'Montserrat',size,HexColor('#D9E7F2')); y-=leading return y # Sidebar content T(18,H-143,'CONTACT','MontserratBold',8.5,WHITE); rule(18,H-149,112) y=H-165 for label,val in [('PHONE','6398596497'),('EMAIL','aryakrishna061@gmail.com'),('LOCATION','Haldwani, Uttarakhand')]: T(18,y,label,'MontserratBold',6.7,TEAL);y-=10 y=side_text(y,val,7.4,10)-10 y=side_heading(y,'PERSONAL DETAILS') for label,val in [('DATE OF BIRTH','20 January 2003'),('GENDER','Male'),('NATIONALITY','Indian'),('LANGUAGES','Hindi, English')]: T(18,y,label,'MontserratBold',6.5,TEAL); y-=10; T(18,y,val,'Montserrat',7.5,HexColor('#D9E7F2'));y-=18 y=side_heading(y,'CORE STRENGTHS') for s in ['Clear concept explanation','Professional communication','Patient-friendly approach','Adaptable and eager to learn']: c.setFillColor(TEAL); c.circle(21,y+2,1.25,fill=1,stroke=0);T(28,y,s,'Montserrat',7.4,HexColor('#D9E7F2')); y-=17 # Main panel x=180; rw=W-x-26 T(x,H-58,'KRISHNA', 'MontserratBold',25,INK); T(x,H-88,'ARYA', 'MontserratBold',25,TEAL) T(x,H-109,'B.Sc. RADIOLOGY GRADUATE | ASPIRING EDUCATOR','MontserratBold',7.6,MUTED) c.setFillColor(TEAL);c.rect(x,H-122,rw,3,stroke=0,fill=1) def heading(y,title): T(x,y,title,'MontserratBold',10,INK); c.setFillColor(TEAL);c.rect(x,y-7,33,2,stroke=0,fill=1); return y-23 def paragraph(y,text,size=8.1,leading=11): for line in wrap(text,'Montserrat',size,rw): T(x,y,line,'Montserrat',size,TEXT);y-=leading return y # Profile y=H-148 y=heading(y,'PROFILE') y=paragraph(y,'Dedicated B.Sc. Radiology graduate seeking a teaching position in a college or institute. Brings academic knowledge and practical hospital exposure to explain concepts clearly, connect theory with clinical examples, and support student learning.')-8 # Education y=heading(y,'EDUCATION') T(x,y,'BACHELOR OF SCIENCE (B.Sc.) - RADIOLOGY','MontserratBold',8.8,INK);y-=13 T(x,y,'Government Medical College, Haldwani, Uttarakhand','Montserrat',8.1,MUTED);y-=14 T(x,y,'Academic grounding in radiological sciences, human anatomy, physiology, and medical imaging.','Montserrat',7.9,TEXT);y-=20 # experience y=heading(y,'CLINICAL EXPERIENCE') T(x,y,'6-MONTH INTERNSHIP - RADIOLOGY','MontserratBold',8.8,INK);y-=13 T(x,y,'Dr. Susheela Tiwari Government Hospital, Haldwani, Uttarakhand','Montserrat',8.1,MUTED);y-=14 for item in ['Practical exposure to radiology and medical imaging procedures.','Understanding of anatomy and physiology in radiological practice.','Experience in patient handling and professional clinical practices.','Worked collaboratively in a multidisciplinary hospital environment.']: c.setFillColor(TEAL);c.circle(x+3,y+2,1.35,fill=1,stroke=0); T(x+11,y,item,'Montserrat',7.8,TEXT); y-=13 y-=6 # Teaching interests compact cards T(x,y,'TEACHING INTERESTS','MontserratBold',10,INK);c.setFillColor(TEAL);c.rect(x,y-7,33,2,stroke=0,fill=1);y-=25 items=['Radiology','Human Anatomy','Human Physiology','Basic Medical Imaging','Radiological Anatomy','Diagnostic Imaging','Microbiology','Pathology','Preventive Medicine','Environmental Studies','Radiation Physics'] # render tags flex cx=x; cy=y for item in items: tw=stringWidth(item,'Montserrat',7.3)+15 if cx+tw>x+rw: cx=x;cy-=20 c.setFillColor(SKY); c.roundRect(cx,cy-4,tw,14,5,stroke=0,fill=1) T(cx+7,cy,item,'MontserratBold',7.1,INK);cx+=tw+5 y=cy-27 # Technical skills T(x,y,'KEY SKILLS','MontserratBold',10,INK);c.setFillColor(TEAL);c.rect(x,y-7,33,2,stroke=0,fill=1);y-=22 left=['Basic radiology concepts','Anatomy and physiology','Clinical communication'] right=['Medical imaging fundamentals','Patient handling','Teaching-oriented explanation'] for i,s in enumerate(left): c.setFillColor(TEAL);c.circle(x+3,y-i*13+2,1.25,fill=1,stroke=0);T(x+10,y-i*13,s,'Montserrat',7.7,TEXT) for i,s in enumerate(right): xx=x+rw/2+5;c.setFillColor(TEAL);c.circle(xx+3,y-i*13+2,1.25,fill=1,stroke=0);T(xx+10,y-i*13,s,'Montserrat',7.7,TEXT) # Footer c.setFillColor(PALE);c.rect(x,H*0.035,rw,25,stroke=0,fill=1) T(x+9,H*0.035+9,'Available for teaching and academic support roles', 'MontserratBold',7.5,INK) c.save() print(out) PY python - <<'PY' from pypdf import PdfReader p='/tmp/workspace/resume-krishna/output/Krishna_Arya_Premium_Resume.pdf' r=PdfReader(p) t=r.pages[0].extract_text() print('PAGES:',len(r.pages),'BYTES:',__import__('os').path.getsize(p));print('MISSING:', [x for x in ['Microbiology','Pathology','Preventive Medicine','Environmental Studies','Radiation Physics'] if x not in t]) PY ls -lh "/tmp/workspace/resume-krishna/output/Krishna_Arya_Premium_Resume.pdf"
Krishna Arya Premium Resume
PDF Document · PDF
Subject ko ek dum highlight kakre bold bna do
~/resume-krishna/output
ReportLab PDF bold highlighted tags rounded rectangle text
python - <<'PY' from pathlib import Path print([str(x) for x in Path('/tmp/workspace/resume-krishna/output').iterdir()]) PY
python - <<'PY' from reportlab.pdfgen import canvas from reportlab.lib.pagesizes import A4 from reportlab.lib.colors import HexColor, white from reportlab.pdfbase import pdfmetrics from reportlab.pdfbase.ttfonts import TTFont from reportlab.pdfbase.pdfmetrics import stringWidth from pathlib import Path out=Path('/tmp/workspace/resume-krishna/output/Krishna_Arya_Subjects_Highlighted_Resume.pdf') pdfmetrics.registerFont(TTFont('Droid','/usr/share/fonts/google-droid-sans-fonts/DroidSans.ttf')) pdfmetrics.registerFont(TTFont('DroidBold','/usr/share/fonts/google-droid-sans-fonts/DroidSans-Bold.ttf')) W,H=A4 c=canvas.Canvas(str(out),pagesize=A4,pageCompression=1) # palette NAVY=HexColor('#132D46'); TEAL=HexColor('#0F9D9A'); CYAN=HexColor('#DCF5F4'); BLUE=HexColor('#E8F2FB'); TEXT=HexColor('#273745'); MUTED=HexColor('#617381'); LIGHT=HexColor('#F5F9FC'); WHITE=white c.setFillColor(WHITE); c.rect(0,0,W,H,fill=1,stroke=0) # Header c.setFillColor(NAVY); c.rect(0,H-112,W,112,fill=1,stroke=0) c.setFillColor(TEAL);c.rect(0,H-112,10,112,fill=1,stroke=0) c.setFillColor(TEAL);c.circle(W-60,H-56,34,fill=1,stroke=0) c.setFillColor(WHITE);c.setFont('DroidBold',24);c.drawCentredString(W-60,H-65,'KA') c.setFont('DroidBold',24);c.drawString(36,H-52,'KRISHNA ARYA') c.setFont('DroidBold',8.3);c.setFillColor(HexColor('#A7E5E1'));c.drawString(37,H-73,'B.Sc. RADIOLOGY GRADUATE | ASPIRING EDUCATOR') c.setFont('Droid',8);c.setFillColor(WHITE);c.drawString(37,H-93,'Haldwani, Uttarakhand | 6398596497 | aryakrishna061@gmail.com') L=36; R=W-36; width=R-L def drawtext(x,y,s,font='Droid',size=8.2,color=TEXT): c.setFillColor(color);c.setFont(font,size);c.drawString(x,y,s) def wlines(s,font,size,maxw): words=s.split();out=[];ln='' for word in words: n=(ln+' '+word).strip() if stringWidth(n,font,size)<=maxw:ln=n else:out.append(ln);ln=word if ln:out.append(ln) return out def body(y,s,size=8.15,leading=11): for ln in wlines(s,'Droid',size,width):drawtext(L,y,ln,size=size,color=MUTED);y-=leading return y def title(y,s): drawtext(L,y,s,'DroidBold',10.2,NAVY);c.setFillColor(TEAL);c.rect(L,y-6,38,2.3,fill=1,stroke=0);return y-22 def dot(x,y): c.setFillColor(TEAL);c.circle(x,y+2,1.4,fill=1,stroke=0) def bul(y,s,x=L): dot(x+2,y);drawtext(x+10,y,s,size=7.95);return y-12.5 y=H-137 y=title(y,'PROFILE') y=body(y,'Dedicated and enthusiastic B.Sc. Radiology graduate seeking a teaching position in a college or institute. Combines academic knowledge with practical hospital experience to teach medical and radiology subjects through clear explanations and clinical examples.')-6 y=title(y,'EDUCATION') drawtext(L,y,'BACHELOR OF SCIENCE (B.Sc.) - RADIOLOGY','DroidBold',8.8,NAVY);y-=13 drawtext(L,y,'Government Medical College, Haldwani, Uttarakhand',size=8.1,color=MUTED);y-=13 y=bul(y,'Academic and practical knowledge of radiological sciences, anatomy, physiology, and medical imaging.')-5 y=title(y,'CLINICAL EXPERIENCE') drawtext(L,y,'6-MONTH INTERNSHIP - RADIOLOGY','DroidBold',8.8,NAVY);y-=13 drawtext(L,y,'Dr. Susheela Tiwari Government Hospital, Haldwani, Uttarakhand',size=8.1,color=MUTED);y-=13 for it in ['Practical exposure to radiology and medical imaging procedures.','Understanding of anatomy and physiology in radiological practice.','Patient handling and professional clinical practices in a hospital environment.','Experience working in a multidisciplinary healthcare team.']: y=bul(y,it) y-=3 # Strong highlight box box_top=y c.setFillColor(NAVY);c.roundRect(L,box_top-145,width,145,11,fill=1,stroke=0) c.setFillColor(TEAL);c.roundRect(L,box_top-31,width,31,11,fill=1,stroke=0);c.rect(L,box_top-31,width,11,fill=1,stroke=0) drawtext(L+14,box_top-20,'TEACHING SUBJECTS','DroidBold',10.5,WHITE) drawtext(L+140,box_top-20,'SPECIALIZED INTEREST AREAS','DroidBold',7.2,HexColor('#D6FFFF')) subjects=['RADIOLOGY','HUMAN ANATOMY','HUMAN PHYSIOLOGY','BASIC MEDICAL IMAGING','RADIOLOGICAL ANATOMY','DIAGNOSTIC IMAGING','MICROBIOLOGY','PATHOLOGY','PREVENTIVE MEDICINE','ENVIRONMENTAL STUDIES','RADIATION PHYSICS'] # cards 2 col, deliberately large bold colw=(width-42)/2 for i,sub in enumerate(subjects): col=i%2;row=i//2 x=L+14+col*(colw+14); yy=box_top-48-row*17 # last item has full width or same left style if i==10: x=L+14; cardw=colw else:cardw=colw c.setFillColor(CYAN if i>=6 else HexColor('#24455F')) c.roundRect(x,yy-4,cardw,13,4,fill=1,stroke=0) c.setFillColor(TEAL if i>=6 else HexColor('#82E7E0'));c.circle(x+7,yy+2,1.5,fill=1,stroke=0) drawtext(x+14,yy,sub,'DroidBold',7.1,NAVY if i>=6 else WHITE) y=box_top-163 # skills in 2 columns y=title(y,'KEY SKILLS') skills=['Strong basic radiology concepts','Good anatomy and physiology knowledge','Ability to explain concepts simply','Practical radiology and hospital exposure','Good communication and interpersonal skills','Patient-friendly professional approach'] for i,s in enumerate(skills): x=L if i<3 else L+width/2+4 yy=y-(i%3)*14 dot(x+2,yy);drawtext(x+10,yy,s,size=7.65) y-=48 y=title(y,'PERSONAL DETAILS') drawtext(L,y,'Date of Birth: 20/01/2003 Gender: Male Nationality: Indian Languages: Hindi, English',size=7.8,color=TEXT);y-=13 drawtext(L,y,'Address: Near Dhanmill, Haldwani, Uttarakhand',size=7.8,color=TEXT);y-=18 y=title(y,'DECLARATION') drawtext(L,y,'I hereby declare that the information provided above is true and correct to the best of my knowledge and belief.',size=7.55,color=MUTED);y-=16 drawtext(L,y,'Date: __________ Place: Haldwani',size=7.55,color=TEXT);drawtext(R-126,y,'Signature: ____________________',size=7.55,color=TEXT) y-=12;drawtext(R-45,y,'Krishna Arya','DroidBold',7.55,NAVY) c.save() print(out) PY python - <<'PY' from pypdf import PdfReader p='/tmp/workspace/resume-krishna/output/Krishna_Arya_Subjects_Highlighted_Resume.pdf' r=PdfReader(p);t=r.pages[0].extract_text(); print('pages:',len(r.pages),'bytes:',__import__('os').path.getsize(p)); print('Missing:',[x for x in ['MICROBIOLOGY','PATHOLOGY','PREVENTIVE MEDICINE','ENVIRONMENTAL STUDIES','RADIATION PHYSICS'] if x not in t]) PY
Krishna Arya Subjects Highlighted Resume
PDF Document · PDF
More attractive bnao ek bar dekhne m psnd a jaye
~/
2026 professional medical educator resume visual design clean two column color layout
python - <<'PY' from reportlab.pdfgen import canvas from reportlab.lib.pagesizes import A4 from reportlab.lib.colors import HexColor, white from reportlab.pdfbase import pdfmetrics from reportlab.pdfbase.ttfonts import TTFont from reportlab.pdfbase.pdfmetrics import stringWidth from pathlib import Path out=Path('/tmp/workspace/resume-krishna/output/Krishna_Arya_Luxury_Resume.pdf') pdfmetrics.registerFont(TTFont('Clean','/usr/share/fonts/google-droid-sans-fonts/DroidSans.ttf')) pdfmetrics.registerFont(TTFont('CleanBold','/usr/share/fonts/google-droid-sans-fonts/DroidSans-Bold.ttf')) W,H=A4 c=canvas.Canvas(str(out),pagesize=A4,pageCompression=1) # Professional healthcare palette FOREST=HexColor('#123B3A'); EMERALD=HexColor('#147B72'); MINT=HexColor('#E1F3F0'); GOLD=HexColor('#D7A531'); PAPER=HexColor('#FAFCFC'); INK=HexColor('#203335'); SOFT=HexColor('#627678'); WHITE=white c.setFillColor(PAPER);c.rect(0,0,W,H,fill=1,stroke=0) # Elegant header c.setFillColor(FOREST);c.rect(0,H-142,W,142,fill=1,stroke=0) c.setFillColor(EMERALD);c.rect(0,H-142,13,142,fill=1,stroke=0) # geometric decorative elements c.setFillColor(HexColor('#1D5551'));c.circle(W-38,H-25,77,fill=1,stroke=0) c.setFillColor(EMERALD);c.circle(W-38,H-25,53,fill=1,stroke=0) c.setStrokeColor(GOLD);c.setLineWidth(1.3);c.circle(W-38,H-25,35,fill=0,stroke=1) # initials medallion c.setFillColor(WHITE);c.circle(W-61,H-71,23,fill=1,stroke=0) c.setFillColor(FOREST);c.setFont('CleanBold',16);c.drawCentredString(W-61,H-77,'KA') c.setFillColor(WHITE);c.setFont('CleanBold',26);c.drawString(38,H-59,'KRISHNA ARYA') c.setFillColor(HexColor('#A9DDD7'));c.setFont('CleanBold',8);c.drawString(40,H-81,'RADIOLOGY GRADUATE • ASPIRING MEDICAL EDUCATOR') c.setFillColor(WHITE);c.setFont('Clean',8);c.drawString(40,H-106,'Haldwani, Uttarakhand | 6398596497 | aryakrishna061@gmail.com') c.setFillColor(GOLD);c.rect(40,H-119,120,2.6,fill=1,stroke=0) L=38; R=W-35; allw=R-L; gap=18; leftw=allw*0.58; rightx=L+leftw+gap; rightw=R-rightx def text(x,y,s,font='Clean',size=8,color=INK): c.setFillColor(color);c.setFont(font,size);c.drawString(x,y,s) def lines(s,font,size,width): result=[];current='' for word in s.split(): trial=(current+' '+word).strip() if stringWidth(trial,font,size)<=width: current=trial else: result.append(current);current=word if current:result.append(current) return result def section(x,y,title,w): text(x,y,title,'CleanBold',9.6,FOREST) c.setFillColor(GOLD);c.rect(x,y-6,30,2.2,fill=1,stroke=0) c.setFillColor(HexColor('#D6E7E5'));c.rect(x+35,y-5,w-35,1,fill=1,stroke=0) return y-21 def para(x,y,s,w,size=7.85,lead=10.6): for q in lines(s,'Clean',size,w):text(x,y,q,size=size,color=SOFT);y-=lead return y def bullet(x,y,s,w,size=7.75): c.setFillColor(EMERALD);c.circle(x+2,y+2,1.35,fill=1,stroke=0) for i,q in enumerate(lines(s,'Clean',size,w-12)):text(x+10,y-i*10.2,q,size=size,color=INK) return y-len(lines(s,'Clean',size,w-12))*10.2-3 # main left column Y=H-167 Y=section(L,Y,'CAREER PROFILE',leftw) Y=para(L,Y,'Dedicated and enthusiastic B.Sc. Radiology graduate seeking a teaching position in a college or institute. Ready to pair sound academic knowledge with practical hospital experience, simple explanations, and clinical examples that help students learn with confidence.',leftw)-8 Y=section(L,Y,'CLINICAL EXPERIENCE',leftw) text(L,Y,'6-MONTH INTERNSHIP | RADIOLOGY','CleanBold',8.5,EMERALD);Y-=12 text(L,Y,'Dr. Susheela Tiwari Government Hospital, Haldwani','Clean',7.9,SOFT);Y-=14 for b in ['Practical exposure to radiology and medical imaging procedures.','Applied anatomy and physiology knowledge in radiological practice.','Professional patient handling and clinical workflow exposure.','Collaborated effectively within a multidisciplinary hospital team.']: Y=bullet(L,Y,b,leftw) Y-=3 Y=section(L,Y,'EDUCATION',leftw) text(L,Y,'BACHELOR OF SCIENCE (B.Sc.) - RADIOLOGY','CleanBold',8.5,FOREST);Y-=12 text(L,Y,'Government Medical College, Haldwani, Uttarakhand','Clean',7.9,SOFT);Y-=14 Y=bullet(L,Y,'Academic and practical grounding in radiological sciences, anatomy, physiology, and medical imaging.',leftw)-6 Y=section(L,Y,'KEY STRENGTHS',leftw) for b in ['Strong foundation in basic radiology concepts','Clear, student-friendly concept explanation','Good communication and interpersonal skills','Professional, patient-friendly approach','Willingness to learn and adapt']: Y=bullet(L,Y,b,leftw) # sidebar white panel c.setFillColor(WHITE);c.roundRect(rightx-10,H-519,rightw+10,352,12,fill=1,stroke=0) c.setStrokeColor(HexColor('#DCECEA'));c.setLineWidth(.8);c.roundRect(rightx-10,H-519,rightw+10,352,12,fill=0,stroke=1) # highlighted subjects RY=H-187 text(rightx,RY,'TEACHING SUBJECTS','CleanBold',10,FOREST);c.setFillColor(GOLD);c.rect(rightx,RY-7,34,2.5,fill=1,stroke=0);RY-=27 text(rightx,RY,'Highlighted academic areas', 'Clean',7.2,SOFT);RY-=14 subjects=['Radiology','Human Anatomy','Human Physiology','Basic Medical Imaging','Radiological Anatomy','Diagnostic Imaging','Microbiology','Pathology','Preventive Medicine','Environmental Studies','Radiation Physics'] # full-width subject badges, alternating visual hierarchy for i,s in enumerate(subjects): bg=EMERALD if i in [0,6,7,8,9,10] else MINT fg=WHITE if i in [0,6,7,8,9,10] else FOREST c.setFillColor(bg);c.roundRect(rightx,RY-4,rightw-7,15,5,fill=1,stroke=0) if i in [6,7,8,9,10]: c.setFillColor(GOLD);c.circle(rightx+8,RY+3,2.1,fill=1,stroke=0) tx=rightx+15 else: tx=rightx+8 text(tx,RY,s.upper(),'CleanBold',7.15,fg) RY-=19 # sidebar bottom SY=H-543 SY=section(rightx,SY,'PERSONAL DETAILS',rightw-7) for label,val in [('DATE OF BIRTH','20 January 2003'),('GENDER','Male'),('NATIONALITY','Indian'),('LANGUAGES','Hindi, English')]: text(rightx,SY,label,'CleanBold',6.5,EMERALD);SY-=9;text(rightx,SY,val,'Clean',7.6,INK);SY-=16 SY-=1;SY=section(rightx,SY,'LOCATION',rightw-7) text(rightx,SY,'Near Dhanmill, Haldwani,',size=7.5,color=INK);SY-=10;text(rightx,SY,'Uttarakhand',size=7.5,color=INK) # Footer declaration c.setFillColor(FOREST);c.roundRect(L,39,allw,54,10,fill=1,stroke=0) text(L+15,72,'DECLARATION','CleanBold',7.7,HexColor('#A9DDD7')) text(L+15,59,'I hereby declare that the information provided above is true and correct to the best of my knowledge and belief.','Clean',7.25,WHITE) text(L+15,47,'Date: __________ Place: Haldwani','Clean',7.15,HexColor('#D6E7E5')) text(R-125,47,'Signature: ____________________','Clean',7.15,HexColor('#D6E7E5')) c.save() print(out) PY python - <<'PY' from pypdf import PdfReader p='/tmp/workspace/resume-krishna/output/Krishna_Arya_Luxury_Resume.pdf' r=PdfReader(p); t=r.pages[0].extract_text(); print('pages:',len(r.pages),'bytes:',__import__('os').path.getsize(p));print([s for s in ['MICROBIOLOGY','PATHOLOGY','PREVENTIVE MEDICINE','ENVIRONMENTAL STUDIES','RADIATION PHYSICS'] if s not in t]) PY
Krishna Arya Luxury Resume
PDF Document · PDF