Skip to main content

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

datasentry_core-0.5.0.tar.gz (99.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datasentry_core-0.5.0-py3-none-any.whl (149.4 kB view details)

Uploaded Python 3

File details

Details for the file datasentry_core-0.5.0.tar.gz.

File metadata

  • Download URL: datasentry_core-0.5.0.tar.gz
  • Upload date:
  • Size: 99.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for datasentry_core-0.5.0.tar.gz
Algorithm Hash digest
SHA256 ff989cd57dd796259dbd2e4d23ff4a809d56bf61f523b16ce491dde5aa1ea97e
MD5 ff7627f4e8a6d8b5e2bfdf7389aec3f4
BLAKE2b-256 eeb0b00f1d1caf513373d507aa60007a0e020e1e6b70fcd00dd98d1783a9cc92

See more details on using hashes here.

Provenance

The following attestation bundles were made for datasentry_core-0.5.0.tar.gz:

Publisher: publish.yml on Jackxiaozhiren/datasentry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file datasentry_core-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: datasentry_core-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 149.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for datasentry_core-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 756906b714766f647dec8ac0a355c4be82fb5b819ad97db7f85ce5938d24de6d
MD5 243a216087a8596b205ee6f76ebe68e8
BLAKE2b-256 8a92b886583d568e22cd6467cb8567c8e470ececbfe181854a7e00a78a97ec0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for datasentry_core-0.5.0-py3-none-any.whl:

Publisher: publish.yml on Jackxiaozhiren/datasentry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page