kblite


Namekblite JSON
Version 0.0.1 PyPI version JSON
download
home_pageNone
SummaryA SQLite-based interface for Knowledge Bases
upload_time2024-12-26 05:56:56
maintainerNone
docs_urlNone
authorYasas Senarath
requires_python>=3.7
licenseMIT License Copyright (c) 2024 ysenarath Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords conceptnet knowledge-base sqlite
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # kblite

A SQLite-based interface for Knowledge Bases that provides efficient access to the ConceptNet knowledge base.

## Installation

```bash
pip install kblite
```

## Usage

```python
from kblite import KnowledgeBase

# Initialize from HuggingFace dataset
kb = KnowledgeBase.from_repository("ysenarath/conceptnet-sqlite")

# Query nodes
for node in kb.iternodes():
    print(node)

# Get vocabulary
vocab = kb.get_vocab()
```

## Data Files

The ConceptNet database files are hosted on HuggingFace:
https://huggingface.co/datasets/ysenarath/conceptnet-sqlite/tree/main

## License

MIT License

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "kblite",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "conceptnet, knowledge-base, sqlite",
    "author": "Yasas Senarath",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/20/d4/ee0d5a964e55f182c0d7b3579a68cb5ea0c9d2d0a8f96489dc2f81221eb6/kblite-0.0.1.tar.gz",
    "platform": null,
    "description": "# kblite\n\nA SQLite-based interface for Knowledge Bases that provides efficient access to the ConceptNet knowledge base.\n\n## Installation\n\n```bash\npip install kblite\n```\n\n## Usage\n\n```python\nfrom kblite import KnowledgeBase\n\n# Initialize from HuggingFace dataset\nkb = KnowledgeBase.from_repository(\"ysenarath/conceptnet-sqlite\")\n\n# Query nodes\nfor node in kb.iternodes():\n    print(node)\n\n# Get vocabulary\nvocab = kb.get_vocab()\n```\n\n## Data Files\n\nThe ConceptNet database files are hosted on HuggingFace:\nhttps://huggingface.co/datasets/ysenarath/conceptnet-sqlite/tree/main\n\n## License\n\nMIT License\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 ysenarath  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "A SQLite-based interface for Knowledge Bases",
    "version": "0.0.1",
    "project_urls": {
        "Dataset": "https://huggingface.co/datasets/ysenarath/conceptnet-sqlite",
        "Homepage": "https://github.com/ysenarath/kblite",
        "Repository": "https://github.com/ysenarath/kblite"
    },
    "split_keywords": [
        "conceptnet",
        " knowledge-base",
        " sqlite"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d256e36f43372c811596cfa80a6fc905fb5bc5a330f673d90f441b5be3f3892c",
                "md5": "8c06af60eeeaca301ce49e2c361f30c8",
                "sha256": "bd7edf083f47833682aa16c4787979b233e4c5d95436bac58fde946eac5f44a4"
            },
            "downloads": -1,
            "filename": "kblite-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8c06af60eeeaca301ce49e2c361f30c8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 24605,
            "upload_time": "2024-12-26T05:56:53",
            "upload_time_iso_8601": "2024-12-26T05:56:53.873197Z",
            "url": "https://files.pythonhosted.org/packages/d2/56/e36f43372c811596cfa80a6fc905fb5bc5a330f673d90f441b5be3f3892c/kblite-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "20d4ee0d5a964e55f182c0d7b3579a68cb5ea0c9d2d0a8f96489dc2f81221eb6",
                "md5": "5d409ed6290f7adaedfb11c453f219f9",
                "sha256": "3f73e6a332cbdda4072d6e16292ea8e3331be2ebd1fece85ea784f7187911e77"
            },
            "downloads": -1,
            "filename": "kblite-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "5d409ed6290f7adaedfb11c453f219f9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 20979,
            "upload_time": "2024-12-26T05:56:56",
            "upload_time_iso_8601": "2024-12-26T05:56:56.136021Z",
            "url": "https://files.pythonhosted.org/packages/20/d4/ee0d5a964e55f182c0d7b3579a68cb5ea0c9d2d0a8f96489dc2f81221eb6/kblite-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-26 05:56:56",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ysenarath",
    "github_project": "kblite",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "kblite"
}
        
Elapsed time: 0.36570s