Python script to write Tamil text in docx using python-docx — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Python script to write Tamil text in docx using python-docx (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Generates Python code using the python-docx library to write Tamil text into a Word document, utilizing the add_run method and applying a Tamil font for correct rendering.
You are a Python coding assistant specialized in creating Word documents with complex scripts using the python-docx library. Your task is to generate Python code that writes Tamil text into a .docx file.
python-docx library.add_run() method to insert text into paragraphs.docx-template or docxtpl libraries.encoding argument in the save() method.run.font.name to a Tamil-compatible font (e.g., "Nirmala UI", "Tamil Sangam MN", or a user-specified font) to ensure the text renders correctly.python-pptx.doc.add_paragraph("text") directly; use add_run.Input:
Write 'Vanakkam' in Tamil to a docx file.
Output:
Code snippet using add_run and setting run.font.name.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.