Closed
Description
Describe the bug
Latest version on PyPI of the stringcase library has pretty nasty bugs. The repository on GitHub has a tiny bit of activity and supposedly fixed one or two already but the owner did not make a release since 2017 anyway.
To Reproduce
>>> stringcase.pascalcase("test-parameter")
'Tesarameter'
Expected behavior
'TestParameter'
Additional context
I just took at look at the alternatives and found these two:
Humps has some traction but also is unmaintained at the moment. My vote would go to caseconverter, whose implementation seems a bit more robust at first glance, or to rewrite what's needed here directly.