Skip to main content

.. include:: ../examples/tutorial.md

Project description

DP Wizard Templates

pypi

DP Wizard Templates lets you use syntactically valid Python code as a template. Templates can be filled and composed to generate entire notebooks.

See the documentation for more information.

Development

Getting Started

On MacOS:

$ git clone https://github.com/opendp/dp-wizard-templates.git
$ cd dp-wizard-templates
$ brew install python@3.10
$ python3.10 -m venv .venv
$ source .venv/bin/activate

You can now install dependencies:

$ pip install -r requirements-dev.txt
$ pre-commit install
$ flit install

Tests should pass, and code coverage should be complete (except blocks we explicitly ignore):

$ scripts/ci.sh

Release

  • Make sure you're up to date, and have the git-ignored credentials file .pypirc.
  • Make one last feature branch with the new version number in the name:
    • Run scripts/changelog.py to update the CHANGELOG.md.
    • Review the updates and pull a couple highlights to the top.
    • Bump dp_wizard/VERSION, and add the new number at the top of the CHANGELOG.md.
    • Commit your changes, make a PR, and merge this branch to main.
  • Update main with the latest changes: git checkout main; git pull
  • Publish: flit publish --pypirc .pypirc

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_wizard_templates-0.8.1.tar.gz (150.9 kB view details)

Uploaded Source

Built Distribution

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

dp_wizard_templates-0.8.1-py2.py3-none-any.whl (10.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file dp_wizard_templates-0.8.1.tar.gz.

File metadata

  • Download URL: dp_wizard_templates-0.8.1.tar.gz
  • Upload date:
  • Size: 150.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.4

File hashes

Hashes for dp_wizard_templates-0.8.1.tar.gz
Algorithm Hash digest
SHA256 a0d4461abc461d8896fab410d70174f4e30fbdff4e729cbb7296d7935f95c115
MD5 562f386071200d35f31baedeaa61758c
BLAKE2b-256 720cb54da373cc4a720f04b3e78cd7bcf8cdbd260b74e617b759fe8614181a7e

See more details on using hashes here.

File details

Details for the file dp_wizard_templates-0.8.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for dp_wizard_templates-0.8.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7e66800454d4d55aeccf5b78e7c6fa9d7f15a769ff51092579dc3c32d357148d
MD5 f05980710641e891b72065c8f5c54e35
BLAKE2b-256 5f310e3ad7250ae58a8b523fefede15adf838ec93e68f8934027a8a926a2bcc3

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