import any of the packages below directly in your code—alongside the Opus SDK—without installing anything.
The Opus SDK itself (the
Opus object) is always available inside Opus Code without an import. See the Opus SDK overview for what it exposes.Standard Library
These modules ship with Python and are available in every Opus Code task.| Category | Packages |
|---|---|
| Data | json, csv, collections, dataclasses, enum, copy |
| Text | re, string, html |
| Math | math, statistics, random, decimal, fractions |
| Time | datetime, time |
| Utilities | itertools, functools, typing, uuid |
| Encoding | hashlib, base64 |
| Markup & Archives | xml, zipfile |
| Advanced | abc, warnings, contextlib, concurrent, concurrent.futures |
Third-Party Packages
These packages are pre-installed and ready to import. Where the import name differs from the package name, both are shown.| Category | Packages |
|---|---|
| HTTP | requests |
| Office Documents | openpyxl, docx (python-docx), pptx (python-pptx) |
PyPDF2, pdfplumber, fitz (pymupdf), reportlab, fpdf (fpdf2), pdf2docx, pdf2image | |
| Images | PIL (pillow), cv2 (opencv-python-headless) |
| Utilities | magic (python-magic), dateutil (python-dateutil), toon_format (toon-format) |
Related
Opus SDK Overview
Learn what the always-available
Opus object exposes.File Formats
See which file formats the SDK can read and write.
Opus Code
Write custom Python logic inside a workflow.