[![license](https://img.shields.io/github/license/falkordb/falkordb-py.svg)](https://github.com/falkordb/falkordb-py)
[![Release](https://img.shields.io/github/release/falkordb/falkordb-py.svg)](https://github.com/falkordb/falkordb-py/releases/latest)
[![PyPI version](https://badge.fury.io/py/falkordb.svg)](https://badge.fury.io/py/falkordb)
[![Codecov](https://codecov.io/gh/falkordb/falkordb-py/branch/main/graph/badge.svg)](https://codecov.io/gh/falkordb/falkordb-py)
[![Forum](https://img.shields.io/badge/Forum-falkordb-blue)](https://github.com/orgs/FalkorDB/discussions)
[![Discord](https://img.shields.io/discord/1146782921294884966?style=flat-square)](https://discord.gg/ErBEqN9E)
# falkordb-py
[![Try Free](https://img.shields.io/badge/Try%20Free-FalkorDB%20Cloud-FF8101?labelColor=FDE900&style=for-the-badge&link=https://app.falkordb.cloud)](https://app.falkordb.cloud)
FalkorDB Python client
see [docs](http://falkordb-py.readthedocs.io/)
## Installation
```sh
pip install FalkorDB
```
## Usage
### Run FalkorDB instance
Docker:
```sh
docker run --rm -p 6379:6379 falkordb/falkordb
```
Or use our [sandbox](https://cloud.falkordb.com/sandbox)
### Example
```python
from falkordb import FalkorDB
# Connect to FalkorDB
db = FalkorDB(host='localhost', port=6379)
# Select the social graph
g = db.select_graph('social')
# Create 100 nodes and return a handful
nodes = g.query('UNWIND range(0, 100) AS i CREATE (n {v:1}) RETURN n LIMIT 10').result_set
for n in nodes:
print(n)
```
Raw data
{
"_id": null,
"home_page": "http://falkordb-py.readthedocs.io",
"name": "FalkorDB",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8",
"maintainer_email": null,
"keywords": "FalkorDB, GraphDB, Cypher",
"author": "FalkorDB inc",
"author_email": "info@falkordb.com",
"download_url": "https://files.pythonhosted.org/packages/a0/7b/561a794dd04519dd87d65c331c0a29e1dc7356dc5bab9c04276b28a55f31/falkordb-1.0.10.tar.gz",
"platform": null,
"description": "[![license](https://img.shields.io/github/license/falkordb/falkordb-py.svg)](https://github.com/falkordb/falkordb-py)\n[![Release](https://img.shields.io/github/release/falkordb/falkordb-py.svg)](https://github.com/falkordb/falkordb-py/releases/latest)\n[![PyPI version](https://badge.fury.io/py/falkordb.svg)](https://badge.fury.io/py/falkordb)\n[![Codecov](https://codecov.io/gh/falkordb/falkordb-py/branch/main/graph/badge.svg)](https://codecov.io/gh/falkordb/falkordb-py)\n[![Forum](https://img.shields.io/badge/Forum-falkordb-blue)](https://github.com/orgs/FalkorDB/discussions)\n[![Discord](https://img.shields.io/discord/1146782921294884966?style=flat-square)](https://discord.gg/ErBEqN9E)\n\n# falkordb-py\n\n[![Try Free](https://img.shields.io/badge/Try%20Free-FalkorDB%20Cloud-FF8101?labelColor=FDE900&style=for-the-badge&link=https://app.falkordb.cloud)](https://app.falkordb.cloud)\n\nFalkorDB Python client\n\nsee [docs](http://falkordb-py.readthedocs.io/)\n\n## Installation\n```sh\npip install FalkorDB\n```\n\n## Usage\n\n### Run FalkorDB instance\nDocker:\n```sh\ndocker run --rm -p 6379:6379 falkordb/falkordb\n```\nOr use our [sandbox](https://cloud.falkordb.com/sandbox)\n\n### Example \n```python\nfrom falkordb import FalkorDB\n\n# Connect to FalkorDB\ndb = FalkorDB(host='localhost', port=6379)\n\n# Select the social graph\ng = db.select_graph('social')\n\n# Create 100 nodes and return a handful\nnodes = g.query('UNWIND range(0, 100) AS i CREATE (n {v:1}) RETURN n LIMIT 10').result_set\nfor n in nodes:\n print(n)\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "Python client for interacting with FalkorDB database",
"version": "1.0.10",
"project_urls": {
"Homepage": "http://falkordb-py.readthedocs.io",
"Repository": "http://github.com/falkorDB/falkordb-py"
},
"split_keywords": [
"falkordb",
" graphdb",
" cypher"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a07b561a794dd04519dd87d65c331c0a29e1dc7356dc5bab9c04276b28a55f31",
"md5": "d7487876d803d0c77785e7f8b474f4a8",
"sha256": "f3db65e4e1f85f1b68a8cda97b1f7d756af4942a88712696fb2cfa53537025b8"
},
"downloads": -1,
"filename": "falkordb-1.0.10.tar.gz",
"has_sig": false,
"md5_digest": "d7487876d803d0c77785e7f8b474f4a8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8",
"size": 27203,
"upload_time": "2024-11-26T13:34:26",
"upload_time_iso_8601": "2024-11-26T13:34:26.648250Z",
"url": "https://files.pythonhosted.org/packages/a0/7b/561a794dd04519dd87d65c331c0a29e1dc7356dc5bab9c04276b28a55f31/falkordb-1.0.10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-26 13:34:26",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "falkorDB",
"github_project": "falkordb-py",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "falkordb"
}