Knio / dominate

Dominate is a Python library for creating and manipulating HTML documents using an elegant DOM API. It allows you to write HTML pages in pure Python very concisely, which eliminate the need to learn another template language, and to take advantage of the more powerful features of Python.
GNU Lesser General Public License v3.0
1.71k stars 110 forks source link

Allow dominate to work in async contexts #186

Closed tlonny closed 10 months ago

tlonny commented 10 months ago

Using ContextVars to allow dominate to work within async contexts. Added unit tests to ensure code works as expected.