Gqlalchemy

Latest version: v1.7.0

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.7.0

Improvements
- Updated `to_cypher_value()` and `escape_value()` to use `json.dumps()` instead of `fstring`. This solves an issue when there is a combination of characters in a string that need to be both escaped (e.g., an apostrophe ') and not escaped (e.g. newlines, \n) and allows flexibility in how the developer instantiates their strings and whether they chose to escape their strings ahead of sending them through to Cypher or not. (https://github.com/memgraph/gqlalchemy/pull/341)
- Bumped up dependencies to allow users to use higher, more recent versions of their favorite libraries, without making breaking changes for those who have lower versions in their environments (https://github.com/memgraph/gqlalchemy/pull/334)
- Updated query modules signatures to keep them up to date (https://github.com/memgraph/gqlalchemy/pull/335)

1.6.0

Features and improvements
- Added `SIMILAR` operator to query builder (https://github.com/memgraph/gqlalchemy/pull/304)
- Better documented how to load CSV from a remote location: to load CSV from a remote location, provide a URL as a path (https://github.com/memgraph/gqlalchemy/pull/305)
- You can now add relationship properties in many-to-many mapping when importing a CSV file (https://github.com/memgraph/gqlalchemy/pull/306)
- Added getter and setter for Memgraph storage modes (https://github.com/memgraph/gqlalchemy/pull/309)
- Added `get_transactions()` and `terminate_transactions()` methods for easier transaction management (https://github.com/memgraph/gqlalchemy/pull/310)
- Added support for `ZonedDateTime` data type (https://github.com/memgraph/gqlalchemy/pull/312)

1.5.1

Updates

- Support `pydantic` versions >= 2.3.0, < 3.0.0 (https://github.com/memgraph/gqlalchemy/pull/298)
- Support `pymgclient` versions >= 1.3.1, < 2.0.0 , `neo4j` versions >= 4.4.3, < 5.0.0, `pytest-flake8` versons >= 1.0.7, < 2.0.0 (https://github.com/memgraph/gqlalchemy/pull/299)

1.5.0

Features and improvements

- Added `get_or_create()` metod for `Node` and `Relationship` to simplify merging nodes and relationships (https://github.com/memgraph/gqlalchemy/pull/244)
- Added spelling fixes (https://github.com/memgraph/gqlalchemy/pull/251)
- Turned `docker` into an optional dependency (https://github.com/memgraph/gqlalchemy/pull/279)

Bug fixes

- Fixed typing for `get_triggers` method (https://github.com/memgraph/gqlalchemy/pull/260)

Updates

- Added support for Python 3.11 on Linux (https://github.com/memgraph/gqlalchemy/pull/281)
- Added support for Python 3.10 on Windows (https://github.com/memgraph/gqlalchemy/pull/281)
- Relaxed `neo4j` dependency (https://github.com/memgraph/gqlalchemy/pull/263/files)
- Bumped `pydantic` to v2 (https://github.com/memgraph/gqlalchemy/pull/278)

**Special thanks to all our outside contributors for their efforts!** 👏

!!! note
We are hoping to have full support for Python 3.11 soon. Please [open an issue](https://github.com/memgraph/gqlalchemy/issues) if you have any blockers with the current update.

1.4.1

Features and improvements

- Installing and testing GQLAlchemy is now easier because Apache Arrow, PyTorch Geometric and DGL dependencies have been made optional. [235](https://github.com/memgraph/gqlalchemy/pull/235)

Bug fixes

- Removed unnecessary extra argument in the call of the `escape_value` method and fixed a bug in query creation for the `Map` property type. [198](https://github.com/memgraph/gqlalchemy/pull/198/files)

1.4

Features and improvements

- Data from Memgraph can now be [imported from](reference/gqlalchemy/transformations/importing/graph_importer.md) and [exported to](reference/gqlalchemy/transformations/export/graph_transporter.md) `NetworkX`, `DGL` and `PyG` graph formats. [215](https://github.com/memgraph/gqlalchemy/pull/215)
- Now you can execute procedures from query modules on a subgraph [using the project feature](how-to-guides/query-builder/graph-projection.md). [210](https://github.com/memgraph/gqlalchemy/pull/210)
- Now you can pass values from Python variables as parameters in Cypher queries. [217](https://github.com/memgraph/gqlalchemy/pull/217)
- Besides BSF, DSF and WSHORTEST, now you can also run the All shortest paths algorithm with GQLAlchemy. [200](https://github.com/memgraph/gqlalchemy/pull/200)

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.