Skip to main content

Facilitates data generation algorithm and their evaluation processes

Project description

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


🔗 Links 連結


📧 Contact 聯絡

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

petsard-1.10.1.tar.gz (207.9 kB view details)

Uploaded Source

Built Distribution

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

petsard-1.10.1-py3-none-any.whl (238.7 kB view details)

Uploaded Python 3

File details

Details for the file petsard-1.10.1.tar.gz.

File metadata

  • Download URL: petsard-1.10.1.tar.gz
  • Upload date:
  • Size: 207.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.3

File hashes

Hashes for petsard-1.10.1.tar.gz
Algorithm Hash digest
SHA256 85f1e8f9985c7357eae531f3dd31f5fc198a830396214cbfd03a39a6b79468b3
MD5 a2ddf3a159d298e8d5acc6fb2e913d99
BLAKE2b-256 41298f76e40ec645e2c169f8a665f5cb0e27d5e62149556bd74a57d9dd2c5edf

See more details on using hashes here.

File details

Details for the file petsard-1.10.1-py3-none-any.whl.

File metadata

  • Download URL: petsard-1.10.1-py3-none-any.whl
  • Upload date:
  • Size: 238.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.3

File hashes

Hashes for petsard-1.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 640221fbfef59937d8c9e4027fde9524598011c206ed094d246a35bfe0662f6b
MD5 4c2865dc9b11ed6fb016e7a91e7e86fc
BLAKE2b-256 c6a5aa94fb62d2b9e53de73f1b2aeba0819ba1c1474889426fdf0be23b191800

See more details on using hashes here.

Supported by

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