Skip to content

privjail/privjail

Repository files navigation

PrivJail

PrivJail (Privacy Jail) enforces differential privacy in Python.

Warning: This project is in development and not recommended for production use.

Security and stability are not guaranteed, and breaking changes may occur. Use at your own risk.

Getting Started

To install PrivJail:

pip install privjail

To run a decision tree example:

cd examples/
./download_dataset_adult.bash
python decision_tree.py

Development

This project is managed using uv.

Launch a REPL with PrivJail loaded:

uv run python

Test:

uv run pytest

Type check:

uv run mypy --strict src/ test/

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Copyright 2025 TOYOTA MOTOR CORPORATION.

About

Enforcing differential privacy in Python

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages