pathview-plus 2.0.0__tar.gz → 2.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. pathview_plus-2.0.2/LICENSE +28 -0
  2. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/PKG-INFO +19 -10
  3. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/README.md +16 -8
  4. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/bin/pathview-cli.py +7 -3
  5. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/pathview_plus.egg-info/PKG-INFO +19 -10
  6. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/pathview_plus.egg-info/SOURCES.txt +1 -0
  7. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/setup.py +1 -2
  8. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/lib/__init__.py +0 -0
  9. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/lib/color_mapping.py +0 -0
  10. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/lib/constants.py +0 -0
  11. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/lib/databases.py +0 -0
  12. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/lib/examples.py +0 -0
  13. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/lib/highlighting.py +0 -0
  14. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/lib/id_mapping.py +0 -0
  15. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/lib/kegg_api.py +0 -0
  16. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/lib/kgml_parser.py +0 -0
  17. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/lib/mol_data.py +0 -0
  18. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/lib/node_mapping.py +0 -0
  19. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/lib/pathview.py +0 -0
  20. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/lib/rendering.py +0 -0
  21. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/lib/sbgn_parser.py +0 -0
  22. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/lib/splines.py +0 -0
  23. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/lib/svg_rendering.py +0 -0
  24. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/lib/test_all_features.py +0 -0
  25. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/lib/utils.py +0 -0
  26. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/pathview_plus.egg-info/dependency_links.txt +0 -0
  27. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/pathview_plus.egg-info/requires.txt +0 -0
  28. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/pathview_plus.egg-info/top_level.txt +0 -0
  29. {pathview_plus-2.0.0 → pathview_plus-2.0.2}/setup.cfg +0 -0
@@ -0,0 +1,28 @@
1
+ Creative Commons Attribution-NonCommercial (CC BY-NC 4.0)
2
+
3
+ Academic and Non-Commercial Use License
4
+
5
+ Copyright (c) 2026 Richard Allen White III
6
+
7
+ Permission is hereby granted, free of charge, to any person or organization obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to use, copy, modify,
9
+ and distribute the Software for academic, research, and non-commercial purposes, subject to
10
+ the following conditions:
11
+
12
+ 1. The above copyright notice and this permission notice shall be included in all copies
13
+ or substantial portions of the Software.
14
+
15
+ 2. The Software may not be used, in whole or in part, for commercial purposes without
16
+ prior written permission from the copyright holder.
17
+
18
+ 3. Commercial purposes include, but are not limited to, use in a product or service that
19
+ is sold, licensed, or generates revenue.
20
+
21
+ 4. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
22
+ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
23
+ PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
24
+ FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
25
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26
+ DEALINGS IN THE SOFTWARE.
27
+
28
+ For commercial licensing inquiries, please contact: Richard Allen White III, rwhit101@charlotte.edu
@@ -1,13 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pathview-plus
3
- Version: 2.0.0
3
+ Version: 2.0.2
4
4
  Summary: Complete pathway visualization: KEGG + SBGN + highlighting + splines
5
5
  Home-page: https://github.com/raw-lab/pathview-plus
6
6
  Author: Richard Allen White III
7
7
  Classifier: Development Status :: 4 - Beta
8
8
  Classifier: Intended Audience :: Science/Research
9
9
  Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
10
- Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
11
10
  Classifier: Programming Language :: Python :: 3
12
11
  Classifier: Programming Language :: Python :: 3.10
13
12
  Classifier: Programming Language :: Python :: 3.11
@@ -15,6 +14,7 @@ Classifier: Programming Language :: Python :: 3.12
15
14
  Classifier: Programming Language :: Python :: 3.13
16
15
  Requires-Python: >=3.10
17
16
  Description-Content-Type: text/markdown
17
+ License-File: LICENSE
18
18
  Requires-Dist: polars>=0.19.0
19
19
  Requires-Dist: numpy>=1.24.0
20
20
  Requires-Dist: matplotlib>=3.7.0
