Alternative syntax might be that of import decorators

@from_pip("attrs")
import attr

It's only worthwhile if there are any other uses for import decorators. One possibility is for other online modules, probably by giving a url. I can come up with more, but it's making a solution without having a problem; it looks like a handy tool, but I guess such suggestions were already raised and rejected in the past.

Elazar