wqbkit 0.3.2__tar.gz → 0.3.3__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 (46) hide show
  1. {wqbkit-0.3.2 → wqbkit-0.3.3}/PKG-INFO +1 -1
  2. {wqbkit-0.3.2 → wqbkit-0.3.3}/app/database/alpha_db_manager.py +2 -2
  3. {wqbkit-0.3.2 → wqbkit-0.3.3}/pyproject.toml +1 -1
  4. {wqbkit-0.3.2 → wqbkit-0.3.3}/.github/workflows/publish.yml +0 -0
  5. {wqbkit-0.3.2 → wqbkit-0.3.3}/.gitignore +0 -0
  6. {wqbkit-0.3.2 → wqbkit-0.3.3}/LICENSE +0 -0
  7. {wqbkit-0.3.2 → wqbkit-0.3.3}/README.md +0 -0
  8. {wqbkit-0.3.2 → wqbkit-0.3.3}/__init__.py +0 -0
  9. {wqbkit-0.3.2 → wqbkit-0.3.3}/app/__init__.py +0 -0
  10. {wqbkit-0.3.2 → wqbkit-0.3.3}/app/config.py +0 -0
  11. {wqbkit-0.3.2 → wqbkit-0.3.3}/app/core/__init__.py +0 -0
  12. {wqbkit-0.3.2 → wqbkit-0.3.3}/app/core/alpha_base_core.py +0 -0
  13. {wqbkit-0.3.2 → wqbkit-0.3.3}/app/core/alpha_db_core.py +0 -0
  14. {wqbkit-0.3.2 → wqbkit-0.3.3}/app/core/decorators.py +0 -0
  15. {wqbkit-0.3.2 → wqbkit-0.3.3}/app/core/logger.py +0 -0
  16. {wqbkit-0.3.2 → wqbkit-0.3.3}/app/core/wqb_urls.py +0 -0
  17. {wqbkit-0.3.2 → wqbkit-0.3.3}/app/database/__init__.py +0 -0
  18. {wqbkit-0.3.2 → wqbkit-0.3.3}/app/database/db_models.py +0 -0
  19. {wqbkit-0.3.2 → wqbkit-0.3.3}/app/database/schemas.py +0 -0
  20. {wqbkit-0.3.2 → wqbkit-0.3.3}/app/utils/alpha_utils.py +0 -0
  21. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/__init__.py +0 -0
  22. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/competitions/Osmosis/osmosis_allocator_v3.py +0 -0
  23. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/competitions/Osmosis/osmosis_clear_v3.py +0 -0
  24. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/competitions/Osmosis/osmosis_runner_v3.py +0 -0
  25. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/competitions/Osmosis/osmosis_selector_v3.py +0 -0
  26. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/competitions/__init__.py +0 -0
  27. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/correlation/__init__.py +0 -0
  28. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/correlation/alpha_calc_corr.py +0 -0
  29. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/message/__init__.py +0 -0
  30. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/message/alpha_message_sender.py +0 -0
  31. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/regular_alpha/__init__.py +0 -0
  32. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/regular_alpha/alpha_machine/__init__.py +0 -0
  33. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/regular_alpha/alpha_machine/alpha_generator.py +0 -0
  34. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/regular_alpha/alpha_machine/alpha_machine.py +0 -0
  35. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/regular_alpha/alpha_machine/config/constants.py +0 -0
  36. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/regular_alpha/alpha_machine/config/events.py +0 -0
  37. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/regular_alpha/alpha_machine/config/groups.py +0 -0
  38. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/regular_alpha/alpha_machine/config/operators.py +0 -0
  39. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/regular_alpha/alpha_simulator/__init__.py +0 -0
  40. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/regular_alpha/alpha_simulator/alpha_simulator.py +0 -0
  41. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/regular_alpha/alpha_simulator/neutralization.json +0 -0
  42. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/regular_alpha/alpha_simulator/setting.json +0 -0
  43. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/super_alpha/__init__.py +0 -0
  44. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/super_alpha/alpha_dyeing.py +0 -0
  45. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/super_alpha/super_alpha_creator.py +0 -0
  46. {wqbkit-0.3.2 → wqbkit-0.3.3}/modules/super_alpha/super_alpha_simulator.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wqbkit
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: WorldQuant Brain Alpha Research Automation Toolkit
5
5
  Project-URL: Homepage, https://github.com/Crotes/wqbkit
6
6
  Project-URL: Issues, https://github.com/Crotes/wqbkit/issues
@@ -15,7 +15,7 @@ from wqbkit.app.config import config
15
15
 
16
16
  from .db_models import (
17
17
  AlphaCorr, AlphaFactor, AlphaPnl, AlphaSimulated,
18
- AlphaTask, get_session_factory, SuperAlpha, FieldCategory
18
+ AlphaTask, get_engine, SuperAlpha, FieldCategory
19
19
  )
20
20
 
21
21
  # 配置日志
@@ -47,7 +47,7 @@ class AlphaDBManager:
47
47
  raise RuntimeError(
48
48
  "Database is disabled. Set DB_ENABLE=true in .env to enable DB features."
49
49
  )
50
- self._session_factory = scoped_session(sessionmaker(bind=get_session_factory().bind))
50
+ self._session_factory = scoped_session(sessionmaker(bind=get_engine()))
51
51
 
52
52
  @contextmanager
53
53
  def session_scope(self) -> Generator[SQLAlchemySession, None, None]:
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "wqbkit"
7
- version = "0.3.2"
7
+ version = "0.3.3"
8
8
  description = "WorldQuant Brain Alpha Research Automation Toolkit"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
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