# GraphFrames Python Package
  
<img src=https://raw.githubusercontent.com/graphframes/graphframes/refs/heads/master/docs/img/GraphFrames-Logo-Large.png width=500>
https://graphframes.io/
The is the officila [graphframes-py PyPI package](https://pypi.org/project/graphframes-py/), which is a Python wrapper for the Scala GraphFrames library.
This package is maintained by the GraphFrames project and is available on PyPI.
For instructions on GraphFrames, check the project [README.md](https://github.com/graphframes/graphframes?tab=readme-ov-file#graphframes-dataframe-based-graphs).
See [Installation and Quick-Start](https://github.com/graphframes/graphframes?tab=readme-ov-file#installation-and-quick-start) for the best way to install and use GraphFrames.
## Installation
```bash
pip install graphframes-py
```
**NOTE!** *Python distribution does not include JVM-core. You need to add it to your cluster or Spark-Connect server!*
## Running `graphframes-py`
You should use GraphFrames via the `--packages` argument to `pyspark` or `spark-submit`, but this package is helpful in development environments.
```bash
# Interactive Python, Spark 3.5.x
$ pyspark --packages io.graphframes:graphframes-spark3_2.12:0.9.2
# Interactive Python, Spark 4.0.x
$ pyspark --packages io.graphframes:graphframes-spark4_2.13:0.9.2
```
## Documentation
- [API Reference](https://graphframes.io/api/python/index.html)
## Spark-Connect Note
GraphFrames PySpark is choosing connect or classic implementation implicitly based on the result of `is_remote()`.
To enforce usage of connect-based implementation, you may export this variable `SPARK_CONNECT_MODE_ENABLED=1`
Raw data
{
"_id": null,
"home_page": null,
"name": "graphframes-py",
"maintainer": "Russell Jurney",
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "russell.jurney@gmail.com",
"keywords": "pyspark, network-analysis, pagerank, pregel, graph",
"author": "GraphFrames Contributors",
"author_email": "graphframes@googlegroups.com",
"download_url": "https://files.pythonhosted.org/packages/af/be/c747a53b8910b6860120ad405c18507e713083fcb9c9d75c7d9c2a8f6f6c/graphframes_py-0.9.2.tar.gz",
"platform": null,
"description": "# GraphFrames Python Package\n\n  \n\n<img src=https://raw.githubusercontent.com/graphframes/graphframes/refs/heads/master/docs/img/GraphFrames-Logo-Large.png width=500>\n\nhttps://graphframes.io/\n\nThe is the officila [graphframes-py PyPI package](https://pypi.org/project/graphframes-py/), which is a Python wrapper for the Scala GraphFrames library.\nThis package is maintained by the GraphFrames project and is available on PyPI.\n\nFor instructions on GraphFrames, check the project [README.md](https://github.com/graphframes/graphframes?tab=readme-ov-file#graphframes-dataframe-based-graphs).\n\nSee [Installation and Quick-Start](https://github.com/graphframes/graphframes?tab=readme-ov-file#installation-and-quick-start) for the best way to install and use GraphFrames.\n\n## Installation\n\n```bash\npip install graphframes-py\n```\n\n**NOTE!** *Python distribution does not include JVM-core. You need to add it to your cluster or Spark-Connect server!*\n\n## Running `graphframes-py`\n\nYou should use GraphFrames via the `--packages` argument to `pyspark` or `spark-submit`, but this package is helpful in development environments.\n\n```bash\n# Interactive Python, Spark 3.5.x\n$ pyspark --packages io.graphframes:graphframes-spark3_2.12:0.9.2\n\n# Interactive Python, Spark 4.0.x\n$ pyspark --packages io.graphframes:graphframes-spark4_2.13:0.9.2\n```\n\n## Documentation\n\n- [API Reference](https://graphframes.io/api/python/index.html)\n\n## Spark-Connect Note\n\nGraphFrames PySpark is choosing connect or classic implementation implicitly based on the result of `is_remote()`.\nTo enforce usage of connect-based implementation, you may export this variable `SPARK_CONNECT_MODE_ENABLED=1`\n\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "GraphFrames: Graph Processing Framework for Apache Spark",
"version": "0.9.2",
"project_urls": {
"Bug Tracker": "https://github.com/graphframes/graphframes/issues",
"Code Repository": "https://github.com/graphframes/graphframes",
"Project Homepage": "https://graphframes.github.io/graphframes",
"PyPi Homepage": "https://pypi.org/project/graphframes-py"
},
"split_keywords": [
"pyspark",
" network-analysis",
" pagerank",
" pregel",
" graph"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "c236dfe9147d72073be8805fa75354aae5943ed3a6c739e06cf5af42311ae7a9",
"md5": "882873d56a4628f94942a5719922bc68",
"sha256": "92f250c15d7e90506f3aa40196c2194610819d593855a03adcb933712f1030ce"
},
"downloads": -1,
"filename": "graphframes_py-0.9.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "882873d56a4628f94942a5719922bc68",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 41805,
"upload_time": "2025-07-19T13:33:56",
"upload_time_iso_8601": "2025-07-19T13:33:56.016686Z",
"url": "https://files.pythonhosted.org/packages/c2/36/dfe9147d72073be8805fa75354aae5943ed3a6c739e06cf5af42311ae7a9/graphframes_py-0.9.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "afbec747a53b8910b6860120ad405c18507e713083fcb9c9d75c7d9c2a8f6f6c",
"md5": "2ec50c20ee78825a6106d50b1a26280e",
"sha256": "6983655a5f53d988dab63461777e5b708ad90111b42c71149e9aa1c789adec1a"
},
"downloads": -1,
"filename": "graphframes_py-0.9.2.tar.gz",
"has_sig": false,
"md5_digest": "2ec50c20ee78825a6106d50b1a26280e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 32944,
"upload_time": "2025-07-19T13:33:57",
"upload_time_iso_8601": "2025-07-19T13:33:57.485867Z",
"url": "https://files.pythonhosted.org/packages/af/be/c747a53b8910b6860120ad405c18507e713083fcb9c9d75c7d9c2a8f6f6c/graphframes_py-0.9.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-19 13:33:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "graphframes",
"github_project": "graphframes",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "graphframes-py"
}