Skip to content

Commit 065c12a

Browse files
committed
Added initial specifications planning
1 parent d6e8f73 commit 065c12a

2 files changed

Lines changed: 29 additions & 3 deletions

File tree

.cruft.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"template": "https://github.com/saezlab/python-project.git",
3-
"commit": "4713b199398b024d97880e172b4d147331b50b5b",
4-
"checkout": "master",
3+
"commit": "6f78bcede4dd997d081f25239a5e033fb014de1f",
4+
"checkout": null,
55
"context": {
66
"cookiecutter": {
77
"project_name": "omnipath-client",
@@ -65,7 +65,7 @@
6565
"cookiecutter.extensions.TimeExtension"
6666
],
6767
"_template": "https://github.com/saezlab/python-project.git",
68-
"_commit": "4713b199398b024d97880e172b4d147331b50b5b"
68+
"_commit": "6f78bcede4dd997d081f25239a5e033fb014de1f"
6969
}
7070
},
7171
"directory": null

planning/initial_specs.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# New OmniPath python client
2+
3+
Plans to replace the old [OmniPath Python client](https://github.com/saezlab/omnipath)
4+
5+
## Specification
6+
* New Python package for accessing data from the new OmniPath web API: https://dev.omnipathdb.org/
7+
* It is a FastAPI web service implemented in https://github.com/saezlab/omnipath-build
8+
* The data comes as Parquet files by default
9+
* These can be delivered to pandas, polars or pyarrow data frames
10+
* Network (graph) like data should be delivered as [Annnet objects](https://github.com/saezlab/annnet)
11+
* Validation for query parameters and values
12+
* Access to possible endpoints, parameters and values
13+
* Check for any issue with response error handling
14+
* Unit tests
15+
* Logging, session, etc (see #implementation_details)
16+
17+
## Implementation details
18+
* [Create repo from project template](https://github.com/saezlab/python-project)
19+
* [Cache manager](https://github.com/saezlab/cache-manager)
20+
* [Download manager](https://github.com/saezlab/download-manager)
21+
* [Logger and config manager](https://github.com/saezlab/pkg_infra)
22+
23+
## Further Plans
24+
* Evaluate options for async downloads (cache and download manager should be updatednload)
25+
26+
## Structure

0 commit comments

Comments
 (0)