napistu 0.1.0__tar.gz → 0.2.4.dev2__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.
- napistu-0.2.4.dev2/PKG-INFO +84 -0
- napistu-0.2.4.dev2/README.md +28 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/setup.cfg +34 -19
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/__init__.py +1 -1
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/consensus.py +1010 -513
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/constants.py +24 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/gcs/constants.py +2 -2
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/gcs/downloads.py +57 -25
- napistu-0.2.4.dev2/src/napistu/gcs/utils.py +21 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/identifiers.py +105 -6
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/ingestion/constants.py +0 -1
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/ingestion/obo.py +24 -8
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/ingestion/psi_mi.py +20 -5
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/ingestion/reactome.py +8 -32
- napistu-0.2.4.dev2/src/napistu/mcp/__init__.py +69 -0
- napistu-0.2.4.dev2/src/napistu/mcp/__main__.py +180 -0
- napistu-0.2.4.dev2/src/napistu/mcp/codebase.py +182 -0
- napistu-0.2.4.dev2/src/napistu/mcp/codebase_utils.py +298 -0
- napistu-0.2.4.dev2/src/napistu/mcp/constants.py +72 -0
- napistu-0.2.4.dev2/src/napistu/mcp/documentation.py +166 -0
- napistu-0.2.4.dev2/src/napistu/mcp/documentation_utils.py +235 -0
- napistu-0.2.4.dev2/src/napistu/mcp/execution.py +382 -0
- napistu-0.2.4.dev2/src/napistu/mcp/profiles.py +73 -0
- napistu-0.2.4.dev2/src/napistu/mcp/server.py +86 -0
- napistu-0.2.4.dev2/src/napistu/mcp/tutorials.py +124 -0
- napistu-0.2.4.dev2/src/napistu/mcp/tutorials_utils.py +230 -0
- napistu-0.2.4.dev2/src/napistu/mcp/utils.py +47 -0
- napistu-0.2.4.dev2/src/napistu/mechanism_matching.py +1353 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/modify/constants.py +41 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/modify/curation.py +4 -1
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/modify/gaps.py +243 -156
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/modify/pathwayannot.py +26 -8
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/network/neighborhoods.py +16 -7
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/network/net_create.py +209 -54
- napistu-0.2.4.dev2/src/napistu/network/net_propagation.py +118 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/network/net_utils.py +1 -32
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/rpy2/netcontextr.py +10 -7
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/rpy2/rids.py +7 -5
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/sbml_dfs_core.py +46 -29
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/sbml_dfs_utils.py +37 -1
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/source.py +8 -2
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/utils.py +67 -8
- napistu-0.2.4.dev2/src/napistu.egg-info/PKG-INFO +84 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu.egg-info/SOURCES.txt +19 -1
- napistu-0.2.4.dev2/src/napistu.egg-info/requires.txt +40 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/conftest.py +11 -5
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/test_consensus.py +4 -1
- napistu-0.2.4.dev2/src/tests/test_gaps.py +127 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/test_gcs.py +3 -2
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/test_igraph.py +14 -0
- napistu-0.2.4.dev2/src/tests/test_mcp_documentation_utils.py +13 -0
- napistu-0.2.4.dev2/src/tests/test_mechanism_matching.py +784 -0
- napistu-0.2.4.dev2/src/tests/test_net_propagation.py +89 -0
- napistu-0.2.4.dev2/src/tests/test_net_utils.py +149 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/test_sbml.py +2 -0
- napistu-0.1.0/src/tests/test_sbml_dfs_create.py → napistu-0.2.4.dev2/src/tests/test_sbml_dfs_core.py +68 -4
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/test_utils.py +81 -0
- napistu-0.1.0/PKG-INFO +0 -56
- napistu-0.1.0/README.md +0 -11
- napistu-0.1.0/src/napistu/mechanism_matching.py +0 -597
- napistu-0.1.0/src/napistu.egg-info/PKG-INFO +0 -56
- napistu-0.1.0/src/napistu.egg-info/requires.txt +0 -30
- napistu-0.1.0/src/tests/test_mechanism_matching.py +0 -126
- napistu-0.1.0/src/tests/test_net_utils.py +0 -66
- {napistu-0.1.0 → napistu-0.2.4.dev2}/LICENSE +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/pyproject.toml +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/setup.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/__main__.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/gcs/__init__.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/indices.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/ingestion/__init__.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/ingestion/bigg.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/ingestion/cpr_edgelist.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/ingestion/identifiers_etl.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/ingestion/sbml.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/ingestion/string.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/ingestion/trrust.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/ingestion/yeast.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/modify/__init__.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/modify/uncompartmentalize.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/network/__init__.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/network/constants.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/network/paths.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/network/precompute.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/rpy2/__init__.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/rpy2/callr.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu/rpy2/constants.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu.egg-info/dependency_links.txt +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu.egg-info/entry_points.txt +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/napistu.egg-info/top_level.txt +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/__init__.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/test_constants.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/test_curation.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/test_data/__init__.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/test_edgelist.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/test_identifiers.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/test_indices.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/test_netcontextr.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/test_obo.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/test_pathwayannot.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/test_precomputed_distances.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/test_rpy2.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/test_sbml_dfs_utils.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/test_sbo.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/test_set_coverage.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/test_source.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/test_uncompartmentalize.py +0 -0
- {napistu-0.1.0 → napistu-0.2.4.dev2}/src/tests/utils.py +0 -0
@@ -0,0 +1,84 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: napistu
|
3
|
+
Version: 0.2.4.dev2
|
4
|
+
Summary: Connecting high-dimensional data to curated pathways
|
5
|
+
Home-page: https://github.com/napistu/napistu-py
|
6
|
+
Author: Sean Hackett
|
7
|
+
Author-email: seanmchackett@gmail.com
|
8
|
+
Project-URL: Documentation, https://napistu.readthedocs.io
|
9
|
+
Project-URL: Source, https://github.com/napistu/napistu-py
|
10
|
+
Project-URL: Tracker, https://github.com/napistu/napistu-py/issues
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
12
|
+
Classifier: Operating System :: OS Independent
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
14
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
15
|
+
Requires-Python: >=3.11
|
16
|
+
Description-Content-Type: text/markdown
|
17
|
+
License-File: LICENSE
|
18
|
+
Requires-Dist: Jinja2
|
19
|
+
Requires-Dist: PyYAML<7.0.0,>=6.0.0
|
20
|
+
Requires-Dist: click<9.0.0,>=8.0.0
|
21
|
+
Requires-Dist: click-logging
|
22
|
+
Requires-Dist: fs<3.0.0,>=2.4.0
|
23
|
+
Requires-Dist: fs-gcsfs<2.0.0,>=1.5.0
|
24
|
+
Requires-Dist: igraph
|
25
|
+
Requires-Dist: matplotlib<4.0.0,>=3.5.0
|
26
|
+
Requires-Dist: numpy<3.0.0,>=1.24.0
|
27
|
+
Requires-Dist: pandas<3.0.0,>=1.5.0
|
28
|
+
Requires-Dist: pydantic<3.0.0,>=2.0.0
|
29
|
+
Requires-Dist: python-libsbml
|
30
|
+
Requires-Dist: requests>=2.25.0
|
31
|
+
Requires-Dist: scipy<2.0.0,>=1.10.0
|
32
|
+
Requires-Dist: tqdm
|
33
|
+
Requires-Dist: zeep<4.0.0,>=3.0.0
|
34
|
+
Provides-Extra: dev
|
35
|
+
Requires-Dist: black>=24.0.0; extra == "dev"
|
36
|
+
Requires-Dist: ipykernel; extra == "dev"
|
37
|
+
Requires-Dist: pre-commit<4.0.0,>=3.0.0; extra == "dev"
|
38
|
+
Requires-Dist: pytest<8.0.0,>=7.0.0; extra == "dev"
|
39
|
+
Requires-Dist: pytest-asyncio; extra == "dev"
|
40
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
41
|
+
Requires-Dist: ruff; extra == "dev"
|
42
|
+
Requires-Dist: testcontainers; extra == "dev"
|
43
|
+
Provides-Extra: mcp
|
44
|
+
Requires-Dist: fastmcp<3.0.0,>=2.0.0; extra == "mcp"
|
45
|
+
Requires-Dist: mcp<2.0.0,>=1.0.0; extra == "mcp"
|
46
|
+
Requires-Dist: httpx>=0.24.0; extra == "mcp"
|
47
|
+
Requires-Dist: beautifulsoup4<5.0.0,>=4.11.0; extra == "mcp"
|
48
|
+
Requires-Dist: markdown>=3.4.0; extra == "mcp"
|
49
|
+
Requires-Dist: jupyter-client>=7.0.0; extra == "mcp"
|
50
|
+
Requires-Dist: nbformat>=5.0.0; extra == "mcp"
|
51
|
+
Provides-Extra: rpy2
|
52
|
+
Requires-Dist: pyarrow<19.0.0,>=15.0.0; extra == "rpy2"
|
53
|
+
Requires-Dist: rpy2<4.0.0,>=3.5.0; extra == "rpy2"
|
54
|
+
Requires-Dist: rpy2-arrow<1.0.0,>=0.1.0; extra == "rpy2"
|
55
|
+
Dynamic: license-file
|
56
|
+
|
57
|
+
# Napistu Python Library
|
58
|
+
|
59
|
+
[](https://napistu.readthedocs.io/en/latest/?badge=latest)
|
60
|
+
|
61
|
+
This Python package hosts the majority of the algorithmic code for the [Napistu project](https://github.com/napistu/napistu).
|
62
|
+
|
63
|
+
## Setup
|
64
|
+
|
65
|
+
Napistu is available on [PyPI](https://pypi.org/project/napistu) so the recommended way to use it is just to pip install with:
|
66
|
+
|
67
|
+
```bash
|
68
|
+
pip install napistu
|
69
|
+
```
|
70
|
+
|
71
|
+
Alternatively, you can clone this repository and perform a local install. e.g., from this directory:
|
72
|
+
|
73
|
+
```bash
|
74
|
+
pip install .
|
75
|
+
```
|
76
|
+
|
77
|
+
## Documentation
|
78
|
+
📘 **Full Documentation**: [https://napistu.readthedocs.io](https://napistu.readthedocs.io)
|
79
|
+
** Wiki **: [napistu/wiki](https://github.com/napistu/napistu/wiki)
|
80
|
+
|
81
|
+
### Quick Links
|
82
|
+
- [Installation Guide](https://napistu.readthedocs.io/en/latest/installation.html)
|
83
|
+
- [API Reference](https://napistu.readthedocs.io/en/latest/api.html)
|
84
|
+
- [Usage Examples](https://napistu.readthedocs.io/en/latest/usage.html)
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# Napistu Python Library
|
2
|
+
|
3
|
+
[](https://napistu.readthedocs.io/en/latest/?badge=latest)
|
4
|
+
|
5
|
+
This Python package hosts the majority of the algorithmic code for the [Napistu project](https://github.com/napistu/napistu).
|
6
|
+
|
7
|
+
## Setup
|
8
|
+
|
9
|
+
Napistu is available on [PyPI](https://pypi.org/project/napistu) so the recommended way to use it is just to pip install with:
|
10
|
+
|
11
|
+
```bash
|
12
|
+
pip install napistu
|
13
|
+
```
|
14
|
+
|
15
|
+
Alternatively, you can clone this repository and perform a local install. e.g., from this directory:
|
16
|
+
|
17
|
+
```bash
|
18
|
+
pip install .
|
19
|
+
```
|
20
|
+
|
21
|
+
## Documentation
|
22
|
+
📘 **Full Documentation**: [https://napistu.readthedocs.io](https://napistu.readthedocs.io)
|
23
|
+
** Wiki **: [napistu/wiki](https://github.com/napistu/napistu/wiki)
|
24
|
+
|
25
|
+
### Quick Links
|
26
|
+
- [Installation Guide](https://napistu.readthedocs.io/en/latest/installation.html)
|
27
|
+
- [API Reference](https://napistu.readthedocs.io/en/latest/api.html)
|
28
|
+
- [Usage Examples](https://napistu.readthedocs.io/en/latest/usage.html)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[metadata]
|
2
2
|
name = napistu
|
3
|
-
version = 0.
|
3
|
+
version = 0.2.4.dev2
|
4
4
|
description = Connecting high-dimensional data to curated pathways
|
5
5
|
long_description = file: README.md
|
6
6
|
long_description_content_type = text/markdown
|
@@ -14,27 +14,29 @@ classifiers =
|
|
14
14
|
Programming Language :: Python :: 3
|
15
15
|
Programming Language :: Python :: 3 :: Only
|
16
16
|
project_urls =
|
17
|
-
|
17
|
+
Documentation = https://napistu.readthedocs.io
|
18
|
+
Source = https://github.com/napistu/napistu-py
|
19
|
+
Tracker = https://github.com/napistu/napistu-py/issues
|
18
20
|
|
19
21
|
[options]
|
20
22
|
packages = find:
|
21
23
|
install_requires =
|
22
24
|
Jinja2
|
23
|
-
PyYAML
|
24
|
-
click
|
25
|
+
PyYAML>=6.0.0,<7.0.0
|
26
|
+
click>=8.0.0,<9.0.0
|
25
27
|
click-logging
|
26
|
-
fs
|
27
|
-
fs-gcsfs
|
28
|
+
fs>=2.4.0,<3.0.0
|
29
|
+
fs-gcsfs>=1.5.0,<2.0.0
|
28
30
|
igraph
|
29
|
-
matplotlib
|
30
|
-
numpy
|
31
|
-
pandas
|
32
|
-
pydantic
|
31
|
+
matplotlib>=3.5.0,<4.0.0
|
32
|
+
numpy>=1.24.0,<3.0.0
|
33
|
+
pandas>=1.5.0,<3.0.0
|
34
|
+
pydantic>=2.0.0,<3.0.0
|
33
35
|
python-libsbml
|
34
|
-
requests>=2
|
35
|
-
scipy
|
36
|
+
requests>=2.25.0
|
37
|
+
scipy>=1.10.0,<2.0.0
|
36
38
|
tqdm
|
37
|
-
zeep
|
39
|
+
zeep>=3.0.0,<4.0.0
|
38
40
|
python_requires = >=3.11
|
39
41
|
package_dir =
|
40
42
|
= src
|
@@ -48,17 +50,30 @@ console_scripts =
|
|
48
50
|
|
49
51
|
[options.extras_require]
|
50
52
|
dev =
|
51
|
-
black
|
53
|
+
black>=24.0.0
|
52
54
|
ipykernel
|
53
|
-
pre-commit
|
54
|
-
pytest
|
55
|
+
pre-commit>=3.0.0,<4.0.0
|
56
|
+
pytest>=7.0.0,<8.0.0
|
57
|
+
pytest-asyncio
|
55
58
|
pytest-cov
|
56
59
|
ruff
|
57
60
|
testcontainers
|
61
|
+
mcp =
|
62
|
+
fastmcp>=2.0.0,<3.0.0
|
63
|
+
mcp>=1.0.0,<2.0.0
|
64
|
+
httpx>=0.24.0
|
65
|
+
beautifulsoup4>=4.11.0,<5.0.0
|
66
|
+
markdown>=3.4.0
|
67
|
+
jupyter-client>=7.0.0
|
68
|
+
nbformat>=5.0.0
|
58
69
|
rpy2 =
|
59
|
-
pyarrow
|
60
|
-
rpy2
|
61
|
-
rpy2-arrow
|
70
|
+
pyarrow>=15.0.0,<19.0.0
|
71
|
+
rpy2>=3.5.0,<4.0.0
|
72
|
+
rpy2-arrow>=0.1.0,<1.0.0
|
73
|
+
|
74
|
+
[tool:pytest]
|
75
|
+
filterwarnings =
|
76
|
+
ignore::DeprecationWarning
|
62
77
|
|
63
78
|
[egg_info]
|
64
79
|
tag_build =
|