1 | camelcase_to_underscore = lambda str: re.sub('(((?<=[a-z])[A-Z])|([A-Z](?![A-Z]|$)))', '_\\1', str).lower().strip('_')
|
More like this
- Convert String Uppercase and Lowercase by oraculum 2 years, 1 month ago
- Human readable file names decorator by maxk 2 years, 1 month ago
- slug filename by willhardy 3 years, 10 months ago
- Url filter middleware by limodou 6 years, 2 months ago
- Cached model property decorator (like @property) by homunq 1 year, 5 months ago
Comments