discotoolkit 1.3.2__tar.gz → 1.3.3__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.
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/PKG-INFO +13 -13
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/README.md +1 -1
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/discotoolkit/__init__.py +1 -1
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/discotoolkit.egg-info/PKG-INFO +13 -13
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/discotoolkit.egg-info/SOURCES.txt +1 -0
- discotoolkit-1.3.3/discotoolkit.egg-info/requires.txt +11 -0
- discotoolkit-1.3.3/requirements.txt +14 -0
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/setup.py +2 -2
- discotoolkit-1.3.3/tests/test_requirements.py +55 -0
- discotoolkit-1.3.2/discotoolkit.egg-info/requires.txt +0 -11
- discotoolkit-1.3.2/requirements.txt +0 -11
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/MANIFEST.in +0 -0
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/discotoolkit/CELLiD.py +0 -0
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/discotoolkit/CellMapper.py +0 -0
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/discotoolkit/DiscoClass.py +0 -0
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/discotoolkit/DownloadDiscoData.py +0 -0
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/discotoolkit/GeneSearch.py +0 -0
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/discotoolkit/GetMetadata.py +0 -0
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/discotoolkit/GlobalVariable.py +0 -0
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/discotoolkit/Utilities.py +0 -0
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/discotoolkit.egg-info/dependency_links.txt +0 -0
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/discotoolkit.egg-info/top_level.txt +0 -0
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/pyproject.toml +0 -0
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/setup.cfg +0 -0
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/tests/test_cellid_correlation.py +0 -0
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/tests/test_docs.py +0 -0
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/tests/test_gene_search.py +0 -0
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/tests/test_metadata_helpers.py +0 -0
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/tests/test_reference_loading.py +0 -0
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/tests/test_server_contract.py +0 -0
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/tests/test_settings.py +0 -0
- {discotoolkit-1.3.2 → discotoolkit-1.3.3}/tests/test_version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: discotoolkit
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.3
|
|
4
4
|
Summary: DISCOtoolkit is an python package that allows users to access data and use the tools provided by the DISCO database.
|
|
5
5
|
Home-page: https://disco.bii.a-star.edu.sg/
|
|
6
6
|
Author: Li Mengwei, Rom Uddamvathanak
|
|
@@ -11,17 +11,17 @@ Project-URL: Issues, https://github.com/JinmiaoChenLab/DISCOtoolkit_py/issues
|
|
|
11
11
|
Project-URL: DISCO, https://disco.bii.a-star.edu.sg/v1/
|
|
12
12
|
Requires-Python: >=3.9
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
|
-
Requires-Dist: pandas
|
|
15
|
-
Requires-Dist: numpy
|
|
16
|
-
Requires-Dist: scanpy
|
|
17
|
-
Requires-Dist: scipy
|
|
18
|
-
Requires-Dist: joblib
|
|
19
|
-
Requires-Dist: requests
|
|
20
|
-
Requires-Dist: colorcet
|
|
21
|
-
Requires-Dist: leidenalg
|
|
22
|
-
Requires-Dist: h5py
|
|
23
|
-
Requires-Dist: matplotlib
|
|
24
|
-
Requires-Dist: seaborn
|
|
14
|
+
Requires-Dist: pandas<4,>=1.4.2
|
|
15
|
+
Requires-Dist: numpy<3,>=1.21.6
|
|
16
|
+
Requires-Dist: scanpy<2,>=1.9.3
|
|
17
|
+
Requires-Dist: scipy<2,>=1.10.1
|
|
18
|
+
Requires-Dist: joblib<2,>=1.1.0
|
|
19
|
+
Requires-Dist: requests<3,>=2.28.1
|
|
20
|
+
Requires-Dist: colorcet<4,>=3.0.1
|
|
21
|
+
Requires-Dist: leidenalg<0.14
|
|
22
|
+
Requires-Dist: h5py<4,>=3.8
|
|
23
|
+
Requires-Dist: matplotlib<4,>=3.5
|
|
24
|
+
Requires-Dist: seaborn<0.15,>=0.12
|
|
25
25
|
Dynamic: author
|
|
26
26
|
Dynamic: author-email
|
|
27
27
|
Dynamic: description
|
|
@@ -42,7 +42,7 @@ Dynamic: summary
|
|
|
42
42
|
-->
|
|
43
43
|
[](https://disco.bii.a-star.edu.sg/v1/docs/toolkit/guide/) [](https://pepy.tech/project/discotoolkit) [](https://pypi.org/project/discotoolkit)
|
|
44
44
|
|
|
45
|
-
# DISCOtoolkit 1.3.
|
|
45
|
+
# DISCOtoolkit 1.3.3
|
|
46
46
|
|
|
47
47
|
DISCOtoolkit is a Python package for accessing the data and tools of the [DISCO database](https://disco.bii.a-star.edu.sg/) (DISCO v1). Read the documentation, with tutorials and the API reference, at [disco.bii.a-star.edu.sg/v1/docs/toolkit/guide](https://disco.bii.a-star.edu.sg/v1/docs/toolkit/guide/).
|
|
48
48
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
-->
|
|
9
9
|
[](https://disco.bii.a-star.edu.sg/v1/docs/toolkit/guide/) [](https://pepy.tech/project/discotoolkit) [](https://pypi.org/project/discotoolkit)
|
|
10
10
|
|
|
11
|
-
# DISCOtoolkit 1.3.
|
|
11
|
+
# DISCOtoolkit 1.3.3
|
|
12
12
|
|
|
13
13
|
DISCOtoolkit is a Python package for accessing the data and tools of the [DISCO database](https://disco.bii.a-star.edu.sg/) (DISCO v1). Read the documentation, with tutorials and the API reference, at [disco.bii.a-star.edu.sg/v1/docs/toolkit/guide](https://disco.bii.a-star.edu.sg/v1/docs/toolkit/guide/).
|
|
14
14
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: discotoolkit
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.3
|
|
4
4
|
Summary: DISCOtoolkit is an python package that allows users to access data and use the tools provided by the DISCO database.
|
|
5
5
|
Home-page: https://disco.bii.a-star.edu.sg/
|
|
6
6
|
Author: Li Mengwei, Rom Uddamvathanak
|
|
@@ -11,17 +11,17 @@ Project-URL: Issues, https://github.com/JinmiaoChenLab/DISCOtoolkit_py/issues
|
|
|
11
11
|
Project-URL: DISCO, https://disco.bii.a-star.edu.sg/v1/
|
|
12
12
|
Requires-Python: >=3.9
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
|
-
Requires-Dist: pandas
|
|
15
|
-
Requires-Dist: numpy
|
|
16
|
-
Requires-Dist: scanpy
|
|
17
|
-
Requires-Dist: scipy
|
|
18
|
-
Requires-Dist: joblib
|
|
19
|
-
Requires-Dist: requests
|
|
20
|
-
Requires-Dist: colorcet
|
|
21
|
-
Requires-Dist: leidenalg
|
|
22
|
-
Requires-Dist: h5py
|
|
23
|
-
Requires-Dist: matplotlib
|
|
24
|
-
Requires-Dist: seaborn
|
|
14
|
+
Requires-Dist: pandas<4,>=1.4.2
|
|
15
|
+
Requires-Dist: numpy<3,>=1.21.6
|
|
16
|
+
Requires-Dist: scanpy<2,>=1.9.3
|
|
17
|
+
Requires-Dist: scipy<2,>=1.10.1
|
|
18
|
+
Requires-Dist: joblib<2,>=1.1.0
|
|
19
|
+
Requires-Dist: requests<3,>=2.28.1
|
|
20
|
+
Requires-Dist: colorcet<4,>=3.0.1
|
|
21
|
+
Requires-Dist: leidenalg<0.14
|
|
22
|
+
Requires-Dist: h5py<4,>=3.8
|
|
23
|
+
Requires-Dist: matplotlib<4,>=3.5
|
|
24
|
+
Requires-Dist: seaborn<0.15,>=0.12
|
|
25
25
|
Dynamic: author
|
|
26
26
|
Dynamic: author-email
|
|
27
27
|
Dynamic: description
|
|
@@ -42,7 +42,7 @@ Dynamic: summary
|
|
|
42
42
|
-->
|
|
43
43
|
[](https://disco.bii.a-star.edu.sg/v1/docs/toolkit/guide/) [](https://pepy.tech/project/discotoolkit) [](https://pypi.org/project/discotoolkit)
|
|
44
44
|
|
|
45
|
-
# DISCOtoolkit 1.3.
|
|
45
|
+
# DISCOtoolkit 1.3.3
|
|
46
46
|
|
|
47
47
|
DISCOtoolkit is a Python package for accessing the data and tools of the [DISCO database](https://disco.bii.a-star.edu.sg/) (DISCO v1). Read the documentation, with tutorials and the API reference, at [disco.bii.a-star.edu.sg/v1/docs/toolkit/guide](https://disco.bii.a-star.edu.sg/v1/docs/toolkit/guide/).
|
|
48
48
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Every dependency has an upper limit at the next major version (next minor for 0.x packages), so a new
|
|
2
|
+
# major release cannot break a fresh `pip install discotoolkit`. When one arrives and is wanted: raise the
|
|
3
|
+
# limit, let CI and the Docs build run, release. See "Dependency limits" in RELEASING.md.
|
|
4
|
+
pandas>=1.4.2,<4
|
|
5
|
+
numpy>=1.21.6,<3
|
|
6
|
+
scanpy>=1.9.3,<2
|
|
7
|
+
scipy>=1.10.1,<2
|
|
8
|
+
joblib>=1.1.0,<2
|
|
9
|
+
requests>=2.28.1,<3
|
|
10
|
+
colorcet>=3.0.1,<4
|
|
11
|
+
leidenalg<0.14
|
|
12
|
+
h5py>=3.8,<4
|
|
13
|
+
matplotlib>=3.5,<4
|
|
14
|
+
seaborn>=0.12,<0.15
|
|
@@ -2,11 +2,11 @@ from setuptools import setup, find_packages
|
|
|
2
2
|
|
|
3
3
|
# Read the contents of the requirements.txt file
|
|
4
4
|
with open("requirements.txt", "r") as f:
|
|
5
|
-
requirements = f.
|
|
5
|
+
requirements = [line.strip() for line in f if line.strip() and not line.lstrip().startswith("#")]
|
|
6
6
|
|
|
7
7
|
setup(
|
|
8
8
|
name='discotoolkit',
|
|
9
|
-
version="1.3.
|
|
9
|
+
version="1.3.3",
|
|
10
10
|
url='https://disco.bii.a-star.edu.sg/',
|
|
11
11
|
author='Li Mengwei, Rom Uddamvathanak',
|
|
12
12
|
author_email='uddamvathanak_rom@immunol.a-star.edu.sg',
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Every dependency in requirements.txt has an upper limit, so a new major release of pandas, numpy and the
|
|
3
|
+
rest cannot break a fresh install. A new dependency without one fails here. See RELEASING.md.
|
|
4
|
+
|
|
5
|
+
python tests/test_requirements.py
|
|
6
|
+
"""
|
|
7
|
+
import os
|
|
8
|
+
import re
|
|
9
|
+
import sys
|
|
10
|
+
|
|
11
|
+
ROOT = os.path.join(os.path.dirname(__file__), "..")
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def requirements():
|
|
15
|
+
with open(os.path.join(ROOT, "requirements.txt"), encoding="utf-8") as handle:
|
|
16
|
+
return [line.strip() for line in handle if line.strip() and not line.lstrip().startswith("#")]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def test_every_dependency_has_an_upper_limit():
|
|
20
|
+
unlimited = [line for line in requirements() if not re.search(r"<=?\s*\d", line)]
|
|
21
|
+
assert not unlimited, "no upper limit (add <next major): %s" % unlimited
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def test_the_limits_leave_room_above_the_minimum():
|
|
25
|
+
for line in requirements():
|
|
26
|
+
low = re.search(r">=\s*([\d.]+)", line)
|
|
27
|
+
high = re.search(r"<\s*([\d.]+)", line)
|
|
28
|
+
if low and high:
|
|
29
|
+
as_tuple = lambda text: tuple(int(part) for part in text.split(".")) # noqa: E731
|
|
30
|
+
assert as_tuple(low.group(1)) < as_tuple(high.group(1)), line
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def test_every_line_is_a_valid_requirement():
|
|
34
|
+
from packaging.requirements import Requirement
|
|
35
|
+
|
|
36
|
+
for line in requirements():
|
|
37
|
+
Requirement(line)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def _run_all():
|
|
41
|
+
tests = [(n, f) for n, f in sorted(globals().items()) if n.startswith("test_") and callable(f)]
|
|
42
|
+
failed = 0
|
|
43
|
+
for name, fn in tests:
|
|
44
|
+
try:
|
|
45
|
+
fn()
|
|
46
|
+
print(" PASS %s" % name)
|
|
47
|
+
except Exception as error:
|
|
48
|
+
failed += 1
|
|
49
|
+
print(" FAIL %s\n %s: %s" % (name, type(error).__name__, error))
|
|
50
|
+
print("\n%d/%d passed" % (len(tests) - failed, len(tests)))
|
|
51
|
+
return 1 if failed else 0
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
if __name__ == "__main__":
|
|
55
|
+
sys.exit(_run_all())
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|