You can already do this exact thing with a Python library on the user machine, see here for install instructions: https://gpkit.readthedocs.io/en/latest/installation.html
The intent here is to make it easy for people to get started and quickly write models, without needing to go through installing a set of packages.