Skip to content

The stringcase library is buggy and unmaintained #369

Closed
@ramnes

Description

@ramnes

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions