Today's idea, -c "..." can and should act like a packaging format. Question is,...
Today's idea,
#python -c "..." can and should act like a packaging format.
Question is, has it already been done. Doesn't look like it.
Use case? Yaml build scripts with restrictions on referencing .py files (looking at you gitlab) or R/O file systems.
Implementation, custom import loaders and probably zipping up the string to make it more compact.
Self-replies
Claude couldn't do it. There are like 4 layers of escaping and it got confused. Fine, I'll write code by hand.