API: Stores


This module has been designed to work on Linux and may not operate correctly - or at all - on other platforms.

The store module provides a class for working with a Neo4j data store, typically contained within the data/graph.db directory.

class py2neo.store.GraphStore(path)[source]

A physical database store on disk.


Delete this store directory.

classmethod for_server(server)[source]

Return the store object for the given server.

Parameters:server – A py2neo.server.GraphServer object.
Return type:GraphStore

Returns True if store is currently in use, False otherwise.

path = None

The full file path of this store.