Anvil has always provided escape hatches when it comes to accessing Javascript from Python.
And we’ve just made that escape hatch a whole lot wider.
Now you can import arbitrary Javascript objects into your Python code via anvil.js.window
from anvil.js.window import jQuery
Check out today’s advent calendar from @meredydd which does just that with the three.js library!
For even more examples - I’ve rewritten a bunch of dependencies that formerly included a lot of Javascript - now almost entirely written in Python!
Check out the the docs which includes a Quickstart guide to get you started!