mdbq 3.7.20__tar.gz → 3.7.21__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 (44) hide show
  1. {mdbq-3.7.20 → mdbq-3.7.21}/PKG-INFO +1 -1
  2. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/config/config.py +4 -4
  3. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq.egg-info/PKG-INFO +1 -1
  4. {mdbq-3.7.20 → mdbq-3.7.21}/setup.py +1 -1
  5. {mdbq-3.7.20 → mdbq-3.7.21}/README.txt +0 -0
  6. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/__init__.py +0 -0
  7. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/__version__.py +0 -0
  8. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/aggregation/__init__.py +0 -0
  9. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/aggregation/optimize_data_bak.py +0 -0
  10. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/aggregation/query_data.py +0 -0
  11. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/bdup/__init__.py +0 -0
  12. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/bdup/bdup.py +0 -0
  13. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/config/__init__.py +0 -0
  14. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/config/default_bak.py +0 -0
  15. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/config/myconfig_bak.py +0 -0
  16. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/config/products_bak.py +0 -0
  17. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/config/set_support.py +0 -0
  18. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/dataframe/__init__.py +0 -0
  19. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/dataframe/converter.py +0 -0
  20. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/log/__init__.py +0 -0
  21. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/log/mylogger.py +0 -0
  22. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/log/spider_logging.py +0 -0
  23. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/mongo/__init__.py +0 -0
  24. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/mysql/__init__.py +0 -0
  25. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/mysql/mysql.py +0 -0
  26. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/mysql/s_query.py +0 -0
  27. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/mysql/year_month_day.py +0 -0
  28. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/other/__init__.py +0 -0
  29. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/other/download_sku_picture.py +0 -0
  30. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/other/porxy.py +0 -0
  31. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/other/pov_city.py +0 -0
  32. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/other/ua_sj.py +0 -0
  33. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/pbix/__init__.py +0 -0
  34. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/pbix/pbix_refresh.py +0 -0
  35. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/pbix/refresh_all.py +0 -0
  36. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/pbix/refresh_all_old.py +0 -0
  37. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/redis/__init__.py +0 -0
  38. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/redis/getredis.py +0 -0
  39. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/spider/__init__.py +0 -0
  40. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq/spider/aikucun.py +0 -0
  41. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq.egg-info/SOURCES.txt +0 -0
  42. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq.egg-info/dependency_links.txt +0 -0
  43. {mdbq-3.7.20 → mdbq-3.7.21}/mdbq.egg-info/top_level.txt +0 -0
  44. {mdbq-3.7.20 → mdbq-3.7.21}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mdbq
3
- Version: 3.7.20
3
+ Version: 3.7.21
4
4
  Home-page: https://pypi.org/project/mdbq
5
5
  Author: xigua,
6
6
  Author-email: 2587125111@qq.com
@@ -8,7 +8,7 @@ def read_config(file_path):
8
8
  print(f'配置文件不存在: {file_path}')
9
9
  return
10
10
  config = {}
11
- with open(file_path, 'r') as file:
11
+ with open(file_path, 'r', encoding='utf-8') as file:
12
12
  for line in file:
13
13
  stripped_line = line.strip()
14
14
  # 跳过空行和注释行(以 # 或 // 开头)
@@ -35,10 +35,10 @@ def write_config(file_path, rewrite):
35
35
  """
36
36
  # 读取所有行到内存
37
37
  try:
38
- with open(file_path, 'r') as file:
38
+ with open(file_path, 'r', encoding='utf-8') as file:
39
39
  lines = file.readlines()
40
40
  except FileNotFoundError:
41
- with open(file_path, 'w') as file:
41
+ with open(file_path, 'w', encoding='utf-8') as file:
42
42
  lines = []
43
43
 
44
44
  new_lines = []
@@ -84,7 +84,7 @@ def write_config(file_path, rewrite):
84
84
  new_lines.append(f"{key} = {rewrite[key]}\n")
85
85
 
86
86
  # 写入文件
87
- with open(file_path, 'w') as file:
87
+ with open(file_path, 'w', encoding='utf-8') as file:
88
88
  file.writelines(new_lines)
89
89
 
90
90
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mdbq
3
- Version: 3.7.20
3
+ Version: 3.7.21
4
4
  Home-page: https://pypi.org/project/mdbq
5
5
  Author: xigua,
6
6
  Author-email: 2587125111@qq.com
@@ -3,7 +3,7 @@
3
3
  from setuptools import setup, find_packages
4
4
 
5
5
  setup(name='mdbq',
6
- version='3.7.20',
6
+ version='3.7.21',
7
7
  author='xigua, ',
8
8
  author_email="2587125111@qq.com",
9
9
  url='https://pypi.org/project/mdbq',
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
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