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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file belql-0.3.0.tar.gz.

File metadata

  • Download URL: belql-0.3.0.tar.gz
  • Upload date:
  • Size: 36.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.1

File hashes

Hashes for belql-0.3.0.tar.gz
Algorithm Hash digest
SHA256 05fc9e2f82af05e5899fde2507a28a3adb5d1d6c8e1bd35674dc92c6faf5ba4f
MD5 59776197534a03a7eceb7e28a885c383
BLAKE2b-256 2f0b4b1c8428303984ce53ea55029b0dd00e468c3a5c20ecd08408620b6d345e

See more details on using hashes here.

File details

Details for the file belql-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: belql-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 34.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.1

File hashes

Hashes for belql-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c62fd7a4e748b7ef1130f0930f231a63ac2509bcf31857c98b0f6319edfb75f1
MD5 ed41085a3a76a0eaac1d48005955cfb6
BLAKE2b-256 27a3d41437ecae9a188a8a146ca727050a18199afaed26dc5e9afebe09c5596d

See more details on using hashes here.

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