upplib 3.2.5__tar.gz → 3.2.7__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.
Files changed (29) hide show
  1. {upplib-3.2.5 → upplib-3.2.7}/PKG-INFO +1 -1
  2. {upplib-3.2.5 → upplib-3.2.7}/upplib/index.py +1 -0
  3. {upplib-3.2.5 → upplib-3.2.7}/upplib/util.py +2 -2
  4. {upplib-3.2.5 → upplib-3.2.7}/upplib.egg-info/PKG-INFO +1 -1
  5. {upplib-3.2.5 → upplib-3.2.7}/LICENSE +0 -0
  6. {upplib-3.2.5 → upplib-3.2.7}/README.md +0 -0
  7. {upplib-3.2.5 → upplib-3.2.7}/pyproject.toml +0 -0
  8. {upplib-3.2.5 → upplib-3.2.7}/setup.cfg +0 -0
  9. {upplib-3.2.5 → upplib-3.2.7}/setup.py +0 -0
  10. {upplib-3.2.5 → upplib-3.2.7}/upplib/__init__.py +0 -0
  11. {upplib-3.2.5 → upplib-3.2.7}/upplib/chart.py +0 -0
  12. {upplib-3.2.5 → upplib-3.2.7}/upplib/chart_html.py +0 -0
  13. {upplib-3.2.5 → upplib-3.2.7}/upplib/clean_up_msg.py +0 -0
  14. {upplib-3.2.5 → upplib-3.2.7}/upplib/common_package.py +0 -0
  15. {upplib-3.2.5 → upplib-3.2.7}/upplib/db.py +0 -0
  16. {upplib-3.2.5 → upplib-3.2.7}/upplib/file.py +0 -0
  17. {upplib-3.2.5 → upplib-3.2.7}/upplib/file_text.py +0 -0
  18. {upplib-3.2.5 → upplib-3.2.7}/upplib/format_data.py +0 -0
  19. {upplib-3.2.5 → upplib-3.2.7}/upplib/http_util.py +0 -0
  20. {upplib-3.2.5 → upplib-3.2.7}/upplib/mail.py +0 -0
  21. {upplib-3.2.5 → upplib-3.2.7}/upplib/mail_html.py +0 -0
  22. {upplib-3.2.5 → upplib-3.2.7}/upplib/markdown.py +0 -0
  23. {upplib-3.2.5 → upplib-3.2.7}/upplib/multi_thread.py +0 -0
  24. {upplib-3.2.5 → upplib-3.2.7}/upplib/query_log.py +0 -0
  25. {upplib-3.2.5 → upplib-3.2.7}/upplib/redis_tool.py +0 -0
  26. {upplib-3.2.5 → upplib-3.2.7}/upplib.egg-info/SOURCES.txt +0 -0
  27. {upplib-3.2.5 → upplib-3.2.7}/upplib.egg-info/dependency_links.txt +0 -0
  28. {upplib-3.2.5 → upplib-3.2.7}/upplib.egg-info/requires.txt +0 -0
  29. {upplib-3.2.5 → upplib-3.2.7}/upplib.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: upplib
3
- Version: 3.2.5
3
+ Version: 3.2.7
4
4
  Summary: util
5
5
  Author: Luck
6
6
  Author-email: wantwaterfish@gmail.com
@@ -1,4 +1,5 @@
1
1
  from upplib import *
2
+ from upplib.__init__ import *
2
3
  from datetime import datetime, timezone, timedelta
3
4
  from typing import Any, Optional, Union
4
5
  from upplib.common_package import *
@@ -1,4 +1,5 @@
1
1
  from upplib import *
2
+ from upplib.file_text import to_list_from_txt
2
3
  from upplib.clean_up_msg import *
3
4
  from datetime import datetime, timezone, timedelta
4
5
  from typing import Any, Optional, Union, Callable, List
@@ -50,8 +51,7 @@ def get_from_txt(file_name: str = '_start_time_end_time_str.txt',
50
51
  second : 获得时间,在 second 基础上,前后冗余多少秒
51
52
  获得日志
52
53
  """
53
- date_list = to_list_from_txt(file_name)
54
- date_list = list(filter(lambda x: len(x) > 0 and not str(x).strip().startswith('#'), date_list))
54
+ date_list = to_list_from_txt(file_name, line_ignore_start_with='#')
55
55
  if len(date_list) == 0:
56
56
  return None, None
57
57
  date_time_list = []
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: upplib
3
- Version: 3.2.5
3
+ Version: 3.2.7
4
4
  Summary: util
5
5
  Author: Luck
6
6
  Author-email: wantwaterfish@gmail.com
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes