{ "info": { "author": "Lev Givon", "author_email": "lev@columbia.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Framework :: IPython", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Database", "Topic :: Database :: Front-Ends", "Topic :: Software Development" ], "description": "Package Description\r\n-------------------\r\nIOrient is an IPython extension for running queries against an `OrientDB\r\n`_ graph database within IPython using OrientDB's SQL \r\ndialect and `Gremlin `_.\r\n\r\n.. image:: https://img.shields.io/pypi/v/iorient.svg\r\n :target: https://pypi.python.org/pypi/iorient\r\n :alt: Latest Version\r\n.. image:: https://img.shields.io/pypi/dm/iorient.svg\r\n :target: https://pypi.python.org/pypi/iorient\r\n :alt: Downloads\r\n\r\nInstallation\r\n------------\r\nThe package may be installed as follows: ::\r\n\r\n pip install iorient\r\n\r\nAfter installation, the extension may be loaded within an IPython session\r\nwith ::\r\n\r\n %load_ext iorient\r\n\r\nUsage Examples\r\n--------------\r\nSet user name, password, server host, and database name: ::\r\n\r\n %orient user:passwd@localhost/dbname\r\n\r\nSame as above, but also specify the port: ::\r\n\r\n %orient user:passwd@localhost:2424/dbname\r\n\r\nMultiple connections to different databases may be opened. Once a connection has \r\nbeen established, it can be used by specifying its user, server, and database name: ::\r\n\r\n %%orient user@server/dbname\r\n SELECT * FROM V\r\n\r\nOne can also execute Gremlin queries using the ``-g`` option: ::\r\n\r\n %orient -g g.V[0]\r\n\r\nSeveral special commands similar to those provided by the OrientDB console are\r\nalso available: ::\r\n\r\n %orient create database foobar memory graph\r\n %orient drop database foobar\r\n %orient disconnect\r\n %orient current database \r\n %orient current server\r\n %orient list classes\r\n %orient list databases\r\n\r\nOnce at least one connection has been opened, specifying a query without a\r\nconnection string will use the last used connection: ::\r\n\r\n %orient SELECT * FROM V\r\n\r\nTo display query results in JSON format results using Python's ``pprint`` module\r\nrather than return them, use the ``-j`` option: :: \r\n\r\n %orient -j SELECT * FROM V\r\n\r\nOne can also print the results in tabular format with a maximum field width: ::\r\n\r\n %orient -t 100 SELECT * FROM V\r\n\r\nResults of a query can also be viewed in a similar manner with the ``%oview``\r\ncommand: ::\r\n\r\n r = %orient SELECT * FROM V\r\n %oview -j r\r\n %oview -t 100 r\r\n\r\nDevelopment\r\n-----------\r\nThe latest release of the package may be obtained from\r\n`GitHub `_.\r\n\r\nAuthor\r\n------\r\nSee the included ``AUTHORS.rst`` file for more information.\r\n\r\n\r\nLicense\r\n-------\r\nThis software is licensed under the\r\n`BSD License `_.\r\nSee the included ``LICENSE.rst`` file for more information.", "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/lebedov/iorient/", "keywords": "IPython, OrientDB", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "iorient", "package_url": "https://pypi.org/project/iorient/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/iorient/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/lebedov/iorient/" }, "release_url": "https://pypi.org/project/iorient/0.1.3/", "requires_dist": null, "requires_python": null, "summary": "Query OrientDB via IPython", "version": "0.1.3" }, "last_serial": 1875397, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "5a2cab49e879bed88677476a49a0e506", "sha256": "d4f81e032fa176761e8353ef0a5c43739628c787bdc818540a78c94c5514f3b3" }, "downloads": -1, "filename": "iorient-0.1.0.tar.gz", "has_sig": false, "md5_digest": "5a2cab49e879bed88677476a49a0e506", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22676, "upload_time": "2015-08-31T00:13:07", "url": "https://files.pythonhosted.org/packages/23/e7/e4af3950d0fb2208826ba5a0c559f69805de2e40787ea51d1be856aa50aa/iorient-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "4df65da26db70b46b1ef899bafebe653", "sha256": "e2a31ade708b86472e20ffda4ddf6bfb5386cb85228564db659492e9deccd912" }, "downloads": -1, "filename": "iorient-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4df65da26db70b46b1ef899bafebe653", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23208, "upload_time": "2015-10-25T19:49:33", "url": "https://files.pythonhosted.org/packages/39/7c/600f3e3b4311b8fc58546a0c442ca63709f02c0ad506263fff0d5cbf2577/iorient-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "b92729b1096c539be5bb69ef4c67e05e", "sha256": "d35c38b96e219e8df52b06b954b94061ea9e6ae13b1d133e5fc33523f553e4c8" }, "downloads": -1, "filename": "iorient-0.1.2.tar.gz", "has_sig": false, "md5_digest": "b92729b1096c539be5bb69ef4c67e05e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23529, "upload_time": "2015-12-03T22:55:11", "url": "https://files.pythonhosted.org/packages/92/0d/1f41ff5a26b17b5f2148068284d26159c7124ea4572f501213fa0376f89d/iorient-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "23d1b1b2ee53b9ce4893ba2d94e78950", "sha256": "ddc4b94633186192e83bb00d9613af61cd8912f73845608ca07a4285f98caaaf" }, "downloads": -1, "filename": "iorient-0.1.3.tar.gz", "has_sig": false, "md5_digest": "23d1b1b2ee53b9ce4893ba2d94e78950", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24255, "upload_time": "2015-12-23T14:16:32", "url": "https://files.pythonhosted.org/packages/67/a4/dbd06a869dd49870329178b88fe9a277b46ffb0524d2b574fdd4256d1ad3/iorient-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "23d1b1b2ee53b9ce4893ba2d94e78950", "sha256": "ddc4b94633186192e83bb00d9613af61cd8912f73845608ca07a4285f98caaaf" }, "downloads": -1, "filename": "iorient-0.1.3.tar.gz", "has_sig": false, "md5_digest": "23d1b1b2ee53b9ce4893ba2d94e78950", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24255, "upload_time": "2015-12-23T14:16:32", "url": "https://files.pythonhosted.org/packages/67/a4/dbd06a869dd49870329178b88fe9a277b46ffb0524d2b574fdd4256d1ad3/iorient-0.1.3.tar.gz" } ] }