Skip to main content

BEL query language Python package.

Project description

BELQL

Install the Package

BELQL can be installed from PyPI:

pip install belql

Usage

CLI

One can use the CLI after installation to directly query the database with your own pseudo-BEL statement

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

python belql/run.py

or via the CLI

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

belql-0.3.0.tar.gz (36.1 kB view hashes)

Uploaded Source

Built Distribution

belql-0.3.0-py3-none-any.whl (34.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page