Are you over 18 and want to see adult content?
More Annotations
A complete backup of www.veinsensor.pl
Are you over 18 and want to see adult content?
A complete backup of 131458934.keywordblocks.com
Are you over 18 and want to see adult content?
A complete backup of markkavanagh.com
Are you over 18 and want to see adult content?
A complete backup of azscers.000webhostapp.com
Are you over 18 and want to see adult content?
A complete backup of abc12.onesignal.com
Are you over 18 and want to see adult content?
A complete backup of sp-active.adsrvr.org
Are you over 18 and want to see adult content?
A complete backup of services.runescape.com-api.top
Are you over 18 and want to see adult content?
A complete backup of cb1.dev.rtb.owneriq.net
Are you over 18 and want to see adult content?
Favourite Annotations
A complete backup of vladnews.ru/2020-02-25/167502/lyubov_uspenskaya
Are you over 18 and want to see adult content?
A complete backup of totalfootballanalysis.com/competitions/uefa-champions-league/uefa-champions-league-201920-lyon-vs-juventus-
Are you over 18 and want to see adult content?
A complete backup of www.ettoday.net/news/20200225/1653749.htm
Are you over 18 and want to see adult content?
A complete backup of timesofindia.indiatimes.com/india/five-sc-judges-catch-h1n1-right-to-religion-hearing-gets-derailed/article
Are you over 18 and want to see adult content?
A complete backup of www.indiatvnews.com/entertainment/tv/indian-idol-11-grand-finale-live-update-streaming-aditya-narayan-neha-
Are you over 18 and want to see adult content?
A complete backup of news.ltn.com.tw/news/life/breakingnews/3078899
Are you over 18 and want to see adult content?
A complete backup of www.livehindustan.com/entertainment/story-indian-idol-11-finale-live-update-sunny-hindustani-rohit-raut-adr
Are you over 18 and want to see adult content?
A complete backup of www.blick.ch/people-tv/international/jury-einigt-sich-im-vergewaltigungsprozess-auf-urteil-harvey-weinstein
Are you over 18 and want to see adult content?
A complete backup of www.jagran.com/punjab/bhatinda-shoe-polisher-sunny-hindustani-become-indian-idol-winner-and-celebration-in-
Are you over 18 and want to see adult content?
Text
NAVIGATION
* index
* modules |
* next |
* py2neo 2021.1 »
* The Py2neo Handbook THE PY2NEO HANDBOOK¶ PY2NEO is a client library and toolkit for working with Neo4jfrom within Python
applications and from the command line. The library supports both Bolt and HTTP and provides a high level API, an OGM, admin tools, an interactive console, a Cypher lexer for Pygments, and many other bellsand whistles.
As of version 2021.1, Py2neo contains full support for routing, as exposed by a Neo4j cluster. This can be enabled using a neo4j://... URI or by passing routing=True to a Graphconstructor.
Remember to take a look at the full release notesfor version 2021.1.
QUICK EXAMPLE¶
To run a query against a local database is straightforward: >>> from py2neo import Graph >>> graph = Graph("bolt://localhost:7687", auth=("neo4j", "password")) >>> graph.run("UNWIND range(1, 3) AS n RETURN n, n * n as n_sq")n | n_sq
-----|------
1 | 1
2 | 4
3 | 9
RELEASES & VERSIONING¶ As of 2020, py2neo has switched to Calendar Versioning , using a scheme of YYYY.N.M. Here, N is an incrementing zero-based number for each year, and M is a revision within that version (also zero-based). No compatibility guarantees are given between versions, but as a general rule, a change in M should require little-to-no work within client applications, whereas a change in N may require some work. A change to the year is likely to require a more significant amount ofwork to upgrade.
Note that py2neo is developed on a rolling basis, so patches are not made to old versions. Users will instead need to install the latest release to adopt bug fixes.INSTALLATION¶
To install the latest release of py2neo, simply use: $ pip install --upgrade py2neo To install the latest stable code from the GitHub master branch, use: $ pip install git+https://github.com/technige/py2neo.git@master#egg=py2neoREQUIREMENTS¶
The following versions of Python and Neo4j (all editions) aresupported:
*
Python 2.7 / 3.4 / 3.5 / 3.6 / 3.7 / 3.8 / 3.9*
Neo4j 3.4 / 3.5 / 4.0 / 4.1 / 4.2 / 4.3 (the latest point release of each version is recommended) Py2neo provides support for the multi-database functionality added in Neo4j 4.0. More about this can be found in the documentation for theGraph class.
Note that Py2neo is developed and tested under LINUX using standard CPython distributions. While other operating systems and Python distributions may work, support for these is not available.CORE GRAPH API¶
Py2neo consists of several distinct regions of API, the heart of which is the Graph API. This has evolved from the original, foundational API included with early versions of the library, and remains relevant for general purpose use today. The Graph class represents a graph database exposed by a Neo4j service running on a single instance or cluster, and which provides access to a large portion of the most commonly used py2neo features. The full DBMS is represented by a GraphService object. For convenience, all core functions and classes are exported from the py2neo root namespace. This includes all connectivity and database management functionality as well as entity matching and core errors. * Connection profiles * Environment variables* Profile URIs
* Individual settings* Profile objects
* Workflow
* GraphService objects* Graph objects
* SystemGraph objects* Schema objects
* Transaction objects * Node and relationship matching* Node matching
* Relationship matching * Applying predicates * Ordering and limiting* Errors
* Neo4j Errors
* Connectivity ErrorsDATA TYPES¶
The Node and Relationship objects are key to this library, both of which extend the Subgraph class. A comprehensive set of graph structure data types and operations are provided, allowing great flexibility in how graph data can be used. * py2neo.data – Graph data types* Node objects
* Relationship objects* Path objects
* Subgraph objects
* py2neo.data.spatial – Geo-spatial data typesCYPHER¶
* py2neo.cypher – Cypher Execution* Cursor objects
* Record objects
* Running procedures* Utilities
* py2neo.cypher.lexer – Cypher Lexer * py2neo.cypher.queries – Cypher Query Generation FunctionsBULK OPERATIONS¶
* py2neo.bulk – Bulk data operations * Bulk Load Operations * py2neo.export – Exporting data OBJECT-GRAPH MAPPING¶ * py2neo.ogm – Object-Graph Mapping* Repositories
* Models
* Properties
* Labels
* Related Objects
* Object Matching
* py2neo.ogm.models – Preset models for use with OGM * py2neo.ogm.models.movies – Models for the Neo4j movies database PYTHON DB API 2.0 COMPATIBILITY¶ * py2neo.pep249 – Python DB API 2.0 Compatibility * Module attributes and functions * Connection objects* Cursor objects
* Exceptions
COMMAND LINE TOOLS¶ * The py2neo command line toolTABLE OF CONTENTS
* The Py2neo Handbook* Quick Example
* Releases & Versioning* Installation
* Requirements
* Core Graph API
* Data Types
* Cypher
* Bulk Operations
* Object-Graph Mapping * Python DB API 2.0 Compatibility * Command Line ToolsNEXT TOPIC
Connection profiles
THIS PAGE
* Show Source
QUICK SEARCH
NAVIGATION
* index
* modules |
* next |
* py2neo 2021.1 »
* The Py2neo Handbook Copyright 2011, Nigel Small. Created using Sphinx3.5.4.
Details
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0