@@ -33,6 +33,7 @@ Dynamic: classifier
33
33
  Dynamic: description
34
34
  Dynamic: description-content-type
35
35
  Dynamic: home-page
36
+ Dynamic: license-file
36
37
  Dynamic: provides-extra
37
38
  Dynamic: requires-dist
38
39
  Dynamic: requires-python
@@ -43,7 +44,6 @@ Dynamic: summary
43
44
  **Full-featured Python implementation of R pathview + SBGNview with support for KEGG, Reactome, MetaCyc, and more.**
44
45
 
45
46
  [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
46
- [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
47
47
 
48
48
  ---
49
49
 
@@ -642,20 +642,29 @@ Contributions welcome! Areas for improvement:
642
642
 
643
643
  ## 📄 License
644
644
 
645
- GPL v3.0 — See LICENSE file
645
+ Creative Commons Attribution-NonCommercial (CC BY-NC 4.0) — See LICENSE file
646
646
 
647
647
  **Citations:**
648
- - Original R pathview: Luo & Brouwer (2013). Bioinformatics
649
- - SBGNview: Shashikant et al. (2022). Bioinformatics
650
- - KEGG: Kanehisa et al. (2023). Nucleic Acids Research
651
- - Reactome: Gillespie et al. (2022). Nucleic Acids Research
648
+
649
+ If you are publishing results obtained using Pathview-Plus, please cite: <br />
650
+ - Pre-Print Pathview-Plus: Figueroa III JL, Brouwer CR, White III RA. 2026. Pathview-plus: unlocking the metabolic pathways from cells to ecosystems. bioRxiv.
651
+
652
+ If you using the R version please cite: <br />
653
+ - Original Pathview R: Luo, W., & Brouwer, C. 2013. Pathview: an R/Bioconductor package for pathway-based data integration and visualization. Bioinformatics, 29(14), 1830–1831. [Pathview](https://doi.org/10.1093/bioinformatics/btt285)
654
+ - Original SBGNview R: Shashikant, T., et al. 2022. SBGNview: Data analysis, integration and visualization on all pathways using SBGN. Bioinformatics, 38(11), 3006–3008. [SBGNview](https://doi.org/10.1093/bioinformatics/btab793)
655
+
656
+ ---
657
+
658
+ ## Contributing to Pathview-plus
659
+
660
+ We welcome contributions of other experts expanding features in Pathview-plus including the R and python versions. Please contact us via support.
652
661
 
653
662
  ---
654
663
 
655
664
  ## 📞 Support
656
665
 
657
- - **Issues:** https://github.com/raw-lab/pathview-plus/issues
658
- - **Email:** rwhit101@charlotte.edu
666
+ - **Issues:** [open an issue](https://github.com/raw-lab/pathview-plus/issues).
667
+ - **Email:** [Dr. Richard Allen White III](mailto:rwhit101@uncc.edu)
659
668
  ---
660
669
 
661
670
  **Made with ❤️ for the pathway visualization community**
@@ -3,7 +3,6 @@
3
3
  **Full-featured Python implementation of R pathview + SBGNview with support for KEGG, Reactome, MetaCyc, and more.**
4
4
 
5
5
  [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
6
- [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
7
6
 
8
7
  ---
9
8
 
@@ -602,20 +601,29 @@ Contributions welcome! Areas for improvement:
602
601
 
603
602
  ## 📄 License
604
603
 
605
- GPL v3.0 — See LICENSE file
604
+ Creative Commons Attribution-NonCommercial (CC BY-NC 4.0) — See LICENSE file
606
605
 
607
606
  **Citations:**
608
- - Original R pathview: Luo & Brouwer (2013). Bioinformatics
609
- - SBGNview: Shashikant et al. (2022). Bioinformatics
610
- - KEGG: Kanehisa et al. (2023). Nucleic Acids Research
611
- - Reactome: Gillespie et al. (2022). Nucleic Acids Research
607
+
608
+ If you are publishing results obtained using Pathview-Plus, please cite: <br />
609
+ - Pre-Print Pathview-Plus: Figueroa III JL, Brouwer CR, White III RA. 2026. Pathview-plus: unlocking the metabolic pathways from cells to ecosystems. bioRxiv.
610
+
611
+ If you using the R version please cite: <br />
612
+ - Original Pathview R: Luo, W., & Brouwer, C. 2013. Pathview: an R/Bioconductor package for pathway-based data integration and visualization. Bioinformatics, 29(14), 1830–1831. [Pathview](https://doi.org/10.1093/bioinformatics/btt285)
613
+ - Original SBGNview R: Shashikant, T., et al. 2022. SBGNview: Data analysis, integration and visualization on all pathways using SBGN. Bioinformatics, 38(11), 3006–3008. [SBGNview](https://doi.org/10.1093/bioinformatics/btab793)
614
+
615
+ ---
616
+
617
+ ## Contributing to Pathview-plus
618
+
619
+ We welcome contributions of other experts expanding features in Pathview-plus including the R and python versions. Please contact us via support.
612
620
 
613
621
  ---
614
622
 
615
623
  ## 📞 Support
616
624
 
617
- - **Issues:** https://github.com/raw-lab/pathview-plus/issues
618
- - **Email:** rwhit101@charlotte.edu
625
+ - **Issues:** [open an issue](https://github.com/raw-lab/pathview-plus/issues).
626
+ - **Email:** [Dr. Richard Allen White III](mailto:rwhit101@uncc.edu)
619
627
  ---
620
628
 
621
629
  **Made with ❤️ for the pathway visualization community**
@@ -42,7 +42,7 @@ import sys
42
42
  import polars as pl
43
43
 
44
44
  from pathview.rendering import kegg_legend
45
- from pathview.orchestrator import pathview
45
+ from pathview import pathview
46
46
  from pathview.mol_data import sim_mol_data
47
47
 
48
48
 
@@ -211,6 +211,9 @@ def main(argv: list[str] | None = None) -> None:
211
211
  "Provide at least one of --gene-data, --cpd-data, or --simulate."
212
212
  )
213
213
 
214
+ # Cast ID column to string for merging
215
+ gene_data = gene_data.cast({gene_data.columns[0]: pl.String})
216
+
214
217
  # -- Run pathview --------------------------------------------------------
215
218
  result = pathview(
216
219
  pathway_id = args.pathway_id,
@@ -245,8 +248,9 @@ def main(argv: list[str] | None = None) -> None:
245
248
  print(f"Info: Compound plot data — {cdf.height} nodes mapped.")
246
249
  else:
247
250
  print("Warning: Pathway was skipped or no data could be mapped.", file=sys.stderr)
248
- sys.exit(1)
251
+ return 1
252
+ return 0
249
253
 
250
254
 
251
255
  if __name__ == "__main__":
252
- main()
256
+ sys.exit(main())
@@ -1,13 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pathview-plus
3
- Version: 2.0.0
3
+ Version: 2.0.2
4
4
  Summary: Complete pathway visualization: KEGG + SBGN + highlighting + splines
5
5
  Home-page: https://github.com/raw-lab/pathview-plus
6
6
  Author: Richard Allen White III
7
7
  Classifier: Development Status :: 4 - Beta
8
8
  Classifier: Intended Audience :: Science/Research
9
9
  Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
10
- Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
11
10
  Classifier: Programming Language :: Python :: 3
12
11
  Classifier: Programming Language :: Python :: 3.10
13
12
  Classifier: Programming Language :: Python :: 3.11
@@ -15,6 +14,7 @@ Classifier: Programming Language :: Python :: 3.12
15
14
  Classifier: Programming Language :: Python :: 3.13
16
15
  Requires-Python: >=3.10
17
16
  Description-Content-Type: text/markdown
17
+ License-File: LICENSE
18
18
  Requires-Dist: polars>=0.19.0
19
19
  Requires-Dist: numpy>=1.24.0
20
20
  Requires-Dist: matplotlib>=3.7.0
@@ -33,6 +33,7 @@ Dynamic: classifier
33
33
  Dynamic: description
34
34
  Dynamic: description-content-type
35
35
  Dynamic: home-page
36
+ Dynamic: license-file
36
37
  Dynamic: provides-extra
37
38
  Dynamic: requires-dist
38
39
  Dynamic: requires-python
@@ -43,7 +44,6 @@ Dynamic: summary
43
44
  **Full-featured Python implementation of R pathview + SBGNview with support for KEGG, Reactome, MetaCyc, and more.**
44
45
 
45
46
  [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
46
- [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
47
47
 
48
48
  ---
49
49
 
@@ -642,20 +642,29 @@ Contributions welcome! Areas for improvement:
642
642
 
643
643
  ## 📄 License
644
644
 
645
- GPL v3.0 — See LICENSE file
645
+ Creative Commons Attribution-NonCommercial (CC BY-NC 4.0) — See LICENSE file
646
646
 
647
647
  **Citations:**
648
- - Original R pathview: Luo & Brouwer (2013). Bioinformatics
649
- - SBGNview: Shashikant et al. (2022). Bioinformatics
650
- - KEGG: Kanehisa et al. (2023). Nucleic Acids Research
651
- - Reactome: Gillespie et al. (2022). Nucleic Acids Research
648
+
649
+ If you are publishing results obtained using Pathview-Plus, please cite: <br />
650
+ - Pre-Print Pathview-Plus: Figueroa III JL, Brouwer CR, White III RA. 2026. Pathview-plus: unlocking the metabolic pathways from cells to ecosystems. bioRxiv.
651
+
652
+ If you using the R version please cite: <br />
653
+ - Original Pathview R: Luo, W., & Brouwer, C. 2013. Pathview: an R/Bioconductor package for pathway-based data integration and visualization. Bioinformatics, 29(14), 1830–1831. [Pathview](https://doi.org/10.1093/bioinformatics/btt285)
654
+ - Original SBGNview R: Shashikant, T., et al. 2022. SBGNview: Data analysis, integration and visualization on all pathways using SBGN. Bioinformatics, 38(11), 3006–3008. [SBGNview](https://doi.org/10.1093/bioinformatics/btab793)
655
+
656
+ ---
657
+
658
+ ## Contributing to Pathview-plus
659
+
660
+ We welcome contributions of other experts expanding features in Pathview-plus including the R and python versions. Please contact us via support.
652
661
 
653
662
  ---
654
663
 
655
664
  ## 📞 Support
656
665
 
657
- - **Issues:** https://github.com/raw-lab/pathview-plus/issues
658
- - **Email:** rwhit101@charlotte.edu
666
+ - **Issues:** [open an issue](https://github.com/raw-lab/pathview-plus/issues).
667
+ - **Email:** [Dr. Richard Allen White III](mailto:rwhit101@uncc.edu)
659
668
  ---
660
669
 
661
670
  **Made with ❤️ for the pathway visualization community**
@@ -1,3 +1,4 @@
1
+ LICENSE
1
2
  README.md
2
3
  setup.py
3
4
  bin/pathview-cli.py
@@ -10,7 +10,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
10
10
 
11
11
  setup(
12
12
  name="pathview-plus",
13
- version="2.0.0",
13
+ version="2.0.2",
14
14
  author="Richard Allen White III",
15
15
  description="Complete pathway visualization: KEGG + SBGN + highlighting + splines",
16
16
  long_description=long_description,
@@ -23,7 +23,6 @@ setup(
23
23
  "Development Status :: 4 - Beta",
24
24
  "Intended Audience :: Science/Research",
25
25
  "Topic :: Scientific/Engineering :: Bio-Informatics",
26
- "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
27
26
  "Programming Language :: Python :: 3",
28
27
  "Programming Language :: Python :: 3.10",
29
28
  "Programming Language :: Python :: 3.11",
File without changes