Python Orthanc Tools
Project description
python-orthanc-tools
A set of python tools to ease Orthanc scripting.
Functionalities are very limited now ! Backward compat will break a lot in the near future !
Examples:
from orthanc_tools import OrthancCloner
from orthanc_api_client import OrthancApiClient
orthanc_a = OrthancApiClient('http://localhost:8042', user='orthanc', pwd='orthanc')
orthanc_b = OrthancApiClient('http://localhost:8043', user='orthanc', pwd='orthanc')
cloner = OrthancCloner(source=orthanc_a, destination=orthanc_b)
cloner.execute()
import files from a folder from a Docker container
$ docker exec -it xxxx bash
/# pip3 install orthanc-tools
/# python3 -m orthanc_tools.orthanc_folder_importer --folder=/import --url=http://localhost:8042 --user=test --pwd=test --skip_extensions=.cne,.bmp,.ini
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
orthanc_tools-0.0.5.tar.gz
(7.5 kB
view hashes)
Built Distribution
Close
Hashes for orthanc_tools-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 061554bfe22e140329580a34d4a4e2adc217b551959db1486b313857989c48fd |
|
MD5 | 30d50d44f3c14aeb3f308770c39b282d |
|
BLAKE2b-256 | 83ac3e20ec919f255bd47bd7692a2c3e77a36fca4365cdf11dd59a1b0dd999ab |