belql


Namebelql JSON
Version 0.3.0 PyPI version JSON
download
home_pagehttps://github.com/e-bel/belql
SummaryBEL query language Python package.
upload_time2023-08-09 11:25:02
maintainer
docs_urlNone
authorBruce Schultz
requires_python>=3.10,<4.0
licenseApache Software License 2.0
keywords knowledge graphs systems biology bel
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # BELQL

## Install the Package
BELQL can be installed from PyPI:
```bash
pip install belql
```

## 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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/e-bel/belql",
    "name": "belql",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "",
    "keywords": "Knowledge Graphs,Systems Biology,BEL",
    "author": "Bruce Schultz",
    "author_email": "bschultz013@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/2f/0b/4b1c8428303984ce53ea55029b0dd00e468c3a5c20ecd08408620b6d345e/belql-0.3.0.tar.gz",
    "platform": null,
    "description": "# BELQL\n\n## Install the Package\nBELQL can be installed from PyPI:\n```bash\npip install belql\n```\n\n## Usage\n### CLI\nOne can use the CLI after installation to directly query the database with your own \npseudo-BEL statement\n```bash\nbelql query 'p(HGNC:\"MAPT\")' causal ? --database pharmacome\n```\nIt is advised to encapsulate string in single quotes to ensure it works.\n\n### Run the Web Server\nUsers can start the server either by running the script directly\n```bash\npython belql/run.py\n```\nor via the CLI\n```bash\nbelql serve -p 5000 -h 127.0.0.1\n```\nThe web application is created using Flask and once server is started, \nusers can go to http://127.0.0.1:5000/ in their browser.\n",
    "bugtrack_url": null,
    "license": "Apache Software License 2.0",
    "summary": "BEL query language Python package.",
    "version": "0.3.0",
    "project_urls": {
        "Homepage": "https://github.com/e-bel/belql",
        "Repository": "https://github.com/e-bel/belql"
    },
    "split_keywords": [
        "knowledge graphs",
        "systems biology",
        "bel"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "27a3d41437ecae9a188a8a146ca727050a18199afaed26dc5e9afebe09c5596d",
                "md5": "ed41085a3a76a0eaac1d48005955cfb6",
                "sha256": "c62fd7a4e748b7ef1130f0930f231a63ac2509bcf31857c98b0f6319edfb75f1"
            },
            "downloads": -1,
            "filename": "belql-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ed41085a3a76a0eaac1d48005955cfb6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 34621,
            "upload_time": "2023-08-09T11:25:00",
            "upload_time_iso_8601": "2023-08-09T11:25:00.527473Z",
            "url": "https://files.pythonhosted.org/packages/27/a3/d41437ecae9a188a8a146ca727050a18199afaed26dc5e9afebe09c5596d/belql-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2f0b4b1c8428303984ce53ea55029b0dd00e468c3a5c20ecd08408620b6d345e",
                "md5": "59776197534a03a7eceb7e28a885c383",
                "sha256": "05fc9e2f82af05e5899fde2507a28a3adb5d1d6c8e1bd35674dc92c6faf5ba4f"
            },
            "downloads": -1,
            "filename": "belql-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "59776197534a03a7eceb7e28a885c383",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 36131,
            "upload_time": "2023-08-09T11:25:02",
            "upload_time_iso_8601": "2023-08-09T11:25:02.621687Z",
            "url": "https://files.pythonhosted.org/packages/2f/0b/4b1c8428303984ce53ea55029b0dd00e468c3a5c20ecd08408620b6d345e/belql-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-09 11:25:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "e-bel",
    "github_project": "belql",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "belql"
}
        
Elapsed time: 0.12663s