Code templating tools
Project description
DP Wizard Templates
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.pyto update theCHANGELOG.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 theCHANGELOG.md. - Commit your changes, make a PR, and merge this branch to main.
- Run
- Update
mainwith the latest changes:git checkout main; git pull - Publish:
flit publish --pypirc .pypirc
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dp_wizard_templates-0.5.0.tar.gz.
File metadata
- Download URL: dp_wizard_templates-0.5.0.tar.gz
- Upload date:
- Size: 147.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64432f49a57d720b387b43a7c1892d546452276cd9e86d2947afd3299f53a749
|
|
| MD5 |
03d0617ece34ab27c6c924cc708fcb9b
|
|
| BLAKE2b-256 |
2fb6811b713a3649e4912d733df095db81a4400b757a44dcb877776245d36245
|
File details
Details for the file dp_wizard_templates-0.5.0-py2.py3-none-any.whl.
File metadata
- Download URL: dp_wizard_templates-0.5.0-py2.py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30130c83d335654bb5c15a3e00d4cc2e406d07c15a5c31060f2ba6831b226ccb
|
|
| MD5 |
f892e9a26ac01ab060ee91fe6e8eaeb2
|
|
| BLAKE2b-256 |
ebcf6414eff656bafa62c483ceec50c3b09f6e075b218006853ed32b78d5333f
|