strcase
strcase is a python package for converting string case.
It is a port of the go package strcase
Example
s = "AnyKind of_string"
| Function | Result |
|---|---|
to_snake(s) |
any_kind_of_string |
to_screaming_snake(s) |
ANY_KIND_OF_STRING |
to_kebab(s) |
any-kind-of-string |
to_screaming_kebab(s) |
ANY-KIND-OF-STRING |
to_delimited(s, '.') |
any.kind.of.string |
to_screaming_delimited(s, '.') |
ANY.KIND.OF.STRING |
to_camel(s) |
AnyKindOfString |
to_lower_camel(s) |
anyKindOfString |
Release files for strcase 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| strcase-1.0.0.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| strcase-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.2 kB
Release files / strcase-1.0.0.tar.gz
| Download URL | strcase-1.0.0.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
458cab2002abf3ec8dbb5377537d73368120346ee04dde197ac9d7829f57fab5
|
|
BLAKE2b-256 checksum How to use checksums |
3e553050c84aeceb953ce30856e94cbb93f038927e5ed333c61b763d4fb356f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.6.6
|
Release files / strcase-1.0.0-py3-none-any.whl
| Download URL | strcase-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70acee835cbaebf72265fd4aa3404dda0d6a71591506ba26d408c1464941393e
|
|
BLAKE2b-256 checksum How to use checksums |
0c0a325029aa6bc843b7786785b9fc29087d9d9b8c81b8ee062e8406ad68ff20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.6.6
|