Skip to main content

RSNA DICOM Anonymizer

Project description

RSNA DICOM Anonymizer V18.0

de es fr Tests

Install Python with tkinter (GUI library)

Windows

  1. Download Python 3.12 from python.org (pytorch does not currently support 3.13)
  2. Run installer
    • Select "Add python.exe to PATH"
    • Enable "tcl/tk and IDLE"

macOS

  1. Install Homebrew if not present: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)'
  2. Install Python 3.12 with Tcl/Tk:
brew install python@3.12
brew install tcl-tk

Linux (Ubuntu/Debian)

  1. Install the required packages:
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.12 python3.12-tk

Verify Installation

python --version
python -m tkinter

If python + tkinter has been installed successfully a small GUI window should open

Install rsna-anonymizer package from PyPI

pip install rsna-anonymizer

Execution

rsna-anonymizer

Headless Mode

You need to provide a path to a project configuration to run in headless mode rsna-anonymizer -c path/to/ProjectModel.json

Upgrading

pip install --upgrade rsna-anonymizer

Documentation

Help files

Development

Setup

  1. Setup python environment (>3.10) which includes Tkinter, recommend using pyenv with MacOS & Linux
  2. Ensure python is installed with Tkinter: python -m tkinter, a small GUI window should open
  3. Install poetry: pip install poetry
  4. Set virtual environment within project: poetry config virtualenvs.in-project true
  5. Clone repository
  6. Setup virtual environment and install all dependencies listed in pyproject.toml: poetry install --with dev

Unit Testing

For model and controller with coverage

1. Create tests/controller/.env file with your AWS_USERNAME and AWS_PASSWORD
2. poetry run pytest

Translations

Languages for 17.3: en_US, de, es, fr

Ensure gettext is installed:

  1. Windows: Install instructions or choco install gettext
  2. Mac OSX: brew install gettext
  3. Linux: sudo apt-get install gettext

Extracting messages from source files:

cd src/anonymizer/assets/locales/ ./extract_translations.sh

Updating translations:

cd src/anonymizer/assets/locales/ ./update_translations.sh

Software Architecture

Full class diagram on github here

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

rsna_anonymizer-18.0.7.tar.gz (10.8 MB view details)

Uploaded Source

Built Distribution

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

rsna_anonymizer-18.0.7-py3-none-any.whl (10.9 MB view details)

Uploaded Python 3

File details

Details for the file rsna_anonymizer-18.0.7.tar.gz.

File metadata

  • Download URL: rsna_anonymizer-18.0.7.tar.gz
  • Upload date:
  • Size: 10.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rsna_anonymizer-18.0.7.tar.gz
Algorithm Hash digest
SHA256 1d5ae627fb891287b06594e92ae713439a1914f6f2dc3a9a67a9a3ffb42f84a5
MD5 17ddb8c72435b2eaad2482f7877bcbd2
BLAKE2b-256 2225c482fffe21be0b046ec119bedaafadc0f75bf3f32d3df4871460a9da6ad4

See more details on using hashes here.

Provenance

The following attestation bundles were made for rsna_anonymizer-18.0.7.tar.gz:

Publisher: release.yaml on RSNA/anonymizer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rsna_anonymizer-18.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for rsna_anonymizer-18.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a32e8925c645e814c810cc6a67d4a454bd86ad40d38d0fe3a04a856e53c7b699
MD5 6f849bbbd85f1a611bee6fdb933b5044
BLAKE2b-256 8cac24da0004a2b5a73d751771ade9f5ae07a74329301f842fb4ca3ca38809dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for rsna_anonymizer-18.0.7-py3-none-any.whl:

Publisher: release.yaml on RSNA/anonymizer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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