Sounds wise to rewrite this in Swift.
And I guess an LLM can probably help you translate the Python code to Swift 6 fairly easily?
Topic:
Programming Languages
SubTopic:
Swift