Metadata-Version: 2.1
Name: belql
Version: 0.2.0
Summary: BEL query language Python package.
Home-page: https://github.com/brucetony/belql
License: Apache Software License 2.0
Author: Fraunhofer SCAI
Author-email: bschultz013@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: Flask (>=2.3.2,<3.0.0)
Requires-Dist: click (>=8.1.6,<9.0.0)
Requires-Dist: ebel-rest (>=1.0.24,<2.0.0)
Requires-Dist: requests (>=2.31.0,<3.0.0)
Requires-Dist: waitress (>=2.1.2,<3.0.0)
Project-URL: Repository, https://github.com/brucetony/belql
Description-Content-Type: text/markdown

# BELQL

## Install the Package
```bash
pip install git+https://github.com/e-bel/belql.git
```

## Usage
### CLI
One can use the CLI after installation to directly query the database with your own 
pseudo-BEL statement
```bash
belql query 'p(HGNC:"MAPT")' causal ? --database pharmacome
```
It is advised to encapsulate string in single quotes to ensure it works.

### Run the Web Server
Users can start the server either by running the script directly
```bash
python belql/run.py
```
or via the CLI
```bash
belql serve -p 5000 -h 127.0.0.1
```
The web application is created using Flask and once server is started, 
users can go to http://127.0.0.1:5000/ in their browser.
