nlalpha-data 0.3.0__tar.gz → 0.3.1__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 (35) hide show
  1. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/PKG-INFO +5 -3
  2. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/README.md +4 -2
  3. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/README.zh.md +4 -2
  4. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/pyproject.toml +1 -1
  5. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/.dockerignore +0 -0
  6. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/.gitignore +0 -0
  7. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/Dockerfile +0 -0
  8. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/LICENSE +0 -0
  9. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/src/nlalpha_data/__init__.py +0 -0
  10. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/src/nlalpha_data/bars_aligner.py +0 -0
  11. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/src/nlalpha_data/base.py +0 -0
  12. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/src/nlalpha_data/calendar/__init__.py +0 -0
  13. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/src/nlalpha_data/calendar/cn_equity.py +0 -0
  14. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/src/nlalpha_data/calendar/futures.py +0 -0
  15. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/src/nlalpha_data/calendar/us_equity.py +0 -0
  16. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/src/nlalpha_data/calendar_base.py +0 -0
  17. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/src/nlalpha_data/calendar_tools.py +0 -0
  18. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/src/nlalpha_data/discovery.py +0 -0
  19. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/src/nlalpha_data/knowledge/loading.md +0 -0
  20. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/src/nlalpha_data/knowledge/local-provider.md +0 -0
  21. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/src/nlalpha_data/loader.py +0 -0
  22. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/src/nlalpha_data/local_provider.py +0 -0
  23. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/src/nlalpha_data/mock_provider.py +0 -0
  24. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/src/nlalpha_data/parquet_store.py +0 -0
  25. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/src/nlalpha_data/server.py +0 -0
  26. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/src/nlalpha_data/sqlite_store.py +0 -0
  27. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/src/nlalpha_data/store.py +0 -0
  28. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/tests/test_cache_contract.py +0 -0
  29. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/tests/test_confess_contract.py +0 -0
  30. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/tests/test_discovery.py +0 -0
  31. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/tests/test_failure_envelope.py +0 -0
  32. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/tests/test_loader.py +0 -0
  33. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/tests/test_mock_provider.py +0 -0
  34. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/tests/test_self_description.py +0 -0
  35. {nlalpha_data-0.3.0 → nlalpha_data-0.3.1}/tests/test_server_artifacts.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: nlalpha-data
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Financial data infrastructure for nlalpha: providers, stores, and trading calendars
5
5
  Project-URL: Homepage, https://github.com/ruimarj/nlalpha-data
6
6
  Project-URL: Repository, https://github.com/ruimarj/nlalpha-data
@@ -22,7 +22,7 @@ Provides-Extra: s3
22
22
  Requires-Dist: nlalpha-core[s3]>=0.7.0; extra == 's3'
23
23
  Description-Content-Type: text/markdown
24
24
 
25
- # nlalpha-data 0.3.0
25
+ # nlalpha-data 0.3.1
26
26
 
27
27
  Data-access MCP server: provides market data access, coverage checks, quality evaluation, and trading calendar capabilities for strategy generation and backtesting, and publishes immutable data to other nlalpha services through the core `DataArtifactStore`.
28
28
 
@@ -100,9 +100,11 @@ DNS rebinding protection stays enabled. Allowed hosts are configured explicitly
100
100
  ```bash
101
101
  NLALPHA_ARTIFACT_BACKEND=redis \
102
102
  NLALPHA_ARTIFACT_REDIS_URL=redis://127.0.0.1:6379/0 \
103
- uvicorn nlalpha_data.server:app --host 127.0.0.1 --port 8000
103
+ nlalpha-data
104
104
  ```
105
105
 
106
+ `NLALPHA_HOST` and `NLALPHA_PORT` default to `127.0.0.1` and `8000`; `python -m nlalpha_data.server` is the equivalent module entry point.
107
+
106
108
  Production or container deployments should explicitly select a network-reachable Redis or S3 endpoint and set the allowed hosts. S3 deployments also require bucket lifecycle rules to be configured in advance; MinIO is only an optional S3 implementation.
107
109
 
108
110
  ## Source time contract
@@ -1,4 +1,4 @@
1
- # nlalpha-data 0.3.0
1
+ # nlalpha-data 0.3.1
2
2
 
3
3
  Data-access MCP server: provides market data access, coverage checks, quality evaluation, and trading calendar capabilities for strategy generation and backtesting, and publishes immutable data to other nlalpha services through the core `DataArtifactStore`.
4
4
 
@@ -76,9 +76,11 @@ DNS rebinding protection stays enabled. Allowed hosts are configured explicitly
76
76
  ```bash
77
77
  NLALPHA_ARTIFACT_BACKEND=redis \
78
78
  NLALPHA_ARTIFACT_REDIS_URL=redis://127.0.0.1:6379/0 \
79
- uvicorn nlalpha_data.server:app --host 127.0.0.1 --port 8000
79
+ nlalpha-data
80
80
  ```
81
81
 
82
+ `NLALPHA_HOST` and `NLALPHA_PORT` default to `127.0.0.1` and `8000`; `python -m nlalpha_data.server` is the equivalent module entry point.
83
+
82
84
  Production or container deployments should explicitly select a network-reachable Redis or S3 endpoint and set the allowed hosts. S3 deployments also require bucket lifecycle rules to be configured in advance; MinIO is only an optional S3 implementation.
83
85
 
84
86
  ## Source time contract
@@ -1,4 +1,4 @@
1
- # nlalpha-data 0.3.0
1
+ # nlalpha-data 0.3.1
2
2
 
3
3
  数据接入 MCP Server:为策略生成与回测提供行情数据接入、覆盖检查、质量评估与交易日历能力,并通过 core `DataArtifactStore` 向其他 nlalpha 服务交付不可变数据。
4
4
 
@@ -76,9 +76,11 @@ DNS rebinding 防护保持开启。允许的 Host 通过 `create_app(allowed_hos
76
76
  ```bash
77
77
  NLALPHA_ARTIFACT_BACKEND=redis \
78
78
  NLALPHA_ARTIFACT_REDIS_URL=redis://127.0.0.1:6379/0 \
79
- uvicorn nlalpha_data.server:app --host 127.0.0.1 --port 8000
79
+ nlalpha-data
80
80
  ```
81
81
 
82
+ `NLALPHA_HOST` 与 `NLALPHA_PORT` 默认 `127.0.0.1`/`8000`;等价的模块入口是 `python -m nlalpha_data.server`。
83
+
82
84
  生产或容器部署应显式选择网络可达的 Redis 或 S3 endpoint,并设置允许的 Host。S3 部署还需提前配置 bucket 生命周期规则;MinIO 只是可选的 S3 实现。
83
85
 
84
86
  ## Source time contract
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "nlalpha-data"
7
- version = "0.3.0"
7
+ version = "0.3.1"
8
8
  description = "Financial data infrastructure for nlalpha: providers, stores, and trading calendars"
9
9
  readme = "README.md"
10
10
  license = "AGPL-3.0-or-later"
File without changes
File without changes
File without changes
File without changes