Skip to main content

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.

Metadata

Release files for belql 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for belql 0.3.0
File Size Uploaded
belql-0.3.0.tar.gz 36.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for belql 0.3.0
File Interpreter ABI Platform
belql-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 70.8 kB

Release files / belql-0.3.0.tar.gz

Download URL belql-0.3.0.tar.gz
Size 36.1 kB
Tags Source
SHA-256 checksum
How to use checksums
05fc9e2f82af05e5899fde2507a28a3adb5d1d6c8e1bd35674dc92c6faf5ba4f
BLAKE2b-256 checksum
How to use checksums
2f0b4b1c8428303984ce53ea55029b0dd00e468c3a5c20ecd08408620b6d345e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.1

Release files / belql-0.3.0-py3-none-any.whl

Download URL belql-0.3.0-py3-none-any.whl
Size 34.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c62fd7a4e748b7ef1130f0930f231a63ac2509bcf31857c98b0f6319edfb75f1
BLAKE2b-256 checksum
How to use checksums
27a3d41437ecae9a188a8a146ca727050a18199afaed26dc5e9afebe09c5596d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.1

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page