{"id":15879592,"url":"https://github.com/lebedov/iorient","last_synced_at":"2025-03-16T09:33:38.836Z","repository":{"id":35313086,"uuid":"39574568","full_name":"lebedov/iorient","owner":"lebedov","description":"Access OrientDB via IPython","archived":false,"fork":false,"pushed_at":"2017-11-17T13:19:20.000Z","size":48,"stargazers_count":4,"open_issues_count":1,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-26T22:05:35.709Z","etag":null,"topics":["ipython","orientdb","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lebedov.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.rst","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-23T15:15:24.000Z","updated_at":"2024-02-29T16:06:55.000Z","dependencies_parsed_at":"2022-09-17T06:21:02.353Z","dependency_job_id":null,"html_url":"https://github.com/lebedov/iorient","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lebedov%2Fiorient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lebedov%2Fiorient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lebedov%2Fiorient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lebedov%2Fiorient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lebedov","download_url":"https://codeload.github.com/lebedov/iorient/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243810556,"owners_count":20351549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ipython","orientdb","python"],"created_at":"2024-10-06T03:02:38.928Z","updated_at":"2025-03-16T09:33:38.464Z","avatar_url":"https://github.com/lebedov.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. -*- rst -*-\n\n.. image:: https://raw.githubusercontent.com/lebedov/iorient/master/iorient.png\n    :alt: iorient\n\nPackage Description\n-------------------\nIOrient is an IPython extension for running queries against an `OrientDB\n\u003chttps://orientdb.com\u003e`_ graph database within IPython using OrientDB's SQL \ndialect and `Gremlin \u003chttps://gremlin.tinkerpop.com\u003e`_.\n\n.. image:: https://img.shields.io/pypi/v/iorient.svg\n    :target: https://pypi.python.org/pypi/iorient\n    :alt: Latest Version\n\nInstallation\n------------\nThe package may be installed as follows: ::\n\n    pip install iorient\n\nAfter installation, the extension may be loaded within an IPython session\nwith ::\n\n    %load_ext iorient\n\nUsage Examples\n--------------\nSet user name, password, server host, and database name: ::\n\n    %orient user:passwd@localhost/dbname\n\nSame as above, but also specify the port: ::\n\n    %orient user:passwd@localhost:2424/dbname\n\nMultiple connections to different databases may be opened. Once a connection has \nbeen established, it can be used by specifying its user, server, and database name: ::\n\n    %%orient user@server/dbname\n    SELECT * FROM V\n\nOne can also execute Gremlin queries using the ``-g`` option: ::\n\n    %orient -g g.V[0]\n\nSeveral special commands similar to those provided by the OrientDB console are\nalso available: ::\n\n    %orient create database foobar memory graph\n    %orient drop database foobar\n    %orient disconnect\n    %orient current database    \n    %orient current server\n    %orient list classes\n    %orient list databases\n\nOnce at least one connection has been opened, specifying a query without a\nconnection string will use the last used connection: ::\n\n    %orient SELECT * FROM V\n\nTo display query results in JSON format results using Python's ``pprint`` module\nrather than return them, use the ``-j`` option: :: \n\n    %orient -j SELECT * FROM V\n\nOne can also print the results in tabular format with a maximum field width: ::\n\n    %orient -t 100 SELECT * FROM V\n\nResults of a query can also be viewed in a similar manner with the ``%oview``\ncommand: ::\n\n    r = %orient SELECT * FROM V\n    %oview -j r\n    %oview -t 100 r\n\nDevelopment\n-----------\nThe latest release of the package may be obtained from\n`GitHub \u003chttps://github.com/lebedov/iorient\u003e`_.\n\nAuthor\n------\nSee the included `AUTHORS.rst`_ file for more information.\n\n.. _AUTHORS.rst: AUTHORS.rst\n\nLicense\n-------\nThis software is licensed under the\n`BSD License \u003chttp://www.opensource.org/licenses/bsd-license\u003e`_.\nSee the included `LICENSE.rst`_ file for more information.\n\n.. _LICENSE.rst: LICENSE.rst\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flebedov%2Fiorient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flebedov%2Fiorient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flebedov%2Fiorient/lists"}