datasentry-core
DataSentry AI 核心领域模型与引擎:连接器、检测器、融合、评分、 修复、规则引擎与隐私脱敏。纯离线、零网络依赖,可独立测试。
pip install datasentry-core
模块
connectors/— 多格式数据源(CSV / Parquet / JSONL / XLSX)detectors/— 检测器注册表与 36+ 内置检测器(Detector协议)engine/— 画像、融合、评分repair/— 修复引擎(propose → preview → apply → rollback)rules/— 规则模型与预运行引擎(期望语义取反)privacy/— 确定性 PII 脱敏(mask_profile / mask_rows)llm/— LLM Provider 协议与数据结构(零网络)plugins.py— 检测器插件加载(插件 API v1,ADR-031)
使用
from datasentry_core.connectors import DataSourceSpec, default_registry
from datasentry_core.detectors.initial import register_default_detectors
from datasentry_core.detectors import DetectorRegistry
from datasentry_core.detectors.runner import ScanRunner
registry = DetectorRegistry()
register_default_detectors(registry)
runner = ScanRunner(registry)
handle = default_registry().open(DataSourceSpec(source_type="csv", path="data.csv"))
runs = runner.run_all(handle, config)
许可
Apache-2.0。完整产品(CLI / API / UI)见 datasentry 包。
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datasentry_core-0.6.0.tar.gz.
File metadata
- Download URL: datasentry_core-0.6.0.tar.gz
- Upload date:
- Size: 102.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2018721f50206fb2b999d5952044f7ba5f7775f02306202d7256d1364494533a
|
|
| MD5 |
4eacc8e7848b6848378dd8cdf6c8f7d5
|
|
| BLAKE2b-256 |
0a27244ef150d0dc93e34e9ca6d87fde8cb5d75b351c0e2e8a7fa30ff3c1d37d
|
Provenance
The following attestation bundles were made for datasentry_core-0.6.0.tar.gz:
Publisher:
publish.yml on Jackxiaozhiren/datasentry
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datasentry_core-0.6.0.tar.gz -
Subject digest:
2018721f50206fb2b999d5952044f7ba5f7775f02306202d7256d1364494533a - Sigstore transparency entry: 2431348777
- Sigstore integration time:
-
Permalink:
Jackxiaozhiren/datasentry@ba42c5019e8ecedb7bf788b737e27ad0b770a9fa -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/Jackxiaozhiren
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ba42c5019e8ecedb7bf788b737e27ad0b770a9fa -
Trigger Event:
push
-
Statement type:
File details
Details for the file datasentry_core-0.6.0-py3-none-any.whl.
File metadata
- Download URL: datasentry_core-0.6.0-py3-none-any.whl
- Upload date:
- Size: 154.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b05e963e59e3b98936a12cdedcd10d8b1d305fc2776e79ebf90b3f59831ebd44
|
|
| MD5 |
db145a80eee42782e40394df62fa3817
|
|
| BLAKE2b-256 |
5d9ac5bae52b87021f45520d3c0061ddab7747faa45a31d8e6dff53e5a2ed09b
|
Provenance
The following attestation bundles were made for datasentry_core-0.6.0-py3-none-any.whl:
Publisher:
publish.yml on Jackxiaozhiren/datasentry
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datasentry_core-0.6.0-py3-none-any.whl -
Subject digest:
b05e963e59e3b98936a12cdedcd10d8b1d305fc2776e79ebf90b3f59831ebd44 - Sigstore transparency entry: 2431349043
- Sigstore integration time:
-
Permalink:
Jackxiaozhiren/datasentry@ba42c5019e8ecedb7bf788b737e27ad0b770a9fa -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/Jackxiaozhiren
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ba42c5019e8ecedb7bf788b737e27ad0b770a9fa -
Trigger Event:
push
-
Statement type: