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 包。

Metadata

Release files for datasentry-core 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datasentry-core 0.9.0
File Size Uploaded Provenance Actions
datasentry_core-0.9.0.tar.gz 178.9 kB With provenance Details for datasentry_core-0.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for datasentry-core 0.9.0
File Interpreter ABI Platform Actions
datasentry_core-0.9.0-py3-none-any.whl Python 3 none any Details for datasentry_core-0.9.0-py3-none-any.whl

Total release size: 426.2 kB

Release files / datasentry_core-0.9.0.tar.gz

Download URL datasentry_core-0.9.0.tar.gz
Size 178.9 kB
Tags Source
SHA-256 checksum
How to use checksums
18805b0feda616928c1a991967e28e747b1361abcaeaf370d55a0250a93595a0
BLAKE2b-256 checksum
How to use checksums
954dc1dbf47a76c930d66be6936df2ef0bf5ef1196beaaeb64c50b7f586c4027
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / datasentry_core-0.9.0-py3-none-any.whl

Download URL datasentry_core-0.9.0-py3-none-any.whl
Size 247.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b918185fc00f0816273f40aa7cc455d03bc34ce0c86113ad53bef814cd99f53a
BLAKE2b-256 checksum
How to use checksums
c0e06d7f0b6c13d329567c42ca7c28447544f1b079055a2b4e39eca349ed2605
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Security for datasentry-core 0.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for datasentry_core-0.9.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page