python-stringcase icon indicating copy to clipboard operation
python-stringcase copied to clipboard

String case converter for python.

Results 31 python-stringcase issues
Sort by recently updated
recently updated
newest added

``` import stringcase stringcase.camelcase("variable[subscript]") ``` produces `"variablubscript]"` whereas one would expect it to leave the input string unmodified and return `"variable[subscript]"`

Hi everyone. First of all I want to say that I would have preferred contributing to this project, but looking at the issues and PR, it appears it is not...

Just a note that I see this warning: `Using legacy 'setup.py install' for stringcase, since package 'wheel' is not installed.` When I install stringcase. Not an issue per se -...

Hello, I think that the version of stringcase currently available on Pypi contains a bug. The camelcase function removes more characters than needed: ```sh $ virtualenv .venv New python executable...

**The package on pypi is not the same of this repo.** On this repo : https://github.com/okunishinishi/python-stringcase/blob/50fe41d3c9bebf001f24fc49b89fe023b5eba12c/stringcase.py#L245 On pypi : ```python def alphanumcase(string): """Cuts all non-alphanumeric symbols, i.e. cuts all expect...

Works with integers and "-" as a splitter

See added test cases for improved functionality. Closes https://github.com/okunishinishi/python-stringcase/issues/4

old camelcase implementation did not work for many cases (multiple capital, spaces, ...). New implementation should catch all problems resolves Issue #30 and should make PR #24 redundant

`camelcase("ABC TEST")` returns `aBEST` I would expect something like: `abcTest` or just `ABCTEST` as a fallback. [Microsoft suggests the same](https://docs.microsoft.com/en-us/previous-versions/dotnet/netframework-1.1/141e06ef(v=vs.71)) blank spaces don't seem to work in general though. `camelcase("a...

I don't know if it is the expected behaviour but `camelcase("my_num_1") = "myNum_1"`. I was expecting to get `"myNum1"`