amaranth-cocotb is a simple python module which tries to combine two amazing HDL tools: amaranth (former nMigen) and Cocotb.
pip3 install .
or
pip3 install git+https://github.com/andresdemski/nmigen-cocotb.git
Check the example, it's really easy to use. Try it.