mdbq 3.9.12__tar.gz → 3.9.13__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 (36) hide show
  1. {mdbq-3.9.12 → mdbq-3.9.13}/PKG-INFO +1 -1
  2. mdbq-3.9.13/mdbq/__version__.py +1 -0
  3. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/mysql/uploader.py +1 -21
  4. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq.egg-info/PKG-INFO +1 -1
  5. mdbq-3.9.12/mdbq/__version__.py +0 -1
  6. {mdbq-3.9.12 → mdbq-3.9.13}/README.txt +0 -0
  7. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/__init__.py +0 -0
  8. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/aggregation/__init__.py +0 -0
  9. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/aggregation/optimize.py +0 -0
  10. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/aggregation/query_data.py +0 -0
  11. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/config/__init__.py +0 -0
  12. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/config/config.py +0 -0
  13. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/log/__init__.py +0 -0
  14. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/log/mylogger.py +0 -0
  15. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/log/spider_logging.py +0 -0
  16. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/mysql/__init__.py +0 -0
  17. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/mysql/deduplicator.py +0 -0
  18. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/mysql/mysql.py +0 -0
  19. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/mysql/s_query.py +0 -0
  20. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/other/__init__.py +0 -0
  21. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/other/download_sku_picture.py +0 -0
  22. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/other/otk.py +0 -0
  23. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/other/pov_city.py +0 -0
  24. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/other/ua_sj.py +0 -0
  25. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/pbix/__init__.py +0 -0
  26. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/pbix/pbix_refresh.py +0 -0
  27. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/pbix/refresh_all.py +0 -0
  28. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/redis/__init__.py +0 -0
  29. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/redis/getredis.py +0 -0
  30. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/spider/__init__.py +0 -0
  31. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq/spider/aikucun.py +0 -0
  32. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq.egg-info/SOURCES.txt +0 -0
  33. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq.egg-info/dependency_links.txt +0 -0
  34. {mdbq-3.9.12 → mdbq-3.9.13}/mdbq.egg-info/top_level.txt +0 -0
  35. {mdbq-3.9.12 → mdbq-3.9.13}/setup.cfg +0 -0
  36. {mdbq-3.9.12 → mdbq-3.9.13}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: mdbq
3
- Version: 3.9.12
3
+ Version: 3.9.13
4
4
  Home-page: https://pypi.org/project/mdbq
5
5
  Author: xigua,
6
6
  Author-email: 2587125111@qq.com
@@ -0,0 +1 @@
1
+ VERSION = '3.9.13'
@@ -1315,25 +1315,5 @@ def main():
1315
1315
  uploader.close()
1316
1316
 
1317
1317
 
1318
- def test():
1319
- uploader = MySQLUploader(username='root', password='188988yang188', host='localhost')
1320
-
1321
- # 测试按月分表
1322
- table_name = uploader._get_partition_table_name(
1323
- table_name='test_table',
1324
- date_value='2025-01-15',
1325
- partition_by='month'
1326
- )
1327
- print(table_name) # 输出: test_table_2025-01
1328
-
1329
- # 测试按年分表
1330
- table_name = uploader._get_partition_table_name(
1331
- table_name='test_table',
1332
- date_value='2025-01-15',
1333
- partition_by='year'
1334
- )
1335
- print(table_name) # 输出: test_table_2025
1336
-
1337
-
1338
1318
  if __name__ == '__main__':
1339
- test()
1319
+ main()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: mdbq
3
- Version: 3.9.12
3
+ Version: 3.9.13
4
4
  Home-page: https://pypi.org/project/mdbq
5
5
  Author: xigua,
6
6
  Author-email: 2587125111@qq.com
@@ -1 +0,0 @@
1
- VERSION = '3.9.12'
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