semvec/pypi-packages huggingface dataset:
iproxpy 1.0.9
A python package for iprox
Requires Python: >=3.8

## Introduction
[iprox](https://www.iprox.cn/) is an integrated proteome resources center in China, which is built to accelerate the worldwide data sharing in proteomics. 

iproxpy is an unofficial Python package for data queries and downloads of iprox database.

## Home Page
https://github.com/phage-GP/iproxpy/

## Dependencies
**aspera-cli**

```bash
conda install -c hcc aspera-cli
```

## Useage

**Installation**
```bash
pip install iproxpy
```

**Example**
```python
import iproxpy

identifier = 'PXD043774'
URL = f'https://www.iprox.cn/proxi/datasets/{identifier}'
file_url_list = iproxpy.get_file_urls(URL,identifier=identifier)
```

```python
iproxpy.download(file_url_list[0],engine = 'aspera',path='~/')
```

```python
iproxpy.batch_download(file_url_list[:4],
                engine = 'aspera',
                path='~/',
                processes_num=4)
```

## Refs
> https://www.iprox.cn/page/helpApi.html

> https://www.ibm.com/docs/en/ahts/4.4?topic=line-ascp-command-reference
jsondbase 1.0.7
like database with json file
Requires Python: >=3.0

# JsonDBase

Use the json file as a local database and do not need to install anything else

feature add, delete, exist, find in any level nested json tree

# Install

```
pip3 install jsondbase
```

# Usage

### isRecordExist
```
from jsondbase import LocalDatabase

db = LocalDatabase(dbname="session.json")

"""
example of session.json
[{
    "company": "ABC"  
    "employee": {  
        "name":       "sonoo",   
        "salary":      56000,   
        "married":     true  
    }  
}]  
"""
#                 value  key
db.isRecordExist("ABC", "comapny")
# find in other level
db.isRecordExist("sonoo", "employee:name")
```

### addRecord
```
from jsondbase import LocalDatabase

db = LocalDatabase(dbname="session.json")

json = {
    "company": "ABC"  
    "employee": {  
        "name":       "sonoo",   
        "salary":      56000,   
        "married":     true  
    }  
}  

db.addRecord(json)
```

### deleteRecord

```
from jsondbase import LocalDatabase

db = LocalDatabase(dbname="session.json")

"""
example of session.json
[{
    "company": "ABC"  
    "employee": {  
        "name":       "sonoo",   
        "salary":      56000,   
        "married":     true  
    }  
}]  
"""
#                 value  key
db.deleteRecord("ABC", "comapny")
# delete in other level
db.deleteRecord("sonoo", "employee:name")
```

### getRecord
```
from jsondbase import LocalDatabase

db = LocalDatabase(dbname="session.json")

"""
example of session.json
[{
    "company": "ABC"  
    "employee": {  
        "name":       "sonoo",   
        "salary":      56000,   
        "married":     true  
    }  
}]  
"""
#                 value  key
db.getRecord("ABC", "comapny")
# get record in other level
db.getRecord("sonoo", "employee:name")
```