$npx skillfedfor your agent

gremlinpython

Gremlin-Python for Apache TinkerPop

With conditionsPyPI DatabaseReleased Apr 202617.9M downloads / moApache 2Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — gremlinpython-3.8.1-py3-none-any.whl
v3.8.1 · released 2026-04-07 · Python >=3.10 · 5 runtime deps: nest_asyncio, aiohttp, aenum, isodate, async-timeout

Yes, if you need to query or manipulate a remote property graph and want to use Gremlin's expressive traversal language in Python. The package is actively maintained, has low install friction, carries a permissive license, and ranks in the top 5000 PyPI packages. Install it only if you have a TinkerPop-enabled server to connect to; it is not useful standalone.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a running TinkerPop-enabled graph server accessible via WebSocket at the specified endpoint.
  • Low install friction; pure Python wheel with five async-focused runtime dependencies.
  • Actively maintained as of 129 days ago.

License · maintenance · safety

Apache 2 (permissive) — Apache 2 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.

last release 2026-04-07 (129 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 17,877,594 downloads/mo, #1,099 on PyPI

Verify before relying

from gremlin_python.process.anonymous_traversal import traversal
from gremlin_python.driver.driver_remote_connection import DriverRemoteConnection

g = traversal().with_remote(DriverRemoteConnection('ws://localhost:8182/gremlin','g'))
result = g.V().both()[1:3].to_list()
  • Whether async/await patterns are natively supported or only via nest_asyncio wrapper
  • Performance characteristics and latency overhead for large result sets
  • Compatibility with specific graph database backends beyond Gremlin Server
Same gist for agents: .md · .json

What it is and what it does

Gremlin-Python is the official Python binding for Apache TinkerPop's Gremlin graph traversal language. It allows you to express complex queries on property graphs using a functional, chainable syntax that mirrors Gremlin's Java and Groovy variants. The package connects to remote TinkerPop-enabled servers over WebSocket and executes traversals server-side, returning results back to your Python code.

The package relies on five async-focused runtime dependencies (nest_asyncio, aiohttp, aenum, isodate, async-timeout) to handle non-blocking I/O and protocol handling. It's designed for developers familiar with Gremlin who want to work in Python without learning a new query syntax, and it maintains close parity with the reference Gremlin documentation despite being Python-specific.

Use it for

  • Query a remote property graph to find all vertices connected to a given node and extract their properties.
  • Build graph traversals to analyze relationships in a social network or knowledge graph stored on a server.
  • Programmatically create, update, and delete vertices and edges in a remote graph database using Gremlin syntax.
  • Integrate graph queries into a Python application that connects to remote graph database providers.
  • Write complex multi-step graph algorithms using Gremlin's functional composition model.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to query or manipulate a remote property graph and want to use Gremlin's expressive traversal language in Python.

The package is actively maintained, has low install friction, carries a permissive license, and ranks in the top 5000 PyPI packages. Install it only if you have a TinkerPop-enabled server to connect to; it is not useful standalone.

Install

gremlinpython on PyPI

Before you install

Low install friction; pure Python wheel with five async-focused runtime dependencies. Actively maintained as of 129 days ago. Requires Python 3.10 or later.

Requires a running TinkerPop-enabled graph server accessible via WebSocket at the specified endpoint.

License in practice

Apache 2 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

from gremlin_python.process.anonymous_traversal import traversal
from gremlin_python.driver.driver_remote_connection import DriverRemoteConnection

g = traversal().with_remote(DriverRemoteConnection('ws://localhost:8182/gremlin','g'))
result = g.V().both()[1:3].to_list()

Verify before relying

  • Whether async/await patterns are natively supported or only via nest_asyncio wrapper
  • Performance characteristics and latency overhead for large result sets
  • Compatibility with specific graph database backends beyond Gremlin Server

Package facts

LicenseApache 2 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
nest_asyncioaiohttpaenumisodateasync-timeout
MaintenanceActively maintained 129 days since the last release
First released
Downloads17,877,594 / month, #1,099 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3

Evidence: gremlinpython-3.8.1-py3-none-any.whl

Tags

Capabilities
graph database query languagegremlin traversal python clienttinkerpop graph queriesproperty graph traversalremote graph database connectiongraph query dsl pythongremlin server client
Topics
graph-databasequery-languageremote-client

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “gremlin traversal python client”

Give your agent the search over MCP, or paste the wish link into any chat.

More Database packages

psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.

Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.

Install it if you need to connect Python applications to YDB databases.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.

Install it if you need to manipulate, format, or analyze SQL text programmatically.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also apache-airflow-providers-apache-tinkerpop · apache-airflow-task-sdk · pyone · apache-airflow-providers-apache-kylin · pyiceberg-core · apache-airflow-providers-cohere · snowflake-cli-labs · apache-airflow-providers-common-compat · apache-airflow-providers-grpc · pyiceberg