biocypher 0.6.0__py3-none-any.whl → 0.6.1__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.

Potentially problematic release.


This version of biocypher might be problematic. Click here for more details.

biocypher/__init__.py CHANGED
@@ -21,10 +21,11 @@ __all__ = [
21
21
  "log",
22
22
  "Driver",
23
23
  "BioCypher",
24
- "Resource",
24
+ "FileDownload",
25
+ "APIRequest",
25
26
  ]
26
27
 
27
- from ._get import Resource
28
+ from ._get import APIRequest, FileDownload
28
29
  from ._core import BioCypher
29
30
  from ._config import config, module_data
30
31
  from ._logger import log, logger, logfile
biocypher/_get.py CHANGED
@@ -228,13 +228,12 @@ class Downloader:
228
228
  paths = []
229
229
  for url in file_download.url_s:
230
230
  fname = url[url.rfind("/") + 1 :].split("?")[0]
231
- paths.append(
232
- self._retrieve(
233
- url=url,
234
- fname=fname,
235
- path=os.path.join(self.cache_dir, file_download.name),
236
- )
231
+ path = self._retrieve(
232
+ url=url,
233
+ fname=fname,
234
+ path=os.path.join(self.cache_dir, file_download.name),
237
235
  )
236
+ paths.append(path)
238
237
  else:
239
238
  paths = []
240
239
  fname = file_download.url_s[
biocypher/_metadata.py CHANGED
@@ -19,7 +19,7 @@ import importlib.metadata
19
19
 
20
20
  import toml
21
21
 
22
- _VERSION = "0.6.0"
22
+ _VERSION = "0.6.1"
23
23
 
24
24
 
25
25
  def get_metadata():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: biocypher
3
- Version: 0.6.0
3
+ Version: 0.6.1
4
4
  Summary: A unifying framework for biomedical research knowledge graphs
5
5
  Home-page: https://github.com/biocypher/biocypher
6
6
  License: MIT
@@ -1,4 +1,4 @@
1
- biocypher/__init__.py,sha256=ejNY53vH_pE3ZbIN8G_ZBYxxPG9aERovRLD0XhDvt4k,942
1
+ biocypher/__init__.py,sha256=-vr7dGUv6QK7f_i9mmUK5WpMsZuFPflUEFC4oElJTCA,980
2
2
  biocypher/_config/__init__.py,sha256=fFHRFYxE2MtDAQWL6upe--MJ1vw3Z8CwIPhF2gW8cRU,3698
3
3
  biocypher/_config/biocypher_config.yaml,sha256=pusj0IjJM3uWRcm0N7U7mb1IX257HCV2reZV3YKFCk0,3037
4
4
  biocypher/_config/test_config.yaml,sha256=Np8jeS5_EP6HHOvMKb7B_Tkyqd5YaYlYz_DVsXypt-A,119
@@ -8,10 +8,10 @@ biocypher/_config/test_schema_config_extended.yaml,sha256=wn3A76142hhjnImhMF6ROD
8
8
  biocypher/_core.py,sha256=m4o4Szv2xY2gl3PnNAA9m7Gg5Sgd8iR9THv3RDyZlQ8,22618
9
9
  biocypher/_create.py,sha256=vpUchUdEpWupZi1LgFLxAWMtqoBwnWbP7PwEDUCBS4A,10202
10
10
  biocypher/_deduplicate.py,sha256=BBvfpXzu6L5YDY5FdtXxnf8YlsbJpbCE8RdUoKsm0n0,4949
11
- biocypher/_get.py,sha256=mOfne16yeAkFQidvoFprrpQjN6CZgS68pQi2BbOJ_-U,13843
11
+ biocypher/_get.py,sha256=1FHs4n2R2k7OVWtVe7euF2J5WpsUXsFAmnpdSYuhLvY,13817
12
12
  biocypher/_logger.py,sha256=NGXe3hZA79WSujfOgpcxHBf8N2QAfrmvM1LFDpsGK2U,3185
13
13
  biocypher/_mapping.py,sha256=ERSNH2Bg19145KytxbFE4BInPaiP-LWW7osOBot29Eo,9304
14
- biocypher/_metadata.py,sha256=A-d_UprHx3ljxyziSQFgk-ts7MsDOnXTGdMnSRERwcw,1657
14
+ biocypher/_metadata.py,sha256=E4Ei48t7ZASflo58HSMUoLe8WlQnNt0d5w-68FantVA,1657
15
15
  biocypher/_misc.py,sha256=oKNfmj9mUKDYtmx-R6FCZxRa7AOut3VKZZm16KFimyY,6363
16
16
  biocypher/_ontology.py,sha256=G5k-bnzvPZUqhLPxtoOPFa4OSQ4JpufgozVakLTjwLg,31789
17
17
  biocypher/_translate.py,sha256=JafvhtVaFSpruRfYh9BzjVbvDF1Mhg7LLKMDZHWkRjg,16496
@@ -33,7 +33,7 @@ biocypher/output/write/relational/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeR
33
33
  biocypher/output/write/relational/_csv.py,sha256=eyAtmwfCNYnuVbkpd0rUoo9KgG2KPgopZVA3X97tRLU,2919
34
34
  biocypher/output/write/relational/_postgresql.py,sha256=6sABZaELzmV7a2aUy2iRksf28WFsc3EA9mdQ2mShPeM,11959
35
35
  biocypher/output/write/relational/_sqlite.py,sha256=ozElhca1YCYq8R-VFh-LDsnPBaXVJm2cvEboBK2LVVY,2073
36
- biocypher-0.6.0.dist-info/LICENSE,sha256=SjUaQkq671iQUZOxEUpC4jvJxXOlfSiHTTueyz9kXJM,1065
37
- biocypher-0.6.0.dist-info/METADATA,sha256=k1r_9Unas2OGWVwcnWQq5Fs6lWDeVU_ApevfEqx1ddM,10641
38
- biocypher-0.6.0.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
39
- biocypher-0.6.0.dist-info/RECORD,,
36
+ biocypher-0.6.1.dist-info/LICENSE,sha256=SjUaQkq671iQUZOxEUpC4jvJxXOlfSiHTTueyz9kXJM,1065
37
+ biocypher-0.6.1.dist-info/METADATA,sha256=WR311EH67e8M_0wNaHbo88a7zU2Tl4y681GyI1fC4xY,10641
38
+ biocypher-0.6.1.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
39
+ biocypher-0.6.1.dist-info/RECORD,,