superphy / spfy

Spfy: an integrated graph database for real-time prediction of Escherichia coli phenotypes and downstream comparative analyses
https://lfz.corefacility.ca/superphy/grouch/
Apache License 2.0
4 stars 2 forks source link

Consider using the blazegraph-python lib instead of requests #246

Closed kevinkle closed 6 years ago

kevinkle commented 6 years ago

We're currently using Blazegraph's REST API (via the Python requests lib) for handling uploads & queries. I'm considering using Blazegraph's own Python lib https://github.com/blazegraph/blazegraph-python , but am unsure of how well maintained it is.

This is brought up in relation to: https://github.com/superphy/backend/issues/243 https://github.com/superphy/backend/issues/225 https://github.com/superphy/backend/issues/187

I'm going to look into their lib's codebase first, and see if it has any improvements before testing this.

kevinkle commented 6 years ago

blazegraph-python seems to be just a fork of https://github.com/syapse/pymantic which itself is a wrapper around httplib2 and rdflib. We essentially have the same setup (using requests and rdflib), I don't see any reason to add another dep. Closing issue.