$npx skillfedfor your agent

graphframes-py

GraphFrames: Graph Processing Framework for Apache Spark

With conditionsPyPI Scientific/EngineeringReleased Jun 20261.3M downloads / moApache 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — graphframes_py-0.12.1-py3-none-any.whl
v0.12.1 · released 2026-06-17 · Python >=3.10

Yes, if you have a Spark cluster or Spark-Connect server and need distributed graph processing. The package is actively maintained, permissively licensed, and has no known vulnerabilities. The main gotcha is the external JVM dependency—you cannot use this package standalone; it requires a working Spark environment. If you already have Spark and need graph algorithms at scale, it's a solid choice.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Apache Spark cluster or Spark-Connect server with JVM-core dependency installed; Python 3.10 or later; separate GraphX dependency may need manual setup when installing from local repository.
  • Low install friction with a pure Python wheel.
  • Actively maintained as of 2026-06-17 with recent commits.

License · maintenance · safety

Apache 2.0 (permissive) — Licensed under Apache 2.0 (permissive). You can use, modify, and distribute this package freely in commercial and private projects, provided you include the license notice.

last release 2026-06-17 (58 days) · last repo commit 2026-08-12 · 1,201 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,283,535 downloads/mo, #4,114 on PyPI

Verify before relying

pip install graphframes-py

from graphframes import GraphFrame

# Requires a Spark session and graph data (vertices, edges DataFrames)
graph = GraphFrame(vertices, edges)
  • Whether the package auto-resolves GraphX and other JVM dependencies when installed from PyPI (description notes manual setup may be needed for local installs).
  • Specific Spark version compatibility matrix beyond the general reference in documentation.
  • Whether Spark-Connect mode is the recommended path for new projects or if classic mode remains the default.
Same gist for agents: .md · .json

What it is and what it does

GraphFrames is a Python wrapper for the Scala GraphFrames library, enabling distributed graph processing on Apache Spark. It lets you build and analyze graphs at scale using familiar DataFrame-like APIs, supporting operations such as centrality calculations (PageRank), motif discovery, community detection, and graph traversals. The package works with both classic Spark and Spark-Connect, choosing the implementation automatically based on your session type.

The package itself is a thin Python layer—the heavy lifting happens in the JVM via Spark and GraphX. You need to supply your own Spark cluster or Spark-Connect server and ensure the JVM-core and GraphX dependencies are available. It's designed for developers working with network data, social graphs, knowledge graphs, or any large-scale graph problem that benefits from distributed computation.

Use it for

  • Compute PageRank and other centrality metrics on large social networks or web graphs in a distributed setting.
  • Discover motifs and structural patterns in biological networks, citation graphs, or knowledge graphs.
  • Detect communities and clusters in large graphs to identify groups or sub-networks.
  • Perform graph traversals and connectivity analysis to find paths, reachability, or connected components.
  • Build recommendation systems or link-prediction models using graph algorithms on Spark.

Worth the install?

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

With conditions

Yes, if you have a Spark cluster or Spark-Connect server and need distributed graph processing.

The package is actively maintained, permissively licensed, and has no known vulnerabilities. The main gotcha is the external JVM dependency—you cannot use this package standalone; it requires a working Spark environment. If you already have Spark and need graph algorithms at scale, it's a solid choice.

Install

graphframes-py on PyPI

Before you install

Low install friction with a pure Python wheel. Actively maintained as of 2026-06-17 with recent commits. However, the package requires a separate JVM-core dependency and Apache Spark cluster or Spark-Connect server to function—this is a runtime requirement, not a packaging issue.

Requires Apache Spark cluster or Spark-Connect server with JVM-core dependency installed; Python 3.10 or later; separate GraphX dependency may need manual setup when installing from local repository.

License in practice

Licensed under Apache 2.0 (permissive). You can use, modify, and distribute this package freely in commercial and private projects, provided you include the license notice.

Quickstart

pip install graphframes-py

from graphframes import GraphFrame

# Requires a Spark session and graph data (vertices, edges DataFrames)
graph = GraphFrame(vertices, edges)

Verify before relying

  • Whether the package auto-resolves GraphX and other JVM dependencies when installed from PyPI (description notes manual setup may be needed for local installs).
  • Specific Spark version compatibility matrix beyond the general reference in documentation.
  • Whether Spark-Connect mode is the recommended path for new projects or if classic mode remains the default.

Package facts

LicenseApache 2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 58 days since the last release
Last repo commit
First released
Downloads1,283,535 / month, #4,114 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Topic :: Database :: Front-EndsTopic :: Scientific/Engineering

Evidence: graphframes_py-0.12.1-py3-none-any.whl

Tags

Capabilities
graph processing sparknetwork analysis pysparkdistributed graph algorithmspagerank pregel sparkgraph clustering community detectionmotif finding graphsgraph traversal connectivitycentrality metrics spark
Topics
distributed-computinggraph-algorithmsspark-ecosystem
PyPI keywords
pysparknetwork-analysispagerankpregelgraph

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 › “network analysis pyspark”

  • graphframes-pyGraphFrames Python wrapper provides graph processing and analysis on…
  • h3-pysparkProvides PySpark bindings for H3, enabling hexagonal geospatial…
  • pyspark-stubsProvides type stubs for PySpark to enable static type checking and…

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

More Scientific/Engineering packages

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
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also graphframes · sparkmeasure · pyspark-pandas · pyspark · pyspark-client · pyspark-extension · autovizwidget · spark-sklearn · repartipy · graphdatascience