#database ?

11 messages · Page 1 of 1 (latest)

tulip python
#

Is it possible to acces to a database (MariaDB, MySQL) using Typst ?
Is there a package fort that or is it not compatible with typst concepts (purity) ?

true pelican
#

No, you do not have network access

tulip python
#

ok thanks

thick oak
#

it wouldn't be something typst could do directly, but you could presumably use typst as a rust library and write something in rust that translates the results of DB queries into a format typst would handle

tulip python
#

or using embeded python code ?

thick oak
#

embedded python code would be sandboxed too

tulip python
#

Hmm... ok

thick oak
#

do you want to just retrieve data from a database, or update it too?

#

because it's the former I imagine you could just write something that outputs TOML and feed that to Typst

tulip python
#

just get data. No updates.

languid ember