bioversions 0.5.534__py3-none-any.whl → 0.5.536__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.
@@ -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("https://www.swisslipids.org/api/downloadData").json()
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
@@ -9,7 +9,7 @@ __all__ = [
9
9
  "VERSION",
10
10
  ]
11
11
 
12
- VERSION = "0.5.534"
12
+ VERSION = "0.5.536"
13
13
 
14
14
 
15
15
  def get_git_hash() -> str:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bioversions
3
- Version: 0.5.534
3
+ Version: 0.5.536
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-Yzli2Pa1_SljuMjXmzAxcEQD6-TOecVvlYT8O8G3k,645
9
+ bioversions/version.py,sha256=dshhN8q15b-hTlu3s1XRPeuBDMy5FEY06N1DChvjUB4,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=nttj-mrzwgosK-Vv3UVlyAI0EX1WkJRFBkGmkTnhdU0,709
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.534.dist-info/LICENSE,sha256=GzLA83qaovFgoZWRYwaAmY-lkHZyDySJHU-YKE9NdVs,1076
73
- bioversions-0.5.534.dist-info/METADATA,sha256=X--ZumWRzqjajP-FvtnLRJzs3_EtHxIP1DNHLhLcPeA,9434
74
- bioversions-0.5.534.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
75
- bioversions-0.5.534.dist-info/entry_points.txt,sha256=A3qrS-nvKNZPZWQbYlmsmiDTge524C4yR-arRJwdHls,53
76
- bioversions-0.5.534.dist-info/top_level.txt,sha256=0QO2OEUMchj5GSlWEFi0cvUpsm4b_uwuuvr6uSEmfY0,12
77
- bioversions-0.5.534.dist-info/RECORD,,
72
+ bioversions-0.5.536.dist-info/LICENSE,sha256=GzLA83qaovFgoZWRYwaAmY-lkHZyDySJHU-YKE9NdVs,1076
73
+ bioversions-0.5.536.dist-info/METADATA,sha256=HuT_NrhpHz9l9Bh_TVmuSyuDif5J9vLsIgY2ZRoYWw0,9434
74
+ bioversions-0.5.536.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
75
+ bioversions-0.5.536.dist-info/entry_points.txt,sha256=A3qrS-nvKNZPZWQbYlmsmiDTge524C4yR-arRJwdHls,53
76
+ bioversions-0.5.536.dist-info/top_level.txt,sha256=0QO2OEUMchj5GSlWEFi0cvUpsm4b_uwuuvr6uSEmfY0,12
77
+ bioversions-0.5.536.dist-info/RECORD,,