Skip to content

Commit e55d444

Browse files
committed
adding the py[roject.toml and setup.cfg files
1 parent afe4c4b commit e55d444

10 files changed

+158
-1
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ htmlcov
1010
.coverage
1111
coverage.xml
1212
**/*.log
13-
/tests/data
13+
/tests/data

Niffler.egg-info/PKG-INFO

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
Metadata-Version: 2.1
2+
Name: Niffler
3+
Version: 0.9.3
4+
Summary: Niffler: A DICOM Framework for Machine Learning and Processing Pipelines.
5+
Home-page: https://github.com/Emory-HITI/Niffler
6+
Author: Soham Mulye
7+
Author-email: [email protected]
8+
Project-URL: Bug Tracker, https://github.com/Emory-HITI/Niffler/issues
9+
Classifier: Programming Language :: Python :: 3
10+
Classifier: License :: OSI Approved :: MIT License
11+
Classifier: Operating System :: OS Independent
12+
Description-Content-Type: text/markdown
13+
Provides-Extra: dev
14+
License-File: LICENSE
15+
16+
# Niffler: A DICOM Framework for Machine Learning and Processing Pipelines.
17+
18+
Niffler is a lightweight framework to facilitate executing machine learning pipelines and processing workflows on DICOM images and metadata. Niffler facilitates efficient transfer of DICOM images on-demand and real-time from PACS to the research environments. Niffler is also integrated with the radiology information system (RIS) to get clinical data in real-time. The DICOM images from the PACS and clinical data retrieved from the RIS can be used in conjunction in real-time as well as retrospectively on-demand.
19+
20+
The Niffler framework consists of:
21+
- On-demand and real-time retrieval and processing of DICOM images from the PACS environment configured to accept requests from a deployment of Niffler.
22+
- Acquisition and processing of clinical data from a RIS, to enable real-time analytics (RTA).
23+
- Supportive utility functions such as DICOM → PNG conversion, DICOM → NifTi conversion, DICOM anonymization, and the workflows module.
24+
- Scanner Usage Visualization with PACS And RIS data algorithm (modules/suvpar).
25+
- Sample applications of the Niffler modules (modules/app-layer).
26+
27+
Niffler enables receiving DICOM images real-time as a data stream from PACS as well as specific DICOM data based on a series of DICOM C-MOV queries. The Niffler real-time DICOM receiver extracts the metadata free of PHI as the images arrive, store the metadata in a Mongo database, and deletes the images nightly. The on-demand extractor reads a CSV file provided by the user (consisting of a list of values for PatientID, AccessionNumber, or other DICOM keywords), and performs a series of DICOM C-MOVE requests to receive them from the PACS, without manually querying them. Niffler also provides additional features such as converting DICOM images into PNG images, and perform additional computations such as computing scanner utilization and finding scanners with misconfigured clocks.
28+
29+
30+
# Configure Niffler
31+
32+
Niffler consists of multiple modules, inside the modules folder. Here we will look into the common configuration and installation steps of Niffler. An introduction to Niffler can be found [here](https://emory-hiti.github.io/Niffler/).
33+
34+
35+
## Install Niffler
36+
37+
To deploy Niffler, checkout Niffler source code and run the installation script.
38+
```
39+
$ git clone https://github.com/Emory-HITI/Niffler.git
40+
41+
$ cd Niffler
42+
```
43+
The master branch is stable whereas the dev branch has the bleeding edge.
44+
45+
You might want to use the dev branch for the latest updates. For more stable version, skip the below step:
46+
```
47+
$ git checkout dev
48+
```
49+
Finally, run the installation script for a quick installation of dependencies.
50+
51+
```
52+
$ sh install.sh
53+
```
54+
55+
This script is written for Centos. If you are using another operating system, please go through the script and make necessary changes as the script is easy to follow.
56+
57+
Please refer to each module's individual README for additional instructions on configuring, deploying, and using Niffler for each of its modules.
58+
59+
60+
## Configure PACS
61+
62+
Both meta-extraction and cold-extraction modules require proper configuration of a PACS environment to allow data transfer and query retrieval to Niffler, respectively.
63+
64+
* If you plan to use meta-extraction and cold-extraction modules, please make sure to configure the PACS to send data to Niffler meta-extraction module's host, port, and AE_Title.
65+
66+
* Niffler cold-extraction won't receive data unless the PACS allows the requests from Niffler cold-extraction (host/port/AE_Title). Please go through your PACS framework's documentation on configuring host/port/AE_Tiles for a new AE to accept queries from (Query AET). Those instructions should prepare your PACS to receive queries from Niffler as the Query AET.
67+
68+
69+
70+
# Citing Niffler
71+
72+
If you use Niffler in your research, please cite the below papers:
73+
74+
* Pradeeban Kathiravelu, Puneet Sharma, Ashish Sharma, Imon Banerjee, Hari Trivedi, Saptarshi Purkayastha, Priyanshu Sinha, Alexandre Cadrin-Chenevert, Nabile Safdar, and Judy Wawira Gichoya. **A DICOM Framework for Machine Learning Pipelines against Real-Time Radiology Images.** Journal of Digital Imaging (JDI). August 2021. https://doi.org/10.1007/s10278-021-00491-w
75+
76+
* Pradeeban Kathiravelu, Ashish Sharma, and Puneet Sharma. **Understanding Scanner Utilization With Real-Time DICOM Metadata Extraction.** IEEE Access, 9 (2021): 10621-10633. https://doi.org/10.1109/ACCESS.2021.3050467
77+
78+
* Pradeeban Kathiravelu, Nan Li, Nishchal Singi, Ananth Reddy Bhimireddy, Ryan Birmingham, Judy Wawira Gichoya, Hari Trivedi, Nabile Safdar, Ashish Sharma, and Puneet Sharma. **Visualizing Scanner Utilization from MRI Metadata and Clinical Data.** IEEE Computer. Accepted. 2022 December.

Niffler.egg-info/SOURCES.txt

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
LICENSE
2+
README.md
3+
pyproject.toml
4+
setup.cfg
5+
Niffler.egg-info/PKG-INFO
6+
Niffler.egg-info/SOURCES.txt
7+
Niffler.egg-info/dependency_links.txt
8+
Niffler.egg-info/requires.txt
9+
Niffler.egg-info/top_level.txt
10+
Niffler.egg-info/zip-safe

Niffler.egg-info/dependency_links.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

Niffler.egg-info/requires.txt

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
requests
2+
pymongo
3+
schedule
4+
pydicom
5+
pynetdicom
6+
image
7+
numpy
8+
pandas
9+
pillow
10+
pypng
11+
12+
[dev]
13+
pytest
14+
pytest-mock
15+
pytest-cov
16+
tqdm
17+
pycryptodomex
18+
SQLAlchemy

Niffler.egg-info/top_level.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

Niffler.egg-info/zip-safe

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

dist/Niffler-0.9.3-py3-none-any.whl

4.31 KB
Binary file not shown.

pyproject.toml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+

setup.cfg

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
[metadata]
2+
name = Niffler
3+
version = 0.9.3
4+
author = Soham Mulye
5+
author_email = [email protected]
6+
description = Niffler: A DICOM Framework for Machine Learning and Processing Pipelines.
7+
long_description = file: README.md
8+
long_description_content_type = text/markdown
9+
url = https://github.com/Emory-HITI/Niffler
10+
project_urls =
11+
Bug Tracker = https://github.com/Emory-HITI/Niffler/issues
12+
classifiers =
13+
Programming Language :: Python :: 3
14+
License :: OSI Approved :: MIT License
15+
Operating System :: OS Independent
16+
17+
[options]
18+
packages = find:
19+
zip_safe = True
20+
include_package_data = True
21+
install_requires = requests
22+
pymongo
23+
schedule
24+
pydicom
25+
pynetdicom
26+
image
27+
numpy
28+
pandas
29+
pillow
30+
pypng
31+
32+
[options.extras_require]
33+
dev = pytest
34+
pytest-mock
35+
pytest-cov
36+
tqdm
37+
pycryptodomex
38+
SQLAlchemy
39+
40+
[options.package_data]
41+
modules=*
42+
docs=*
43+
init=*
44+
tests=*

0 commit comments

Comments
 (0)