kkpyutil 1.33.4__tar.gz → 1.33.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kkpyutil
3
- Version: 1.33.4
3
+ Version: 1.33.5
4
4
  Summary: Building blocks for sysadmin and DevOps
5
5
  Home-page: https://github.com/kakyoism/kkpyutil/
6
6
  License: MIT
@@ -1514,7 +1514,7 @@ def convert_compound_cases(text, style='pascal', instyle='auto'):
1514
1514
 
1515
1515
  def _detect_casing(txt):
1516
1516
  case_patterns = {
1517
- 'snake': r'^[a-z]+(_[a-zA_Z0-9]+)*$',
1517
+ 'snake': r'^[a-z][a-z0-9]*(_[a-zA_Z0-9]+)*$',
1518
1518
  'SNAKE': r'^[A-Z]+(_[A-Z0-9]+)*$',
1519
1519
  'camel': r'^[a-z]+([A-Z][a-z0-9]*)*$',
1520
1520
  'kebab': r'^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)+$',
@@ -2864,8 +2864,7 @@ def remove_unsupported_dict_keys(mydict: dict, supported_keys: set):
2864
2864
 
2865
2865
 
2866
2866
  def _test():
2867
- # print(say('hello'))
2868
- alert('line1\nline2')
2867
+ print(say('hello'))
2869
2868
 
2870
2869
 
2871
2870
  if __name__ == '__main__':
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "kkpyutil"
3
- version = "1.33.4"
3
+ version = "1.33.5"
4
4
  description = "Building blocks for sysadmin and DevOps"
5
5
  authors = ["Beinan Li <li.beinan@gmail.com>"]
6
6
  maintainers = ["Beinan Li <li.beinan@gmail.com>"]
File without changes
File without changes