Pydantic-neomodel-dict

Latest version: v0.2.0

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

Scan your dependencies

0.2.0

- Replaced the `id()` function with a custom `stable_hash()` method for better cycle detection
- Extended `_get_or_create_ogm_instance()` method to look up existing nodes before creating new ones

Release
The first stable release of our Pydantic to Neo4j OGM converter.

This library solves the common challenge of mapping between Pydantic models (used in APIs and data validation) and Neo4j OGM models (used for database persistence).

Core Features

- Bidirectional conversion between Pydantic and Neo4j OGM models
- Proper handling of relationships at any depth, including circular references
- Support for nested models, collections, and complex object hierarchies
- Custom type converters for special data types
- Full type hint coverage with mypy compatibility

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.