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
Metadata
Release files for dp_wizard_templates 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dp_wizard_templates-0.9.0.tar.gz | 158.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dp_wizard_templates-0.9.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 170.8 kB
Release files / dp_wizard_templates-0.9.0.tar.gz
| Download URL | dp_wizard_templates-0.9.0.tar.gz |
|---|---|
| Size | 158.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1543585191c0dc5fad46068c93c65e73b2c03ca4e93083d1c6c3bbcfc100690
|
|
BLAKE2b-256 checksum How to use checksums |
031922b24bf7ebbb7c97d8158dfe8d04c4859a6ef7d2e2aa3a84f8e3153b1356
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|
Release files / dp_wizard_templates-0.9.0-py2.py3-none-any.whl
| Download URL | dp_wizard_templates-0.9.0-py2.py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
975c3110537a0bde349ab76960dea195e8b89357da1eea55a07d8b605acc9858
|
|
BLAKE2b-256 checksum How to use checksums |
16ce6a6c306c400e9760447011a0c5325431ea68c663d5f859781a476d5bc394
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|