$npx skillfedfor your agent

pymgclient

Memgraph database adapter for Python language

With conditionsPyPI Software DevelopmentReleased Jul 2026138.6K downloads / moApache-2.0Platform wheel

Decision gist · record as of 2026-08-14

platform wheels — pymgclient-1.6.0-cp310-cp310-macosx_14_0_arm64.whl · pymgclient-1.6.0-cp310-cp310-macosx_15_0_arm64.whl · pymgclient-1.6.0-cp310-cp310-manylinux_2_34_aarch64.whl
v1.6.0 · released 2026-07-20 · Python >=3.9 · 3 runtime deps: pyopenssl, networkx, tzdata

Yes, if you are building a Python application against Memgraph and want a standards-compliant DB-API 2.0 interface. The package is actively maintained, has no known vulnerabilities, and provides prebuilt wheels for common platforms. Install friction is moderate due to C extension compilation, but wheels mitigate this for standard architectures. Suitable for production use with a running Memgraph instance.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a running Memgraph database instance; C extension requires CPython (not PyPy or other implementations).
  • Medium install friction due to C extension compilation; prebuilt wheels available for Python 3.10, 3.11, 3.12, 3.13 on macOS (arm64), Linux (x86_64, aarch64), and Windows.
  • Maintenance is active with recent releases and no known vulnerabilities.

License · maintenance · safety

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

last release 2026-07-20 (25 days) · last repo commit 2026-07-20 · 51 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 138,614 downloads/mo, #11,326 on PyPI

Verify before relying

pip install pymgclient

import pymgclient
conn = pymgclient.connect(host='127.0.0.1', port=7687)
cursor = conn.cursor()
cursor.execute('CREATE (n:Person {name: "John"}) RETURN n')
row = cursor.fetchone()
conn.commit()
  • Performance characteristics and query latency compared to direct client library use
  • Thread-safety guarantees and concurrent connection handling behavior
  • Support for Memgraph-specific query features beyond standard DB-API 2.0
Same gist for agents: .md · .json

What it is and what it does

pymgclient wraps the official Memgraph C client library to provide a Python interface compliant with PEP 249's DB-API 2.0 standard. It is implemented as a C extension for CPython and supports Python 3.9 and later. The adapter enables developers to connect to a Memgraph graph database, execute Cypher queries, and retrieve results using familiar database cursor patterns—making it suitable for applications that need to interact with graph data stored in Memgraph.

The package depends on pyopenssl for secure connections, networkx for graph operations, and tzdata for timezone handling. It is actively maintained with recent releases and no known security vulnerabilities. The C extension approach means installation requires compilation on some platforms, though prebuilt wheels are provided for common architectures across multiple Python versions.

Use it for

  • Build Python applications that query and manipulate graph data stored in Memgraph using standard DB-API patterns.
  • Integrate Memgraph as a backend for knowledge graphs, recommendation engines, or relationship-heavy data models in Python services.
  • Develop ETL pipelines that read from or write to Memgraph using familiar cursor-based transaction semantics.
  • Create graph analytics workflows where Python code needs to execute Cypher queries and process node/edge results.
  • Prototype or deploy graph-based applications without learning a custom client API, leveraging DB-API 2.0 familiarity.

Worth the install?

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

With conditions

Yes, if you are building a Python application against Memgraph and want a standards-compliant DB-API 2.0 interface.

The package is actively maintained, has no known vulnerabilities, and provides prebuilt wheels for common platforms. Install friction is moderate due to C extension compilation, but wheels mitigate this for standard architectures. Suitable for production use with a running Memgraph instance.

Install

pymgclient on PyPI

Before you install

Medium install friction due to C extension compilation; prebuilt wheels available for Python 3.10, 3.11, 3.12, 3.13 on macOS (arm64), Linux (x86_64, aarch64), and Windows. Maintenance is active with recent releases and no known vulnerabilities.

Requires a running Memgraph database instance; C extension requires CPython (not PyPy or other implementations).

License in practice

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

Quickstart

pip install pymgclient

import pymgclient
conn = pymgclient.connect(host='127.0.0.1', port=7687)
cursor = conn.cursor()
cursor.execute('CREATE (n:Person {name: "John"}) RETURN n')
row = cursor.fetchone()
conn.commit()

Verify before relying

  • Performance characteristics and query latency compared to direct client library use
  • Thread-safety guarantees and concurrent connection handling behavior
  • Support for Memgraph-specific query features beyond standard DB-API 2.0

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.9
Install frictionMedium. Platform-specific wheel
Runtime dependencies
3 packages
pyopensslnetworkxtzdata
MaintenanceActively maintained 25 days since the last release
Last repo commit
First released
Downloads138,614 / month, #11,326 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: DatabaseTopic :: Database :: Front-EndsTopic :: Software DevelopmentTopic :: Software Development :: Libraries :: Python Modules

Evidence: pymgclient-1.6.0-cp310-cp310-macosx_14_0_arm64.whl; pymgclient-1.6.0-cp310-cp310-macosx_15_0_arm64.whl; pymgclient-1.6.0-cp310-cp310-manylinux_2_34_aarch64.whl; pymgclient-1.6.0-cp310-cp310-manylinux_2_34_x86_64.whl; pymgclient-1.6.0-cp310-cp310-win_amd64.whl; pymgclient-1.6.0-cp311-cp311-macosx_14_0_arm64.whl; pymgclient-1.6.0-cp311-cp311-macosx_15_0_arm64.whl; pymgclient-1.6.0-cp311-cp311-manylinux_2_34_aarch64.whl; pymgclient-1.6.0-cp311-cp311-manylinux_2_34_x86_64.whl; pymgclient-1.6.0-cp311-cp311-win_amd64.whl; pymgclient-1.6.0-cp312-cp312-macosx_14_0_arm64.whl; pymgclient-1.6.0-cp312-cp312-macosx_15_0_arm64.whl; pymgclient-1.6.0-cp312-cp312-manylinux_2_34_aarch64.whl; pymgclient-1.6.0-cp312-cp312-manylinux_2_34_x86_64.whl; pymgclient-1.6.0-cp312-cp312-win_amd64.whl; pymgclient-1.6.0-cp313-cp313-macosx_14_0_arm64.whl; pymgclient-1.6.0-cp313-cp313-macosx_15_0_arm64.whl; pymgclient-1.6.0-cp313-cp313-manylinux_2_34_aarch64.whl; pymgclient-1.6.0-cp313-cp313-manylinux_2_34_x86_64.whl; pymgclient-1.6.0-cp313-cp313-win_amd64.whl

Tags

Capabilities
memgraph python clientgraph database adapterdb-api 2.0 database drivermemgraph query executionpython graph database connector
Topics
graph-databasedb-api-2.0c-extension

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 › “memgraph python client”

  • pymgclientpymgclient is a Python adapter for Memgraph graph database,…
  • codewords-clientA Python client library for the Codewords API with built-in FastAPI…
  • openapi-python-clientGenerates type-annotated Python HTTP clients from OpenAPI 3.0 and 3.1…

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

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also pymssql · PyMySQL · ydb-dbapi · psycopg2 · psycopg2-binary · pg8000 · neo4j · psycopg · neo4j-driver · pydynamodb