Skip to main content

Python 3.10 Python 3.11 Contributions welcome PyPI - Status

PETsARD (Privacy Enhancing Technologies Analysis, Research, and Development, /pəˈtɑrd/) is a Python library for facilitating synthetic data generation and evaluation processes.

PETsARD(隱私強化技術分析、研究與開發)是一套為了促進合成資料生成與評估過程而設計的 Python 程式庫。


✨ Features 主要功能

  • 🔄 Data Generation 資料生成: Multiple synthetic data generation algorithms 多種合成資料生成演算法
  • 🔒 Privacy Evaluation 隱私評估: Comprehensive privacy risk assessment 全面的隱私風險評估
  • 📊 Utility Metrics 效用指標: Data quality and utility measurements 資料品質與效用測量
  • 🎯 Flexible Configuration 靈活配置: YAML-based workflow configuration 基於 YAML 的工作流程配置
  • 📦 Benchmark Datasets 基準資料集: Built-in benchmark dataset support 內建基準資料集支援

📚 Documentation 文件

Website 網站: https://nics-dp.github.io/petsard/

📦 Installation 安裝

  • PyPI installation PyPI 安裝
  • Docker deployment Docker 部署
  • Offline setup 離線設置

🚀 Getting Started 入門指南

  • Default synthesis workflow 預設合成流程
  • Using external synthetic data 使用外部合成資料

🎯 Evaluation Purpose 評估目的

  • Experiment design 實驗設計
  • Fidelity vs. utility 保真度與效用
  • Privacy risk estimation 隱私風險估計

⚙️ Data Property Adjustment 資料屬性調整

  • Long-tail distribution handling 長尾分佈處理
  • Time anchoring 時間錨定
  • Uniform encoding 統一編碼

📝 YAML Configuration YAML 配置

  • Executor, Loader, Splitter 執行器、載入器、分割器
  • Preprocessor, Synthesizer, Postprocessor 前處理器、合成器、後處理器
  • Evaluator, Constrainer, Reporter 評估器、約束器、報告器

📋 Schema YAML 綱要配置

  • Data types and logical types 資料型別與邏輯型別
  • Attribute parameters 屬性參數
  • Statistics configuration 統計配置

🐍 Python API

  • Programmatic usage API 參考 API reference

👨‍💻 Developer Guide 開發者指南

  • Development setup 開發環境設置
  • Test coverage 測試覆蓋率

📚 Glossary 詞彙表

  • Key terminology 關鍵術語

⚠️ Error Handling 錯誤處理

  • Common errors and solutions 常見錯誤與解決方案

🛠️ Development 開發

Requirements 需求

  • Python 3.10 or 3.11 Python 3.10 或 3.11

Quick Start 快速開始

# Install 安裝
pip install petsard

# Run tests 執行測試
pip install petsard[dev]
pytest

📄 License 授權

This project is licensed under MIT License. See LICENSE for details.

本專案採用 MIT License 授權。詳見 LICENSE。



📧 Contact 聯絡

For questions or support: 如有問題或需要支援:

  • Open an issue on GitHub 在 GitHub 開啟 issue
  • Check the documentation 查看文件

Metadata

Release files for petsard 1.10.1

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

Source distribution (sdist)

Source distribution for petsard 1.10.1
File Size Uploaded Provenance Actions
petsard-1.10.1.tar.gz 207.9 kB Without provenance Details for petsard-1.10.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for petsard 1.10.1
File Interpreter ABI Platform Actions
petsard-1.10.1-py3-none-any.whl Python 3 none any Details for petsard-1.10.1-py3-none-any.whl

Total release size: 446.6 kB

Release files / petsard-1.10.1.tar.gz

Download URL petsard-1.10.1.tar.gz
Size 207.9 kB
Tags Source
SHA-256 checksum
How to use checksums
85f1e8f9985c7357eae531f3dd31f5fc198a830396214cbfd03a39a6b79468b3
BLAKE2b-256 checksum
How to use checksums
41298f76e40ec645e2c169f8a665f5cb0e27d5e62149556bd74a57d9dd2c5edf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.3

Release files / petsard-1.10.1-py3-none-any.whl

Download URL petsard-1.10.1-py3-none-any.whl
Size 238.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
640221fbfef59937d8c9e4027fde9524598011c206ed094d246a35bfe0662f6b
BLAKE2b-256 checksum
How to use checksums
c6a5aa94fb62d2b9e53de73f1b2aeba0819ba1c1474889426fdf0be23b191800
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.3

Security for petsard 1.10.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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