Customizing packages is currently only supported for Python and JavaScript/TypeScript.
Install packages
To use additional packages you’ll need to create a custom runtime on Riza and configure it with specific packages, such aspandas
or prisma
.
When you invoke the Execute Code API Endpoint, you can specify
a custom runtime revision ID as a parameter to execute code in the context of that runtime.
Python
To create a custom runtime for Python, you’ll need to supply the contents of a typicalrequirements.txt
file with the packages you want installed.
JavaScript/TypeScript
To create a custom runtime for JavaScript/TypeScript, you’ll need to supply the contents of a typicalpackage.json
file with the packages you want installed.
You can send a full package.json
and we’ll ignore all but the dependencies
field.
package.json