{ "info": { "author": "Gianluca Tiepolo", "author_email": "tiepolo.gian@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "trisdb-py\n=========\n\nThe Python interface to TrisDb\n\n### Installation\n```\nsudo pip install trisdb-py\n```\n\n### Usage\n```python\n>>> from trisdb import *\n\n>>> # Connect and insert some data\n>>> db = TrisDbConnection('localhost', 1205)\n>>> db.create('Alice', 'loves', 'pizza')\n>>> db.create('Kate', 'likes', 'football')\n\n>>> # Print all records\n>>> result = db.get('*')\n>>> for i in result:\n>>> print i['subject'] + '-' + i['predicate'] + '-' + i['object']\n\n>>> # Who likes football?\n>>> result = db.gets('*', 'likes', 'football')\n>>> for i in result:\n>>> print i\n\n>>> # Batch insert using MULTI\n>>> m = db.multi()\n>>> for i in range(0,10):\n>>> m.create('key'+str(i), 'value', 'value'+str(i))\n>>> db.execute(m)\n\n>>> # Clear all data from DB and close connection\n>>> db.clear()\n>>> db.close()\n```", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tiepologian/trisdb-py", "keywords": "trisdb,python", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "trisdb-py", "package_url": "https://pypi.org/project/trisdb-py/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/trisdb-py/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/tiepologian/trisdb-py" }, "release_url": "https://pypi.org/project/trisdb-py/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "The Python interface to TrisDb", "version": "1.0.0" }, "last_serial": 1747484, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "b3c0f37fafaea9317c25283f0a8aa7c2", "sha256": "4693b7a92ed98600c27c12f2ff62e34eb5b0e27bc3fa82e008effaab6cd0172f" }, "downloads": -1, "filename": "trisdb-py-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b3c0f37fafaea9317c25283f0a8aa7c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2250, "upload_time": "2014-06-02T17:39:14", "url": "https://files.pythonhosted.org/packages/61/ca/3ebd7e04064fe2804cee62d9cd1f39025f3cdd2eb63b6b000243b0e4fa37/trisdb-py-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f447cc6c47bb110b13ce2ecb71e160a5", "sha256": "09a33ffe5bca009d14073729b6ff7f6cc6d20e74433ad509b425c252abc9c1a0" }, "downloads": -1, "filename": "trisdb-py-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f447cc6c47bb110b13ce2ecb71e160a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2704, "upload_time": "2014-06-05T22:03:47", "url": "https://files.pythonhosted.org/packages/12/a1/c2912fe5e509a43781802b4f50be83eee9334a96746e9a8ae89762bd9d63/trisdb-py-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "54cfbb569cf4ae3e9e5d53e3476da6f9", "sha256": "aa40b63c66fe4a232eedddc53a41ed1c78d7cc8b26127da837c280d07e582a8f" }, "downloads": -1, "filename": "trisdb-py-0.1.2.tar.gz", "has_sig": false, "md5_digest": "54cfbb569cf4ae3e9e5d53e3476da6f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2943, "upload_time": "2014-06-15T17:15:51", "url": "https://files.pythonhosted.org/packages/2c/75/1aab10e214cb39d54ec725911f77be6eb02ba5c4cd0ae21887d19d3ac5a3/trisdb-py-0.1.2.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "a8febded6be8f702fdd4f8ceb12c4243", "sha256": "04fe66db35581c52178484062a7d297d558bc95bbb8dc07aaf4c497ca6e8090c" }, "downloads": -1, "filename": "trisdb-py-1.0.0.tar.gz", "has_sig": false, "md5_digest": "a8febded6be8f702fdd4f8ceb12c4243", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2979, "upload_time": "2015-10-01T16:39:12", "url": "https://files.pythonhosted.org/packages/a7/91/8c7f8141a0b5f3afac79504bc12b80add8c6c5a624400684fc421d58cc9e/trisdb-py-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a8febded6be8f702fdd4f8ceb12c4243", "sha256": "04fe66db35581c52178484062a7d297d558bc95bbb8dc07aaf4c497ca6e8090c" }, "downloads": -1, "filename": "trisdb-py-1.0.0.tar.gz", "has_sig": false, "md5_digest": "a8febded6be8f702fdd4f8ceb12c4243", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2979, "upload_time": "2015-10-01T16:39:12", "url": "https://files.pythonhosted.org/packages/a7/91/8c7f8141a0b5f3afac79504bc12b80add8c6c5a624400684fc421d58cc9e/trisdb-py-1.0.0.tar.gz" } ] }