As of February 2025, using Python 3.13.2, I have a python implementation of a combination subset of C# and Java's StringBuilder classes in a GitHub repo that implements some but not all of those language's StringBuilder APIs.
Study the main program and/or the README to see how it works.
The class uses an underlying python list[str].