{"id":16827,"url":"https://neo4j-contrib.github.io/py2neo/","last_synced_at":"2025-08-07T04:30:50.064Z","repository":{"id":200764465,"uuid":"1990631","full_name":"neo4j-contrib/py2neo","owner":"neo4j-contrib","description":"EOL! Py2neo is a comprehensive Neo4j driver library and toolkit for Python.","archived":false,"fork":false,"pushed_at":"2023-11-30T10:55:36.000Z","size":9328,"stargazers_count":20,"open_issues_count":25,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T23:44:04.783Z","etag":null,"topics":["neo4j","neo4j-database","neo4j-driver","neo4j-graph","neo4j-ogm","python"],"latest_commit_sha":null,"homepage":"https://py2neo.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neo4j-contrib.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-07-03T10:01:07.000Z","updated_at":"2024-09-14T07:57:43.000Z","dependencies_parsed_at":"2024-05-02T22:47:22.503Z","dependency_job_id":"7b814fe3-3477-4511-876b-b95aefc2954e","html_url":"https://github.com/neo4j-contrib/py2neo","commit_stats":{"total_commits":2813,"total_committers":39,"mean_commits":72.12820512820512,"dds":0.7369356558833985,"last_synced_commit":"8ce104d88914b7aa1575ac7826a70bdde3c12194"},"previous_names":["neo4j-contrib/py2neo","technige/py2neo","py2neo-org/py2neo"],"tags_count":52,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-contrib%2Fpy2neo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-contrib%2Fpy2neo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-contrib%2Fpy2neo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-contrib%2Fpy2neo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neo4j-contrib","download_url":"https://codeload.github.com/neo4j-contrib/py2neo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227632250,"owners_count":17796542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["neo4j","neo4j-database","neo4j-driver","neo4j-graph","neo4j-ogm","python"],"created_at":"2024-01-05T20:25:33.430Z","updated_at":"2024-12-10T01:30:56.700Z","avatar_url":"https://github.com/neo4j-contrib.png","language":"Python","funding_links":[],"categories":["Database Drivers","数据库驱动程序","Database Drivers [🔝](#readme)"],"sub_categories":[],"readme":"Py2neo\n======\n\n** **Please now consider this project to be EOL. There will be no more updates. It is recommended to use the official Neo4j drivers instead.** **\n\n** **For archival purposes, ownership of Py2neo has now been officially transferred to Neo4j. In return, Neo4j have very kindly made a generous donation to The Bone Cancer Research Trust \u003chttps://www.bcrt.org.uk/\u003e. The new project home is at \u003chttps://github.com/neo4j-contrib/py2neo\u003e. I am hugely grateful to everyone who has contributed to and used this project over the years. --Nigel** **\n\nThe version history of py2neo on PyPI got lost.\nIf you need an older version, you can install |py2neo-history|_ instead.\n\n.. |py2neo-history| replace:: ``py2neo-history``\n.. _py2neo-history:  https://pypi.org/project/py2neo-history/\n\n.. image:: https://img.shields.io/pypi/v/py2neo.svg\n   :target: https://pypi.python.org/pypi/py2neo\n   :alt: PyPI version\n\n.. image:: https://img.shields.io/pypi/dm/py2neo\n   :target: https://pypi.python.org/pypi/py2neo\n   :alt: PyPI Downloads\n\n.. image:: https://img.shields.io/github/license/neo4j-contrib/py2neo.svg\n   :target: https://www.apache.org/licenses/LICENSE-2.0\n   :alt: License\n\n.. image:: https://coveralls.io/repos/github/neo4j-contrib/py2neo/badge.svg?branch=master\n   :target: https://coveralls.io/github/neo4j-contrib/py2neo?branch=master\n   :alt: Coverage Status\n\n\n**Py2neo** is a client library and toolkit for working with `Neo4j \u003chttps://neo4j.com/\u003e`_ from within `Python \u003chttps://www.python.org/\u003e`_ applications.\nThe library supports both Bolt and HTTP and provides a high level API, an OGM, admin tools, a Cypher lexer for Pygments, and many other bells and whistles.\n\nCommand line tooling has been removed from the library in py2neo 2021.2.\nThis functionality now exists in the separate **ipy2neo** project.\n\nAs of version 2021.1, py2neo contains full support for routing, as exposed by a Neo4j cluster.\nThis can be enabled using a ``neo4j://...`` URI or by passing ``routing=True`` to a ``Graph`` constructor.\n\n\nInstallation \u0026 Compatibility\n----------------------------\n\nTo install the latest release of py2neo, simply use:\n\n.. code-block:: bash\n\n    $ pip install py2neo\n\nThe following versions of Python and Neo4j (all editions) are supported:\n\n.. list-table::\n    :header-rows: 1\n\n    * - Neo4j\n      - Python 3.5+\n      - Python 2.7\n    * - 4.4\n      - |test-neo44-py35+|\n      - |test-neo44-py27|\n    * - 4.3\n      - |test-neo43-py35+|\n      - |test-neo43-py27|\n    * - 4.2\n      - |test-neo42-py35+|\n      - |test-neo42-py27|\n    * - 4.1\n      - |test-neo41-py35+|\n      - |test-neo41-py27|\n    * - 4.0\n      - |test-neo40-py35+|\n      - |test-neo40-py27|\n    * - 3.5\n      - |test-neo35-py35+|\n      - |test-neo35-py27|\n    * - 3.4\n      - |test-neo34-py35+|\n      - |test-neo34-py27|\n\nNote that py2neo is developed and tested under **Linux** using standard CPython distributions.\nWhile other operating systems and Python distributions may work, support for these is not available.\n\n\nQuick Example\n-------------\n\nTo run a query against a local database is straightforward::\n\n    \u003e\u003e\u003e from py2neo import Graph\n    \u003e\u003e\u003e graph = Graph(\"bolt://localhost:7687\", auth=(\"neo4j\", \"password\"))\n    \u003e\u003e\u003e graph.run(\"UNWIND range(1, 3) AS n RETURN n, n * n as n_sq\")\n       n | n_sq\n    -----|------\n       1 |    1\n       2 |    4\n       3 |    9\n\n\nReleases \u0026 Versioning\n---------------------\n\nAs of 2020, py2neo has switched to `Calendar Versioning \u003chttps://calver.org/\u003e`_, using a scheme of ``YYYY.N.M``.\nHere, ``N`` is an incrementing zero-based number for each year, and ``M`` is a revision within that version (also zero-based).\n\nNo compatibility guarantees are given between versions, but as a general rule, a change in ``M`` should require little-to-no work within client applications,\nwhereas a change in ``N`` may require some work. A change to the year is likely to require a more significant amount of work to upgrade.\n\nNote that py2neo is developed on a rolling basis, so patches are not made to old versions.\nUsers will instead need to install the latest release to adopt bug fixes.\n\n\nMore\n----\n\nFor more information, read the `handbook \u003chttp://py2neo.org/\u003e`_.\n\n\n.. |test-neo44-py27| image:: https://img.shields.io/github/actions/workflow/status/neo4j-contrib/py2neo/test-neo44-py27.yml\n   :target: https://github.com/neo4j-contrib/py2neo/actions/workflows/test-neo44-py27.yml?query=branch%3Amaster\n   :alt: GitHub workflow status for tests against Neo4j 4.4 using py27\n\n.. |test-neo44-py35+| image:: https://img.shields.io/github/actions/workflow/status/neo4j-contrib/py2neo/test-neo44-py35+.yml\n   :target: https://github.com/neo4j-contrib/py2neo/actions/workflows/test-neo44-py35+.yml?query=branch%3Amaster\n   :alt: GitHub workflow status for tests against Neo4j 4.4 using py35+\n\n.. |test-neo43-py27| image:: https://img.shields.io/github/actions/workflow/status/neo4j-contrib/py2neo/test-neo43-py27.yml\n   :target: https://github.com/neo4j-contrib/py2neo/actions/workflows/test-neo43-py27.yml?query=branch%3Amaster\n   :alt: GitHub workflow status for tests against Neo4j 4.3 using py27\n\n.. |test-neo43-py35+| image:: https://img.shields.io/github/actions/workflow/status/neo4j-contrib/py2neo/test-neo43-py35+.yml\n   :target: https://github.com/neo4j-contrib/py2neo/actions/workflows/test-neo43-py35+.yml?query=branch%3Amaster\n   :alt: GitHub workflow status for tests against Neo4j 4.3 using py35+\n\n.. |test-neo42-py27| image:: https://img.shields.io/github/actions/workflow/status/neo4j-contrib/py2neo/test-neo42-py27.yml\n   :target: https://github.com/neo4j-contrib/py2neo/actions/workflows/test-neo42-py27.yml?query=branch%3Amaster\n   :alt: GitHub workflow status for tests against Neo4j 4.2 using py27\n\n.. |test-neo42-py35+| image:: https://img.shields.io/github/actions/workflow/status/neo4j-contrib/py2neo/test-neo42-py35+.yml\n   :target: https://github.com/neo4j-contrib/py2neo/actions/workflows/test-neo42-py35+.yml?query=branch%3Amaster\n   :alt: GitHub workflow status for tests against Neo4j 4.2 using py35+\n\n.. |test-neo41-py27| image:: https://img.shields.io/github/actions/workflow/status/neo4j-contrib/py2neo/test-neo41-py27.yml\n   :target: https://github.com/neo4j-contrib/py2neo/actions/workflows/test-neo41-py27.yml?query=branch%3Amaster\n   :alt: GitHub workflow status for tests against Neo4j 4.1 using py27\n\n.. |test-neo41-py35+| image:: https://img.shields.io/github/actions/workflow/status/neo4j-contrib/py2neo/test-neo41-py35+.yml\n   :target: https://github.com/neo4j-contrib/py2neo/actions/workflows/test-neo41-py35+.yml?query=branch%3Amaster\n   :alt: GitHub workflow status for tests against Neo4j 4.1 using py35+\n\n.. |test-neo40-py27| image:: https://img.shields.io/github/actions/workflow/status/neo4j-contrib/py2neo/test-neo40-py27.yml\n   :target: https://github.com/neo4j-contrib/py2neo/actions/workflows/test-neo40-py27.yml?query=branch%3Amaster\n   :alt: GitHub workflow status for tests against Neo4j 4.0 using py27\n\n.. |test-neo40-py35+| image:: https://img.shields.io/github/actions/workflow/status/neo4j-contrib/py2neo/test-neo40-py35+.yml\n   :target: https://github.com/neo4j-contrib/py2neo/actions/workflows/test-neo40-py35+.yml?query=branch%3Amaster\n   :alt: GitHub workflow status for tests against Neo4j 4.0 using py35+\n\n.. |test-neo35-py27| image:: https://img.shields.io/github/actions/workflow/status/neo4j-contrib/py2neo/test-neo35-py27.yml\n   :target: https://github.com/neo4j-contrib/py2neo/actions/workflows/test-neo35-py27.yml?query=branch%3Amaster\n   :alt: GitHub workflow status for tests against Neo4j 3.5 using py27\n\n.. |test-neo35-py35+| image:: https://img.shields.io/github/actions/workflow/status/neo4j-contrib/py2neo/test-neo35-py35+.yml\n   :target: https://github.com/neo4j-contrib/py2neo/actions/workflows/test-neo35-py35+.yml?query=branch%3Amaster\n   :alt: GitHub workflow status for tests against Neo4j 3.5 using py35+\n\n.. |test-neo34-py27| image:: https://img.shields.io/github/actions/workflow/status/neo4j-contrib/py2neo/test-neo34-py27.yml\n   :target: https://github.com/neo4j-contrib/py2neo/actions/workflows/test-neo34-py27.yml?query=branch%3Amaster\n   :alt: GitHub workflow status for tests against Neo4j 3.4 using py27\n\n.. |test-neo34-py35+| image:: https://img.shields.io/github/actions/workflow/status/neo4j-contrib/py2neo/test-neo34-py35+.yml\n   :target: https://github.com/neo4j-contrib/py2neo/actions/workflows/test-neo34-py35+.yml?query=branch%3Amaster\n   :alt: GitHub workflow status for tests against Neo4j 3.4 using py35+\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/neo4j-contrib.github.io%2Fpy2neo%2F","html_url":"https://awesome.ecosyste.ms/projects/neo4j-contrib.github.io%2Fpy2neo%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/neo4j-contrib.github.io%2Fpy2neo%2F/lists"}