SeaTable’s Python environment uses Python 3.12 and includes the full Python Standard Library (e.g. os, sys, datetime, math, random, json, re, io, smtplib). You can import these modules directly in your scripts.

In addition to the Standard Library, the following packages are available in SeaTable Cloud and in the default installation of SeaTable Server:

For some of these libraries, we provide Python examples with ready-to-use scripts and example bases for download.

Library Description Example
seatable-api SeaTable API client all examples
requests HTTP requests Watch stock prices
pandas Data analysis and processing
scipy Scientific computing
openai OpenAI API client
qrcode QR code generation Generate QR codes
python-barcode Barcode generation Generate barcodes
pillow-heif HEIC/HEIF image support for Pillow Convert HEIC to PNG
pdfmerge PDF merging Merge PDF files
rapidfuzz Fuzzy string matching
markdown Markdown to HTML conversion
ldap3 LDAP operations
dateutils Date utility functions
pyOpenSSL TLS/SSL functions
PyJWT JSON Web Token processing

Due to dependencies of the above packages, Pillow (image processing) and numpy (numerical computing) are also available.

In SeaTable Cloud, you are limited to the libraries listed above. Additional packages cannot be installed.

On a self-hosted SeaTable Server, you can add additional libraries by building a custom Python Runner. Instructions can be found in the SeaTable Admin Manual .