Skip to main content

Privatized

Project description

Differential Privacy in Sequential Event Logging

license language build badge PyPI version Python version supported


✨ Project Description

Sequential event logs often contain sensitive information. dp-sequential-events implements differential privacy (DP) techniques to anonymize sequential event logs while preserving statistical properties for analysis.

The pipeline follows these steps:

  1. DAFSA annotation of event logs
  2. Filtering based on probabilistic risk measures
  3. Differentially private case sampling
  4. Laplace noise injection for timestamps
  5. Reconstruction of anonymized timestamps
  6. Final privacy-preserving event log generation

🗂 Repository Structure

dp-sequential-events
┣ 📂 src
┃ ┃
┃  📂 dp_sequential_events
┃    📂 main
┃     main.py
┃     annotated.py
┃     filtered.py
┃     case_sampling.py
┃    📂 databases
┣ pyproject.toml
┗ requirements.txt

🚀 Online Execution

You can run the CLI in Google Colab or locally. For Colab: Open in Google Colab

Install from PyPI:

pip install dp-sequential-events

Run the CLI tool:

privseq

👩‍💻 Authors

Marta Jones
Marta Jones

💻
Anailys Hernandez
Anailys Hernandez

💡

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

dp_sequential_events-1.8.1.tar.gz (144.6 kB view details)

Uploaded Source

Built Distribution

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

dp_sequential_events-1.8.1-py3-none-any.whl (144.2 kB view details)

Uploaded Python 3

File details

Details for the file dp_sequential_events-1.8.1.tar.gz.

File metadata

  • Download URL: dp_sequential_events-1.8.1.tar.gz
  • Upload date:
  • Size: 144.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for dp_sequential_events-1.8.1.tar.gz
Algorithm Hash digest
SHA256 927900643c8c439699bc54164367d7f41002628055bb070b8f99ffc5f66de3fe
MD5 02999b6280edb3627257a5aa82f6de0b
BLAKE2b-256 75ff2a30413505d67d5bb5e9b92a59fbbc800ffe4543c31b14a7de20c3641364

See more details on using hashes here.

File details

Details for the file dp_sequential_events-1.8.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dp_sequential_events-1.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 035ac0317c0475ba7e4fe019b454bbad79d6cdc17d8e3bab4e0157a891122d4f
MD5 285b35eec9a64cffc368dc2f0bb22555
BLAKE2b-256 0f8b4d2ec17f78b96954d96f5c160051b1541d0d2e907af8b76f2ddc82e4e3c8

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