Home / Companies / Neo4j / Blog / Post Details
Content Deep Dive

Py2neo 2.0, Unleashed!

Blog post from Neo4j

Post Details
Company
Date Published
Author
Neo4j
Word Count
860
Language
English
Hacker News Points
-
Summary

Py2neo 2.0 has been released, marking a significant update after three years of development. The new version features a heavily refactored core, a cleaner API, improved performance, and enhanced support for Neo4j's labels, Cypher transactions, and other advanced features. The library now uses a more intuitive naming convention, with the `py2neo.neo4j` namespace deprecated in favor of `py2neo`. Additionally, new constructors for nodes and relationships have been introduced, allowing for greater flexibility and control over data synchronization between client and server. Py2neo 2.0 also integrates Cypher in a cleaner way, making it easier to execute queries and use transactions. The library has undergone various changes, including the introduction of `py2neo.legacy` for legacy code, new batch classes, and improved REST functionality.