Package: aiogremlin
AIO GremlinAn asynchronous DSL for the Gremlin-Python driverLicensed under the Apache Software License v2aiogremlinis an asynchronous DSL based on the officialGremlin-PythonGLV designed for integration with
event loop based asynchronous Python networking libraries, includingasyncio,aiohttp, andtornado. It uses theasync/awaitsyntax introduced
in PEP 492, and is therefore Python 3.5+ only.aiogremlintries to followGremlin-Pythonas closely as possible both in terms
of API and implementation. It is released according to the TinkerPop release schedule.aiogremlinis built directly on top of TinkerPop and allows access to all of the internals. This ensures all the
TinkerPop features are available to the end-user. The TinkerPop stack provides several tools which can be used to work
withaiogremlin.Gremlin, a database agnostic query language for Graph Databases.Gremlin Server, a server that provides an interface for executing Gremlin on remote machines.a data-flow framework for splitting, merging, filtering, and transforming of dataGraph Computer, a framework for running algorithms against a Graph Database.Support for bothOLTPandOLAPengines.TinkerGrapha Graph Database and the reference implementation for TinkerPop.NativeGephiintegration for visualizing graphs.Interfaces for most major Graph Compute Engines includingHadoop M/R.Spark, andGiraph.aiogremlinalso supports any of the many databases compatible with TinkerPop including the following.JanusGraphTitanNeo4jOrientDBMongoDBOracle NoSQLTinkerGraphSome unique feature provided by the Goblin OGM include:High level asynchronousObject Graph Mapper(OGM) - provided bygoblinIntegration with theofficial gremlin-python Gremlin Language Variant(GLV)Native Python support for asynchronous programing includingcoroutines,iterators, andcontext managersas specified inPEP 492Asynchronous Python driverfor the Gremlin ServerAsyncGraphimplementation that producesnative Python GLV traversalsGetting StartedimportasynciofromaiogremlinimportDriverRemoteConnection,Graphloop=asyncio.get_event_loop()asyncdefgo(loop):remote_connection=awaitDriverRemoteConnection.open('ws://localhost:8182/gremlin','g')g=Graph().traversal().withRemote(remote_connection)vertices=awaitg.V().toList()awaitremote_connection.close()returnverticesvertices=loop.run_until_complete(go(loop))print(vertices)# [v[1], v[2], v[3], v[4], v[5], v[6]]DonatingAs an open-source project we run entierly off donations. Buy one of our hardworking developers a beer by donating with one of the above buttons. All donations go to our bounty fund and allow us to place bounties on important bugs and enhancements.Support and DocumentationThe official homepage for the project is athttp://goblin-ogm.com. The source is officially hosted onQOTO GitLab herehowever an up-to-date mirror is also maintained onGithub here.Documentation:latestFor support please useGitteror theofficial Goblin mailing list and Discourse forum.Please file bugs and feature requests onQOTO GitLabour old archived issues can still be viewed onGithubas well.Aparapi conforms to theSemantic Versioning 2.0.0standard. That means the version of a release isnt arbitrary but rather describes how the library interfaces have changed. Read more about it at theSemantic Versioning page.Related ProjectsThis particular repository only represents the one component in a suite of libraries. There are several other related repositories worth taking a look at.Goblin- The main library, the Goblin OGMGoblin Buildchain- Docker image containing all the needed tools to build and test Goblin.Python Gremlin Server- Vanilla Gremlin-server with Python Script Engine loaded, used for integration testing.