bs4.Tag.insert

Tag.insert(position, new_child)