Object Mother pattern implementation for Python
Project description
Object Mother Sindri
Object Mother pattern for Python test data generation
Easy use and customizable implementation for the Object Mother pattern.
Getting Started • Object Mother Pattern
|
Sindri object mother replaces ad hoc test data with a consistent Object Mother toolkit.
Generate realistic test data for your domain objects with a simple and focused API.
Why use it? Generating test data with Sindri lets you:
|
This project was generated using Instant Python, a fast, easy and reliable project generator for Python projects.
Fast Kickstart
pip install object-mother-sindri # includes faker for test data
Generate random test data for your tests:
from object_mother import IntegerPrimitivesMother, StringPrimitivesMother
random_age = IntegerPrimitivesMother.any()
random_name = StringPrimitivesMother.any()
Next Steps
To learn more about the object mother pattern, built-in mothers, and how to create custom mothers, visit the Object Mother Pattern section of the documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file object_mother_sindri-0.1.0.tar.gz.
File metadata
- Download URL: object_mother_sindri-0.1.0.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b48c7331f58a96807c90bcb1c0be80ec8c5e9959367ab7d3192c9fe081b82f9
|
|
| MD5 |
b0a269c348a93d59a3c757e522f720b6
|
|
| BLAKE2b-256 |
d2b84c41fae579203343df5f9008a27ce2135937f6b4ef93d02d74d95fb5972b
|
Provenance
The following attestation bundles were made for object_mother_sindri-0.1.0.tar.gz:
Publisher:
release.yml on dimanu-py/object-mother
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
object_mother_sindri-0.1.0.tar.gz -
Subject digest:
0b48c7331f58a96807c90bcb1c0be80ec8c5e9959367ab7d3192c9fe081b82f9 - Sigstore transparency entry: 1702057955
- Sigstore integration time:
-
Permalink:
dimanu-py/object-mother@0fb144b7652b916d8010ce4a6a559b47397f483a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/dimanu-py
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0fb144b7652b916d8010ce4a6a559b47397f483a -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file object_mother_sindri-0.1.0-py3-none-any.whl.
File metadata
- Download URL: object_mother_sindri-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4be92ab8f274a6d56834c5c5100a76a3b4e1849c1ad95133b4d671e964389b7
|
|
| MD5 |
daa154f766a7f0efc8bec3bb5cc53aa8
|
|
| BLAKE2b-256 |
cccd3970e42074c77b534483b7c70caf3602e1fa5b8ee8fa1b4ed7bfbc9f1927
|
Provenance
The following attestation bundles were made for object_mother_sindri-0.1.0-py3-none-any.whl:
Publisher:
release.yml on dimanu-py/object-mother
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
object_mother_sindri-0.1.0-py3-none-any.whl -
Subject digest:
f4be92ab8f274a6d56834c5c5100a76a3b4e1849c1ad95133b4d671e964389b7 - Sigstore transparency entry: 1702057957
- Sigstore integration time:
-
Permalink:
dimanu-py/object-mother@0fb144b7652b916d8010ce4a6a559b47397f483a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/dimanu-py
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0fb144b7652b916d8010ce4a6a559b47397f483a -
Trigger Event:
workflow_dispatch
-
Statement type: