Skip to content

dimanu-py/sindri

Repository files navigation

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

What is this?

sindripy v2.0.0 is a transitional release that installs value-object-sindri and object-mother-sindri as dependencies and shows a deprecation warning on import. It no longer contains any implementation.

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_object import Integer, String
from object_mother import IntegerPrimitivesMother
  1. For custom value objects and validators, update the base class imports:
# Old
from sindripy.value_objects.value_object import ValueObject
from sindripy.value_objects.decorators.validation import validate

# New
from value_object import ValueObject, validate

For full documentation, visit:

About

Customizable implementation for Value Object and Object Mother patterns

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

Contributors