News for hackers. Stuff that matters.
Re:Show HN: Textcase: A Python Library for Text Case Conversion by twalkz on Tuesday April 01, 2025 @10:15PM (#43553109)
I am really impressed by how thoroughly this library thinks through all the applications and edge cases of text casing.

On a recent project I spent about an hour trying to do something similar (and far less sophisticated) before I realized it was a problem I had no desire in really solving, so I backed out all my changes and just went with string.capitalize(), even though it didn’t really do what I was looking for. Looking forward to using this instead!

Re:Show HN: Textcase: A Python Library for Text Case Conversion by zobweyt on Tuesday April 01, 2025 @10:34PM (#43553204)
Thank you for the kind words! I'm glad you appreciate the effort put into covering all those edge cases.

It sounds like you had quite the adventure with text casing on your project. I'm happy this library can save you some time and hassle. Looking forward to see what can be built with it!

Re:Show HN: Textcase: A Python Library for Text Case Conversion by Rendello on Tuesday April 01, 2025 @11:26PM (#43553368)
Many edge-cases can be found with regards to casing! Like title-case characters.

https://www.unicode.org/versions/Unicode16.0.0/core-spec/cha...