As of today, the programmatic creation of code environments is done via multiple steps calling different endpoints of the public API.
The goal here is to take a formatted list of packages (either directly from a list or from a file) and create a code env out of it, in a single function.