ygo 1.0.10__tar.gz → 1.0.11__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.

Potentially problematic release.


This version of ygo might be problematic. Click here for more details.

Files changed (29) hide show
  1. {ygo-1.0.10 → ygo-1.0.11}/PKG-INFO +1 -1
  2. {ygo-1.0.10 → ygo-1.0.11}/pyproject.toml +1 -1
  3. {ygo-1.0.10 → ygo-1.0.11}/ycat/__init__.py +2 -2
  4. ygo-1.0.10/ycat/updator.py → ygo-1.0.11/ycat/provider.py +4 -4
  5. {ygo-1.0.10 → ygo-1.0.11}/ygo.egg-info/PKG-INFO +1 -1
  6. {ygo-1.0.10 → ygo-1.0.11}/ygo.egg-info/SOURCES.txt +1 -1
  7. {ygo-1.0.10 → ygo-1.0.11}/LICENSE +0 -0
  8. {ygo-1.0.10 → ygo-1.0.11}/README.md +0 -0
  9. {ygo-1.0.10 → ygo-1.0.11}/setup.cfg +0 -0
  10. {ygo-1.0.10 → ygo-1.0.11}/ycat/client.py +0 -0
  11. {ygo-1.0.10 → ygo-1.0.11}/ycat/parse.py +0 -0
  12. {ygo-1.0.10 → ygo-1.0.11}/ycat/qdf/__init__.py +0 -0
  13. {ygo-1.0.10 → ygo-1.0.11}/ycat/qdf/errors.py +0 -0
  14. {ygo-1.0.10 → ygo-1.0.11}/ycat/qdf/expr.py +0 -0
  15. {ygo-1.0.10 → ygo-1.0.11}/ycat/qdf/qdf.py +0 -0
  16. {ygo-1.0.10 → ygo-1.0.11}/ycat/qdf/udf/__init__.py +0 -0
  17. {ygo-1.0.10 → ygo-1.0.11}/ycat/qdf/udf/base_udf.py +0 -0
  18. {ygo-1.0.10 → ygo-1.0.11}/ycat/qdf/udf/cs_udf.py +0 -0
  19. {ygo-1.0.10 → ygo-1.0.11}/ycat/qdf/udf/d_udf.py +0 -0
  20. {ygo-1.0.10 → ygo-1.0.11}/ycat/qdf/udf/ind_udf.py +0 -0
  21. {ygo-1.0.10 → ygo-1.0.11}/ycat/qdf/udf/ts_udf.py +0 -0
  22. {ygo-1.0.10 → ygo-1.0.11}/ygo/__init__.py +0 -0
  23. {ygo-1.0.10 → ygo-1.0.11}/ygo/exceptions.py +0 -0
  24. {ygo-1.0.10 → ygo-1.0.11}/ygo/ygo.py +0 -0
  25. {ygo-1.0.10 → ygo-1.0.11}/ygo.egg-info/dependency_links.txt +0 -0
  26. {ygo-1.0.10 → ygo-1.0.11}/ygo.egg-info/requires.txt +0 -0
  27. {ygo-1.0.10 → ygo-1.0.11}/ygo.egg-info/top_level.txt +0 -0
  28. {ygo-1.0.10 → ygo-1.0.11}/ylog/__init__.py +0 -0
  29. {ygo-1.0.10 → ygo-1.0.11}/ylog/core.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ygo
3
- Version: 1.0.10
3
+ Version: 1.0.11
4
4
  Project-URL: homepage, https://github.com/link-yundi/ygo
5
5
  Project-URL: repository, https://github.com/link-yundi/ygo
6
6
  Requires-Python: >=3.9
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ygo"
7
- version = "1.0.10"
7
+ version = "1.0.11"
8
8
  description = ""
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -18,7 +18,7 @@ from .client import (
18
18
  read_mysql,
19
19
  )
20
20
  from .qdf import from_polars
21
- from .updator import Updator
21
+ from .provider import Provider
22
22
 
23
23
  __all__ = [
24
24
  "HOME",
@@ -29,5 +29,5 @@ __all__ = [
29
29
  "tb_path",
30
30
  "read_ck",
31
31
  "read_mysql",
32
- "Updator",
32
+ "Provider",
33
33
  ]
@@ -17,10 +17,10 @@ from .client import CATDB
17
17
  DATE_FORMAT = "%Y-%m-%d"
18
18
 
19
19
 
20
- class Updator:
20
+ class Provider:
21
21
  """
22
22
  数据更新器
23
- 路径:{ycat.CATDB}/updator/{name}
23
+ 路径:{ycat.CATDB}/provider/{name}
24
24
  """
25
25
 
26
26
  def __init__(self, name: str, update_time="16:30"):
@@ -30,7 +30,7 @@ class Updator:
30
30
  :param update_time: 数据更新时间,默认16:30
31
31
  """
32
32
  self.name = name
33
- self._tb_path = Path(CATDB) / "updator" / name
33
+ self._tb_path = Path(CATDB) / name
34
34
  os.makedirs(self._tb_path, exist_ok=True)
35
35
  self._update_time = update_time
36
36
  self.present = datetime.now().today()
@@ -42,7 +42,7 @@ class Updator:
42
42
 
43
43
  self._tasks = list()
44
44
  self._last_run_file = self._tb_path / f".last_run"
45
- self.logger = ylog.get_logger("updator")
45
+ self.logger = ylog.get_logger("provider")
46
46
 
47
47
  @property
48
48
  def last_update_date(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ygo
3
- Version: 1.0.10
3
+ Version: 1.0.11
4
4
  Project-URL: homepage, https://github.com/link-yundi/ygo
5
5
  Project-URL: repository, https://github.com/link-yundi/ygo
6
6
  Requires-Python: >=3.9
@@ -4,7 +4,7 @@ pyproject.toml
4
4
  ycat/__init__.py
5
5
  ycat/client.py
6
6
  ycat/parse.py
7
- ycat/updator.py
7
+ ycat/provider.py
8
8
  ycat/qdf/__init__.py
9
9
  ycat/qdf/errors.py
10
10
  ycat/qdf/expr.py
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