Skip to content
Projects

uvm-plaid/programming-dp has 344 GitHub stars and 91 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-17 04:44 UTC. Last push 2026-09-19.

How these counts are measured

Measured star growth

in 24h
0
in 7 days
Update delayed
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

This is the source repository for the book "Programming Differential Privacy." You can find the book online here!.

Developer Tools

README.md

Original

Programming Differential Privacy

This is the source repository for the book "Programming Differential Privacy." You can find the book online here!.

Build Notes

The English book (notebooks/) and the Chinese translation (zh_cn/notebooks/) are built with Jupyter Book 2; each has a myst.yml.

Deploys are automatic: every push to master runs .github/workflows/deploy.yml, which builds both books and publishes them to the gh-pages branch (English at /, Chinese at /cn/). Executed notebook outputs are cached, so only notebooks that changed are re-run.

To build locally you need Python 3.12, uv, Node.js 20+, and XeLaTeX with ctex (e.g. MacTeX) for the PDFs:

uv venv --python 3.12 .venv
uv pip install --python .venv/bin/python -r requirements.txt
./build.sh

This builds both books (html and pdf) with --strict, so any build warning fails the build, and assembles the site in _site/. To preview one book while editing:

cd notebooks && ../.venv/bin/jupyter-book start --execute

./deploy.sh builds and publishes from your machine, bypassing CI.

License

License: CC BY-NC-SA 4.0 License: MIT

  • The book content is licensed under CC BY-NC-SA 4.0:
    You may share and adapt with attribution, for non-commercial purposes, and under the same license.

  • The code examples are licensed under the MIT License:
    You may use, modify, and distribute the code freely, even for commercial use.