This is a Python library for creating synthetic RT DICOM images, usually for testing of machine QA analysis software such as pylinac. It can also generate RT DICOM Plan files for use in delivering machine QA plans.
Installation
Conjuror can be installed via pip:
pip install conjuror
Developer Installation
To install the development version of Conjuror, clone the repository and install it in editable mode:
uv venv
uv pip install .[developer]
Additionally, the developer should install pre-commit hooks to ensure linting and format consistency:
pre-commit install
For one-off checks of the repo:
pre-commit run --all-files
Usage
from conjuror import PlanGenerator, PicketFence
conjuror = PlanGenerator()
conjuror.add_beamset(PicketFence(num_pickets=7))
Metadata
Release files for conjuror 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| conjuror-0.1.2.tar.gz | 55.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| conjuror-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 102.4 kB
Release files / conjuror-0.1.2.tar.gz
| Download URL | conjuror-0.1.2.tar.gz |
|---|---|
| Size | 55.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f6588fc4ea0ea58625abffd5606a969e757f1d2a901525f3feeaca3f1b0a0a3
|
|
BLAKE2b-256 checksum How to use checksums |
394bc8de24b720b568e8639ba19aa4b4bf9df7d024e82f63e77f7dcef0039c13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.5
|
Release files / conjuror-0.1.2-py3-none-any.whl
| Download URL | conjuror-0.1.2-py3-none-any.whl |
|---|---|
| Size | 46.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a97c1459df1358aa726d2eac343910de9122226e4335c0662765880aba1b3d81
|
|
BLAKE2b-256 checksum How to use checksums |
d920c92a2cbd00cee01d3040692042602abc88d62f47063a3b544dfd40cc5260
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.5
|