bioversions 0.5.534__py3-none-any.whl → 0.5.535__py3-none-any.whl
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.
- bioversions/sources/slm.py +4 -3
- bioversions/version.py +1 -1
- {bioversions-0.5.534.dist-info → bioversions-0.5.535.dist-info}/METADATA +1 -1
- {bioversions-0.5.534.dist-info → bioversions-0.5.535.dist-info}/RECORD +8 -8
- {bioversions-0.5.534.dist-info → bioversions-0.5.535.dist-info}/WHEEL +1 -1
- {bioversions-0.5.534.dist-info → bioversions-0.5.535.dist-info}/LICENSE +0 -0
- {bioversions-0.5.534.dist-info → bioversions-0.5.535.dist-info}/entry_points.txt +0 -0
- {bioversions-0.5.534.dist-info → bioversions-0.5.535.dist-info}/top_level.txt +0 -0
bioversions/sources/slm.py
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
# -*- coding: utf-8 -*-
|
2
|
-
|
3
1
|
"""A getter for SwissLipids."""
|
4
2
|
|
5
3
|
import datetime
|
@@ -12,6 +10,9 @@ __all__ = [
|
|
12
10
|
"SwissLipidGetter",
|
13
11
|
]
|
14
12
|
|
13
|
+
# View docs at https://www.swisslipids.org/#/api
|
14
|
+
URL = "https://www.swisslipids.org/api/index.php/downloadData"
|
15
|
+
|
15
16
|
|
16
17
|
class SwissLipidGetter(Getter):
|
17
18
|
"""A getter for SwissLipids."""
|
@@ -22,7 +23,7 @@ class SwissLipidGetter(Getter):
|
|
22
23
|
|
23
24
|
def get(self):
|
24
25
|
"""Get the latest SwissLipids version number."""
|
25
|
-
res = requests.get(
|
26
|
+
res = requests.get(URL).json()
|
26
27
|
record = next(record for record in res if record["file"] == "lipids.tsv")
|
27
28
|
return datetime.datetime.strptime(record["date"], "%B %d %Y")
|
28
29
|
|
bioversions/version.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: bioversions
|
3
|
-
Version: 0.5.
|
3
|
+
Version: 0.5.535
|
4
4
|
Summary: What's the current version for each biological database?
|
5
5
|
Home-page: https://github.com/biopragmatics/bioversions
|
6
6
|
Download-URL: https://github.com/biopragmatics/bioversions/releases
|
@@ -6,7 +6,7 @@ bioversions/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
bioversions/slack_client.py,sha256=42kl4TbjtXimVRULcBfe8i3pdJLScEPvJr1vw72tv-4,1271
|
7
7
|
bioversions/twitter_client.py,sha256=TQhsdp6avlzoZLoZlndJlwsYhIYI-uabehZJ1W1mNuY,1353
|
8
8
|
bioversions/utils.py,sha256=6ygaoe5rRArtrCXHrVygpl2cD7Otrbs4D1rADmpXDrA,10425
|
9
|
-
bioversions/version.py,sha256=
|
9
|
+
bioversions/version.py,sha256=JIFMGF4n6u53-S6PVsOSCNrrqQGQ2XP3iVlw3727jAY,645
|
10
10
|
bioversions/wsgi.py,sha256=Z1HYFmnrWKNGwHq4R4DRfBuLzAEAAZ5UfHjvJUpnDfs,826
|
11
11
|
bioversions/resources/__init__.py,sha256=0E1yGGT5SztSGEa30Tai4wCUki4nqfynqCSNAvjzEOk,1173
|
12
12
|
bioversions/resources/update.py,sha256=CfvtoUJ3Ai_--Y5DHBx2zZ4vfIGgDsQaE4asb2kp3bg,3273
|
@@ -62,16 +62,16 @@ bioversions/sources/rgd.py,sha256=dO-c5_muNJKOALXSN-vsM_LS7wsL4KFdpDJU7HsztdA,79
|
|
62
62
|
bioversions/sources/rhea.py,sha256=LERbsgy5ZI8Jy5v9r1IXGRBe70_bd8YwBa8a3_uumWg,831
|
63
63
|
bioversions/sources/rxnorm.py,sha256=qZLCiw-HjsyYsFTa4ZtCtLqXcU8LDoxRSEx9YuFp7Ys,1035
|
64
64
|
bioversions/sources/sgd.py,sha256=xLZdpA0WBJVIkgwuLmosVpXo9WBeiqCAA8_4taSrLsA,1109
|
65
|
-
bioversions/sources/slm.py,sha256=
|
65
|
+
bioversions/sources/slm.py,sha256=KqfgPX37U7VUqYHKACs_v5YNzMCQ8fGUSL5I8QOqkyI,754
|
66
66
|
bioversions/sources/stringdb.py,sha256=6D3rcGGzdkgVOw4refJgjsorkyZuPswTYe4rNT4bQRQ,810
|
67
67
|
bioversions/sources/umls.py,sha256=4c9vVTD_eIshX3lzBVRPUGZXuUfvmecj_aVs9OfYV2k,842
|
68
68
|
bioversions/sources/uniprot.py,sha256=_rootal_mrESkiXJh3udfr1UGrlzP7CQQIMsa35tycA,962
|
69
69
|
bioversions/sources/unversioned.py,sha256=noHxGmy9cpVv5xegMHouBF6oCbW6CP1jpOeCVdE7Eak,78
|
70
70
|
bioversions/sources/wikipathways.py,sha256=HTva8vsXRQWU6bia83Et4vveo-QhzJS6dDWeu9Syc6c,823
|
71
71
|
bioversions/sources/zfin.py,sha256=D7csziZ3UsW8dncm6XKA0t3x6XB4cFbG9PTYcT-g2bg,708
|
72
|
-
bioversions-0.5.
|
73
|
-
bioversions-0.5.
|
74
|
-
bioversions-0.5.
|
75
|
-
bioversions-0.5.
|
76
|
-
bioversions-0.5.
|
77
|
-
bioversions-0.5.
|
72
|
+
bioversions-0.5.535.dist-info/LICENSE,sha256=GzLA83qaovFgoZWRYwaAmY-lkHZyDySJHU-YKE9NdVs,1076
|
73
|
+
bioversions-0.5.535.dist-info/METADATA,sha256=0fJD1nP7cn2EdAm6hIKxA51IEczef4ezmDicXbdrso4,9434
|
74
|
+
bioversions-0.5.535.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
75
|
+
bioversions-0.5.535.dist-info/entry_points.txt,sha256=A3qrS-nvKNZPZWQbYlmsmiDTge524C4yR-arRJwdHls,53
|
76
|
+
bioversions-0.5.535.dist-info/top_level.txt,sha256=0QO2OEUMchj5GSlWEFi0cvUpsm4b_uwuuvr6uSEmfY0,12
|
77
|
+
bioversions-0.5.535.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|