This is a Python package that processes Tailwind CSS classes into a single raw CSS string. It's super modular and simple, you can just copy the class directly and use it in your code. Just make sure to install pytailwindcss first.
pip install tailwind-processor
from tailwind_processor import TailwindProcessor
tp = TailwindProcessor()
tp.process(["text-red-500", "h-dvh"])