Skip to main content

Code templating tools

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.6.0.tar.gz (149.0 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.6.0-py2.py3-none-any.whl (8.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for dp_wizard_templates-0.6.0.tar.gz
Algorithm Hash digest
SHA256 56c0686b86e521c3aac98ba4e7973bec9bc2d2fc527f34d3dfcb3eb587a67e1c
MD5 be01a5ebd84b5a74384adda4b8160e2a
BLAKE2b-256 ae759d2df0baa7059e59546d25c97432d1ad4ea1e94ca1f915c5ff38219ba970

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dp_wizard_templates-0.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c2157df0b00f6f257ecdbc6f2fc0cd10d75cd58ec07a97eca75c52e81d1a63a4
MD5 7a5acc747520dc2ae9c1efc27cfd2a1c
BLAKE2b-256 4b0cfbcf07565ece2f0e1df81cc88840cc9abeadace13285672f50fe29272013

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