sindripy 0.1.3__tar.gz → 0.1.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of sindripy might be problematic. Click here for more details.
- sindripy-0.1.4/.gitignore +164 -0
- sindripy-0.1.4/CHANGELOG.md +257 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/PKG-INFO +33 -33
- {sindripy-0.1.3 → sindripy-0.1.4}/pyproject.toml +15 -4
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/__init__.py +1 -1
- {sindripy-0.1.3 → sindripy-0.1.4}/LICENSE +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/README.md +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/_compat.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/mothers/__init__.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/mothers/identifiers/__init__.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/mothers/identifiers/string_uuid_primitives_mother.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/mothers/object_mother.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/mothers/primitives/__init__.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/mothers/primitives/boolean_primitives_mother.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/mothers/primitives/float_primitives_mother.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/mothers/primitives/integer_primitives_mother.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/mothers/primitives/list_primitives_mother.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/mothers/primitives/string_primitives_mother.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/py.typed +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/value_objects/__init__.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/value_objects/aggregate.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/value_objects/decorators/__init__.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/value_objects/decorators/validation.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/value_objects/errors/__init__.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/value_objects/errors/incorrect_value_type_error.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/value_objects/errors/invalid_id_format_error.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/value_objects/errors/required_value_error.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/value_objects/errors/sindri_validation_error.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/value_objects/identifiers/__init__.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/value_objects/identifiers/string_uuid.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/value_objects/primitives/__init__.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/value_objects/primitives/boolean.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/value_objects/primitives/float.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/value_objects/primitives/integer.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/value_objects/primitives/list.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/value_objects/primitives/string.py +0 -0
- {sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/value_objects/value_object.py +0 -0
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py,cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
.pybuilder/
|
|
76
|
+
target/
|
|
77
|
+
|
|
78
|
+
# Jupyter Notebook
|
|
79
|
+
.ipynb_checkpoints
|
|
80
|
+
|
|
81
|
+
# IPython
|
|
82
|
+
profile_default/
|
|
83
|
+
ipython_config.py
|
|
84
|
+
|
|
85
|
+
# pyenv
|
|
86
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
87
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
88
|
+
# .python-version
|
|
89
|
+
|
|
90
|
+
# pipenv
|
|
91
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
92
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
93
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
94
|
+
# install all needed dependencies.
|
|
95
|
+
#Pipfile.lock
|
|
96
|
+
|
|
97
|
+
# UV
|
|
98
|
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
|
99
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
100
|
+
# commonly ignored for libraries.
|
|
101
|
+
#uv.lock
|
|
102
|
+
|
|
103
|
+
# poetry
|
|
104
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
105
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
106
|
+
# commonly ignored for libraries.
|
|
107
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
108
|
+
#poetry.lock
|
|
109
|
+
|
|
110
|
+
# pdm
|
|
111
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
112
|
+
#pdm.lock
|
|
113
|
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
114
|
+
# in version control.
|
|
115
|
+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
|
|
116
|
+
.pdm.toml
|
|
117
|
+
.pdm-python
|
|
118
|
+
.pdm-build/
|
|
119
|
+
|
|
120
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
121
|
+
__pypackages__/
|
|
122
|
+
|
|
123
|
+
# Celery stuff
|
|
124
|
+
celerybeat-schedule
|
|
125
|
+
celerybeat.pid
|
|
126
|
+
|
|
127
|
+
# SageMath parsed files
|
|
128
|
+
*.sage.py
|
|
129
|
+
|
|
130
|
+
# Environments
|
|
131
|
+
.env
|
|
132
|
+
.venv
|
|
133
|
+
env/
|
|
134
|
+
venv/
|
|
135
|
+
ENV/
|
|
136
|
+
env.bak/
|
|
137
|
+
venv.bak/
|
|
138
|
+
|
|
139
|
+
# Spyder project settings
|
|
140
|
+
.spyderproject
|
|
141
|
+
.spyproject
|
|
142
|
+
|
|
143
|
+
# Rope project settings
|
|
144
|
+
.ropeproject
|
|
145
|
+
|
|
146
|
+
# mkdocs documentation
|
|
147
|
+
/site
|
|
148
|
+
|
|
149
|
+
# mypy
|
|
150
|
+
.mypy_cache/
|
|
151
|
+
.dmypy.json
|
|
152
|
+
dmypy.json
|
|
153
|
+
|
|
154
|
+
# Pyre type checker
|
|
155
|
+
.pyre/
|
|
156
|
+
|
|
157
|
+
# pytype static type analyzer
|
|
158
|
+
.pytype/
|
|
159
|
+
|
|
160
|
+
# Cython debug symbols
|
|
161
|
+
cython_debug/
|
|
162
|
+
|
|
163
|
+
# PyPI configuration file
|
|
164
|
+
.pypirc
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
# CHANGELOG
|
|
2
|
+
|
|
3
|
+
<!-- version list -->
|
|
4
|
+
|
|
5
|
+
## v0.1.4 (2025-10-14)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- Update known-first-party package and change build system to hatchling to be able to configure
|
|
10
|
+
package setup
|
|
11
|
+
([`13e450b`](https://github.com/dimanu-py/sindri/commit/13e450bee1d01334001c3d75d420d3ee700e068d))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## v0.1.3 (2025-10-14)
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
- Update import paths to remove 'src' prefix
|
|
19
|
+
([`3a94d51`](https://github.com/dimanu-py/sindri/commit/3a94d5121c493b7ecb17082fcdff5701643902a4))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## v0.1.2 (2025-10-14)
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
- Correct urls to contributing guide in readme
|
|
27
|
+
([`440eb86`](https://github.com/dimanu-py/sindri/commit/440eb86911d386d49b43d5c726454ca3d6686743))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## v0.1.1 (2025-10-14)
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
- Update project name for pypi
|
|
35
|
+
([`63d765c`](https://github.com/dimanu-py/sindri/commit/63d765c6b8ec379d7fd6628f35bd1f33e6157593))
|
|
36
|
+
|
|
37
|
+
### Build System
|
|
38
|
+
|
|
39
|
+
- Update Python version classifiers in pyproject.toml
|
|
40
|
+
([`8abc14a`](https://github.com/dimanu-py/sindri/commit/8abc14a8d2ba0308e8ad3c52ac7081fe6b3e2e51))
|
|
41
|
+
|
|
42
|
+
### Refactoring
|
|
43
|
+
|
|
44
|
+
- Rename source folder to sindripy
|
|
45
|
+
([`83a3dd5`](https://github.com/dimanu-py/sindri/commit/83a3dd5661420d9460e11785780db785b65cedf7))
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
## v0.1.0 (2025-10-13)
|
|
49
|
+
|
|
50
|
+
### Bug Fixes
|
|
51
|
+
|
|
52
|
+
- Update version variables in pyproject.toml
|
|
53
|
+
([`146fbb3`](https://github.com/dimanu-py/sindri/commit/146fbb35ad2849343fabf5b1689cbf79de1c4366))
|
|
54
|
+
|
|
55
|
+
- Use previous template issues
|
|
56
|
+
([`bf8de02`](https://github.com/dimanu-py/sindri/commit/bf8de02c0cd2f86313831e40c210aff6be5241e5))
|
|
57
|
+
|
|
58
|
+
- **primitives**: Correct wrong types in list tests
|
|
59
|
+
([`e09f4c0`](https://github.com/dimanu-py/sindri/commit/e09f4c0cc37b680e6e4ccd2a876146ec01b7d15a))
|
|
60
|
+
|
|
61
|
+
- **primitives**: Remove unreachable branch reported by mypy
|
|
62
|
+
([`903b05d`](https://github.com/dimanu-py/sindri/commit/903b05da913dc8f2532cb8cceb95e52047e8144c))
|
|
63
|
+
|
|
64
|
+
- **validation**: Improve type checking for validation order
|
|
65
|
+
([`f040416`](https://github.com/dimanu-py/sindri/commit/f040416874413bbca8ad5527ef447fcf00c13256))
|
|
66
|
+
|
|
67
|
+
- **value-object**: Correct imports after moving 'mother' folder to 'src'
|
|
68
|
+
([`ca2c4c2`](https://github.com/dimanu-py/sindri/commit/ca2c4c2d63ff27508cbc928f4cc99be7ee44e630))
|
|
69
|
+
|
|
70
|
+
- **value-objects**: Pass expected type to IncorrectValueTypeError to send correct message
|
|
71
|
+
([`01dbdc1`](https://github.com/dimanu-py/sindri/commit/01dbdc12df56d5e23299eae857697d64317866f5))
|
|
72
|
+
|
|
73
|
+
- **value-objects**: Raise TypeError when comparing two value objects that are not of the same type
|
|
74
|
+
([`2efa331`](https://github.com/dimanu-py/sindri/commit/2efa3313d41f24bcb590788a71102ff4755865e7))
|
|
75
|
+
|
|
76
|
+
### Build System
|
|
77
|
+
|
|
78
|
+
- Add build backend using uv default system
|
|
79
|
+
([`be6166d`](https://github.com/dimanu-py/sindri/commit/be6166df7ab3c0baca642b05700be3bc0fa6f6d8))
|
|
80
|
+
|
|
81
|
+
- Add missing commands in makefile
|
|
82
|
+
([`b00a081`](https://github.com/dimanu-py/sindri/commit/b00a081957cafc082b2215973dc4432e80efb632))
|
|
83
|
+
|
|
84
|
+
- Add mypy configuration
|
|
85
|
+
([`57833b4`](https://github.com/dimanu-py/sindri/commit/57833b4e4520e9aa51ad7c2dd180e55b37f37c72))
|
|
86
|
+
|
|
87
|
+
- Add packages for documentation
|
|
88
|
+
([`8f5ff91`](https://github.com/dimanu-py/sindri/commit/8f5ff914772773e277b26712b16125ea65f446e7))
|
|
89
|
+
|
|
90
|
+
- Add pytest configuration for test markers and paths to pyproject.toml instead of separated
|
|
91
|
+
pytest.ini file
|
|
92
|
+
([`ba13a2d`](https://github.com/dimanu-py/sindri/commit/ba13a2df885ee39d5ef6875334f36b1a919d587c))
|
|
93
|
+
|
|
94
|
+
- Add version variable for semantic release
|
|
95
|
+
([`41d48b4`](https://github.com/dimanu-py/sindri/commit/41d48b4a4227f5eeb18df154c39859984e49ad94))
|
|
96
|
+
|
|
97
|
+
- Correct error in 'search' make command
|
|
98
|
+
([`7f1a47d`](https://github.com/dimanu-py/sindri/commit/7f1a47daf944fa122389d703d8e11e73cc25f6e0))
|
|
99
|
+
|
|
100
|
+
- Fix error in build-system section
|
|
101
|
+
([`de600e3`](https://github.com/dimanu-py/sindri/commit/de600e3bc63ae2a90a3b3d6db4813cc3c3829bde))
|
|
102
|
+
|
|
103
|
+
- Fix main package name in config file
|
|
104
|
+
([`ee33f75`](https://github.com/dimanu-py/sindri/commit/ee33f75a294ae00030d4fda9894410981d8d27d2))
|
|
105
|
+
|
|
106
|
+
- Ignore pip audit vulnerability due to pip audit bug
|
|
107
|
+
([`65d15d6`](https://github.com/dimanu-py/sindri/commit/65d15d64b8fa66f48d808b20a4d3009f73c9cc00))
|
|
108
|
+
|
|
109
|
+
- Ignore rule E501
|
|
110
|
+
([`8b05274`](https://github.com/dimanu-py/sindri/commit/8b05274f3dd0b563582a9f7d57814662c92faf9f))
|
|
111
|
+
|
|
112
|
+
- Remove unnecessary project.scripts section as the library will not be a cli application
|
|
113
|
+
([`cb5e9ac`](https://github.com/dimanu-py/sindri/commit/cb5e9ac50b08e1631fb6a31ece49085420daa590))
|
|
114
|
+
|
|
115
|
+
- Update known-first-party to include 'src' and 'test'
|
|
116
|
+
([`1aca0d3`](https://github.com/dimanu-py/sindri/commit/1aca0d31aedfd5e11014692eb6767b6d6c0d8a68))
|
|
117
|
+
|
|
118
|
+
- Update package name in uv.lock file
|
|
119
|
+
([`2bf433b`](https://github.com/dimanu-py/sindri/commit/2bf433b8e86069b79d3873a92abb979a7cca5715))
|
|
120
|
+
|
|
121
|
+
- Update project name metadata
|
|
122
|
+
([`e5f91bf`](https://github.com/dimanu-py/sindri/commit/e5f91bf3b3329a4f72e974af034f6872ddb54ef9))
|
|
123
|
+
|
|
124
|
+
- Update Python version requirement to support 3.10 and 3.13
|
|
125
|
+
([`4ecf034`](https://github.com/dimanu-py/sindri/commit/4ecf0343b9679c248fa31e424e074857f5980b43))
|
|
126
|
+
|
|
127
|
+
### Features
|
|
128
|
+
|
|
129
|
+
- Add Buy Me a Coffee funding option
|
|
130
|
+
([`333c6ce`](https://github.com/dimanu-py/sindri/commit/333c6ce7761a31b5f78c7144d5e60f37b0c16e91))
|
|
131
|
+
|
|
132
|
+
- Add compatibility helpers for typing features across Python versions
|
|
133
|
+
([`c134554`](https://github.com/dimanu-py/sindri/commit/c134554316dfc274098af8dc4e0805dc02615df5))
|
|
134
|
+
|
|
135
|
+
- **errors**: Remove unused error
|
|
136
|
+
([`dc8d6ee`](https://github.com/dimanu-py/sindri/commit/dc8d6ee23e909d2157a1238feb8e9d4c2efb5cb8))
|
|
137
|
+
|
|
138
|
+
- **list**: Add validation for list element types
|
|
139
|
+
([`55049f1`](https://github.com/dimanu-py/sindri/commit/55049f13f1115dbe286fd0942926973d64c3aace))
|
|
140
|
+
|
|
141
|
+
- **mothers**: Remove unused random generator
|
|
142
|
+
([`bd80dd7`](https://github.com/dimanu-py/sindri/commit/bd80dd782590e8c314e0ae7cf05784d81b790d96))
|
|
143
|
+
|
|
144
|
+
- **primitives**: Add __eq__ method to list value object
|
|
145
|
+
([`8f820b0`](https://github.com/dimanu-py/sindri/commit/8f820b07d84091d86bc2ee9ca9382ba562e9c551))
|
|
146
|
+
|
|
147
|
+
- **primitives**: Add Boolean value object with validation and testing utilities
|
|
148
|
+
([`f26a738`](https://github.com/dimanu-py/sindri/commit/f26a738163bb417de2af0a2c6a73e01009d0f98e))
|
|
149
|
+
|
|
150
|
+
- **primitives**: Add FloatValueObject and FloatPrimitivesMother for float value handling
|
|
151
|
+
([`eaa7d8a`](https://github.com/dimanu-py/sindri/commit/eaa7d8a64b2ce9fd09ef899deff7f5bc7120d76a))
|
|
152
|
+
|
|
153
|
+
- **primitives**: Create List value object class
|
|
154
|
+
([`6dc97ea`](https://github.com/dimanu-py/sindri/commit/6dc97ea007011fe59391bedbf5aedf79914c9156))
|
|
155
|
+
|
|
156
|
+
- **primitives**: Implement methods to be able to iterate, check containing, length, reversed
|
|
157
|
+
iteration over a List value object and named constructor method to be able to construct the class
|
|
158
|
+
directly from primitives
|
|
159
|
+
([`ad1c6d3`](https://github.com/dimanu-py/sindri/commit/ad1c6d37c4e3f78df492593ee4f1c11ce4531fa3))
|
|
160
|
+
|
|
161
|
+
- **value-crafter**: Expose public API for value-crafter library
|
|
162
|
+
([`7ce8357`](https://github.com/dimanu-py/sindri/commit/7ce83570218654754a765f6ec684465db919329e))
|
|
163
|
+
|
|
164
|
+
- **value-objects**: Raise error when comparing value objects of different types
|
|
165
|
+
([`32f6ffb`](https://github.com/dimanu-py/sindri/commit/32f6ffbb7b1581a3909d1cffda507b4b5c73d34d))
|
|
166
|
+
|
|
167
|
+
- **value-objects**: Return False by default when comparing two different types of value objects
|
|
168
|
+
([`4965184`](https://github.com/dimanu-py/sindri/commit/4965184890b4f6565c6fa118c255c273693e1711))
|
|
169
|
+
|
|
170
|
+
### Refactoring
|
|
171
|
+
|
|
172
|
+
- Move back value_crafters folder to src to be able to use uv build system directly
|
|
173
|
+
([`7e01712`](https://github.com/dimanu-py/sindri/commit/7e01712c162b62f0da98fdd85361184f5d2dbe9c))
|
|
174
|
+
|
|
175
|
+
- Rename main module to src
|
|
176
|
+
([`826dc57`](https://github.com/dimanu-py/sindri/commit/826dc576938fa7efe6b42bc1e46e6ccaab8fc006))
|
|
177
|
+
|
|
178
|
+
- Rename package from value-crafter to sindri
|
|
179
|
+
([`4aceb6d`](https://github.com/dimanu-py/sindri/commit/4aceb6ddccd3b353cd022852606dca840ef9ec66))
|
|
180
|
+
|
|
181
|
+
- Rename source folder to 'value_crafter'
|
|
182
|
+
([`3e6ee81`](https://github.com/dimanu-py/sindri/commit/3e6ee81d6b883d75359bf4140ea1f5285ae093c3))
|
|
183
|
+
|
|
184
|
+
- **errors**: Migrate domain errors to validation errors
|
|
185
|
+
([`5c217bc`](https://github.com/dimanu-py/sindri/commit/5c217bcb33460764995b0d158a1a5f23bf9519da))
|
|
186
|
+
|
|
187
|
+
- **errors**: Move errors to value_object folder
|
|
188
|
+
([`2c59bc6`](https://github.com/dimanu-py/sindri/commit/2c59bc632c77d2e0a5a41db029b88213df1ecb75))
|
|
189
|
+
|
|
190
|
+
- **errors**: Remove ValidationError class to be abstract to allow using it directly in custom value
|
|
191
|
+
objects
|
|
192
|
+
([`2f11cf3`](https://github.com/dimanu-py/sindri/commit/2f11cf34f66e86869d6e6915125d9a9ab9500f88))
|
|
193
|
+
|
|
194
|
+
- **errors**: Rename ValidationError to ValueObjectValidationError to avoid colliding with
|
|
195
|
+
pydantic's ValidationError
|
|
196
|
+
([`5d33786`](https://github.com/dimanu-py/sindri/commit/5d33786a670be1d601b6dfda4461b84f35030254))
|
|
197
|
+
|
|
198
|
+
- **mothers**: Modify ObjectMother to not be abstract as it does not have any abstractmethod
|
|
199
|
+
([`0e4efaf`](https://github.com/dimanu-py/sindri/commit/0e4efafba7e43dab1a04ee017ae010ff9a24ef8c))
|
|
200
|
+
|
|
201
|
+
- **mothers**: Move mothers folder to src as it would be part of the public library usage
|
|
202
|
+
([`9f02acd`](https://github.com/dimanu-py/sindri/commit/9f02acd47de5f4037dca1eddac8831a5b45e376a))
|
|
203
|
+
|
|
204
|
+
- **mothers**: Optimize faker usage with lru_cache in object mother
|
|
205
|
+
([`1917c75`](https://github.com/dimanu-py/sindri/commit/1917c7511e3c18c624cbe3f9a2cf494da3c7985e))
|
|
206
|
+
|
|
207
|
+
- **mothers**: Organized in modules object mothers
|
|
208
|
+
([`daa2ac9`](https://github.com/dimanu-py/sindri/commit/daa2ac9a25975e9503d8bc7ceadf43fd4891fbce))
|
|
209
|
+
|
|
210
|
+
- **mothers**: Update object mothers to new base class and implement additional methods
|
|
211
|
+
([`0d07f74`](https://github.com/dimanu-py/sindri/commit/0d07f74e9546eaeeca408bbd0d088db4845bec20))
|
|
212
|
+
|
|
213
|
+
- **primitives**: Add type hint to __iter__ and __reversed__ methods
|
|
214
|
+
([`004bffd`](https://github.com/dimanu-py/sindri/commit/004bffd8d509e36392c9d60f39bfcd439a1700e0))
|
|
215
|
+
|
|
216
|
+
- **primitives**: Clean up tests for list value object removing unnecessary classes and tests
|
|
217
|
+
([`c00f18b`](https://github.com/dimanu-py/sindri/commit/c00f18b58b6d4da595375085c15fe73c392e6cc0))
|
|
218
|
+
|
|
219
|
+
- **primitives**: Extract semantic methods when subclassing List value object to make validation
|
|
220
|
+
more readable
|
|
221
|
+
([`16d3e9a`](https://github.com/dimanu-py/sindri/commit/16d3e9aad8e2d55caaa696be7531558e890525be))
|
|
222
|
+
|
|
223
|
+
- **primitives**: Remove unreachable bool verification in integer validation
|
|
224
|
+
([`dc786ac`](https://github.com/dimanu-py/sindri/commit/dc786ac617d1aad1f38d7b0002f4098195ce95c7))
|
|
225
|
+
|
|
226
|
+
- **primitives**: Remove validation for negative values in IntValueObject
|
|
227
|
+
([`ba1cd6f`](https://github.com/dimanu-py/sindri/commit/ba1cd6f28be725b47ce9ffab57cced96c204542c))
|
|
228
|
+
|
|
229
|
+
- **primitives**: Rename IntValueObject to Integer and update references
|
|
230
|
+
([`569a81e`](https://github.com/dimanu-py/sindri/commit/569a81ee19b28b07fe1cb07467238fb23704bdca))
|
|
231
|
+
|
|
232
|
+
- **primitives**: Rename StringValueObject to String and update references
|
|
233
|
+
([`a70e9d5`](https://github.com/dimanu-py/sindri/commit/a70e9d5a9def91d85f9f13ef80cdfc17b9e861cb))
|
|
234
|
+
|
|
235
|
+
- **primitives**: Rename Uuid to StringUuid and update references
|
|
236
|
+
([`db4ae12`](https://github.com/dimanu-py/sindri/commit/db4ae123560dfbd4eed54c9a0382cd5fc1b7ae3b))
|
|
237
|
+
|
|
238
|
+
- **primitives**: Reorganize string_uuid module and update references
|
|
239
|
+
([`7bc15fa`](https://github.com/dimanu-py/sindri/commit/7bc15fa80e011d1f2d0f1edcbfa379e4c26df6d3))
|
|
240
|
+
|
|
241
|
+
- **value-objects**: Allow value object class to handle order of validation
|
|
242
|
+
([`dfbd825`](https://github.com/dimanu-py/sindri/commit/dfbd8258156c34178943c734e2e29869bf7dba6b))
|
|
243
|
+
|
|
244
|
+
- **value-objects**: Modify message error when constructor parameters mismatch
|
|
245
|
+
([`0bbfccd`](https://github.com/dimanu-py/sindri/commit/0bbfccd5f0cb80175e2c0185c9438a9d95ff4fe8))
|
|
246
|
+
|
|
247
|
+
- **value-objects**: Modify validate decorator to allow order of validation
|
|
248
|
+
([`be930f6`](https://github.com/dimanu-py/sindri/commit/be930f63a0ddd03b2734ba802de828c79b2087dd))
|
|
249
|
+
|
|
250
|
+
- **value-objects**: Raise InvalidIdFormatError from ValueError on uuid vo
|
|
251
|
+
([`56f933a`](https://github.com/dimanu-py/sindri/commit/56f933ae12bc2c427cc7f36f0f643f1da445f0b7))
|
|
252
|
+
|
|
253
|
+
- **value-objects**: Remove sorting attributes in Aggregate class
|
|
254
|
+
([`4d2e430`](https://github.com/dimanu-py/sindri/commit/4d2e4307108a53b5f50404a07ec17c64db054dfa))
|
|
255
|
+
|
|
256
|
+
- **value-objects**: Rename 'usables' module to 'primitives'
|
|
257
|
+
([`c6e5200`](https://github.com/dimanu-py/sindri/commit/c6e52009717731fe7ecac0e73adb4dc9eb438dec))
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: sindripy
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Value Object and Object Mother patterns implementation for Python
|
|
5
|
-
|
|
5
|
+
Project-URL: documentation, https://dimanu-py.github.io/sindri/home/
|
|
6
|
+
Project-URL: repository, https://github.com/dimanu-py/sindri/
|
|
6
7
|
Author-email: dimanu-py <dimanu.py@gmail.com>
|
|
7
8
|
License: MIT License
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
9
|
+
|
|
10
|
+
Copyright (c) 2025 dimanu-py
|
|
11
|
+
|
|
12
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
in the Software without restriction, including without limitation the rights
|
|
15
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
furnished to do so, subject to the following conditions:
|
|
18
|
+
|
|
19
|
+
The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
copies or substantial portions of the Software.
|
|
21
|
+
|
|
22
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
SOFTWARE.
|
|
29
|
+
|
|
30
|
+
License-File: LICENSE
|
|
31
|
+
Classifier: Framework :: FastAPI
|
|
32
|
+
Classifier: Intended Audience :: Developers
|
|
33
|
+
Classifier: Operating System :: OS Independent
|
|
30
34
|
Classifier: Programming Language :: Python
|
|
31
35
|
Classifier: Programming Language :: Python :: 3
|
|
32
36
|
Classifier: Programming Language :: Python :: 3.10
|
|
33
37
|
Classifier: Programming Language :: Python :: 3.11
|
|
34
38
|
Classifier: Programming Language :: Python :: 3.12
|
|
35
39
|
Classifier: Programming Language :: Python :: 3.13
|
|
36
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
37
40
|
Classifier: Topic :: Software Development :: Libraries
|
|
38
|
-
Classifier:
|
|
39
|
-
Classifier: Operating System :: OS Independent
|
|
40
|
-
Classifier: Topic :: Software Development :: Testing :: Unit
|
|
41
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
41
42
|
Classifier: Topic :: Software Development :: Testing :: BDD
|
|
42
|
-
Classifier:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
Project-URL: repository, https://github.com/dimanu-py/sindri/
|
|
43
|
+
Classifier: Topic :: Software Development :: Testing :: Unit
|
|
44
|
+
Classifier: Typing :: Typed
|
|
45
|
+
Requires-Python: <3.14,>=3.10
|
|
46
46
|
Description-Content-Type: text/markdown
|
|
47
47
|
|
|
48
48
|
<div align="center">
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "sindripy"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.4"
|
|
4
4
|
description = "Value Object and Object Mother patterns implementation for Python"
|
|
5
5
|
authors = [{name = "dimanu-py", email = "dimanu.py@gmail.com"}]
|
|
6
6
|
dependencies = [
|
|
@@ -68,7 +68,7 @@ select = ["E", "F", "W", "B", "C4", "UP", "I"]
|
|
|
68
68
|
ignore = ["B008", "E501"]
|
|
69
69
|
|
|
70
70
|
[tool.ruff.lint.isort]
|
|
71
|
-
known-first-party = ["
|
|
71
|
+
known-first-party = ["sindripy", "test"]
|
|
72
72
|
|
|
73
73
|
[tool.ruff.format]
|
|
74
74
|
quote-style = "double"
|
|
@@ -76,8 +76,19 @@ indent-style = "space"
|
|
|
76
76
|
skip-magic-trailing-comma = false
|
|
77
77
|
|
|
78
78
|
[build-system]
|
|
79
|
-
requires = ["
|
|
80
|
-
build-backend = "
|
|
79
|
+
requires = ["hatchling"]
|
|
80
|
+
build-backend = "hatchling.build"
|
|
81
|
+
|
|
82
|
+
[tool.hatch.build.targets.wheel]
|
|
83
|
+
packages = ["src/sindripy"]
|
|
84
|
+
|
|
85
|
+
[tool.hatch.build.targets.sdist]
|
|
86
|
+
include = [
|
|
87
|
+
"src/sindripy",
|
|
88
|
+
"LICENSE",
|
|
89
|
+
"README.md",
|
|
90
|
+
"CHANGELOG.md",
|
|
91
|
+
]
|
|
81
92
|
|
|
82
93
|
[tool.pytest.ini_options]
|
|
83
94
|
markers = [
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/mothers/identifiers/string_uuid_primitives_mother.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/mothers/primitives/boolean_primitives_mother.py
RENAMED
|
File without changes
|
{sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/mothers/primitives/float_primitives_mother.py
RENAMED
|
File without changes
|
{sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/mothers/primitives/integer_primitives_mother.py
RENAMED
|
File without changes
|
|
File without changes
|
{sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/mothers/primitives/string_primitives_mother.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/value_objects/errors/incorrect_value_type_error.py
RENAMED
|
File without changes
|
{sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/value_objects/errors/invalid_id_format_error.py
RENAMED
|
File without changes
|
|
File without changes
|
{sindripy-0.1.3 → sindripy-0.1.4}/src/sindripy/value_objects/errors/sindri_validation_error.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|