Skip to content

Sindripy [DEPRECATED]

This package has been split into two independent packages.

Package PyPI Documentation
Value Objects value-object-sindri docs
Object Mothers object-mother-sindri docs

Why the split?

The sindripy package originally contained both the Value Object and Object Mother patterns. To give each pattern its own focus, versioning, and maintenance, they have been separated into independent packages:

  • value-object-sindri — Value Object pattern implementation for Python and Domain Driven Design applications.
  • object-mother-sindri — Object Mother pattern implementation for Python test data generation.

Using this package (v2.0.0)

sindripy v2.0.0 is a transitional release that installs both value-object-sindri and object-mother-sindri as dependencies. When you import it, you'll see a deprecation warning instructing you to migrate to the new packages.

Migration

  1. Replace sindripy with the new packages:
pip uninstall sindripy
pip install value-object-sindri object-mother-sindri
  1. Update your imports:
# Old
from sindripy.value_objects import Integer, String
from sindripy.mothers import IntegerPrimitivesMother

# New
from value_objects import Integer, String
from object_mother import IntegerPrimitivesMother

For full documentation, visit: - Value Object docs - Object Mother docs