pyfake 0.0.1__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.
pyfake-0.0.1/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Pranesh Mukhopadhyay
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
pyfake-0.0.1/PKG-INFO ADDED
@@ -0,0 +1,27 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyfake
3
+ Version: 0.0.1
4
+ Summary: A fake data generator that is pydantic compatible.
5
+ Author-email: Pranesh Mukhopadhyay <praneshmukherjee7@gmail.com>
6
+ License: MIT
7
+ Keywords: pydantic,fake data,data generation,data validation,data modeling
8
+ Classifier: Intended Audience :: Information Technology
9
+ Classifier: Operating System :: OS Independent
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python
12
+ Classifier: Framework :: Pydantic
13
+ Classifier: Framework :: Pydantic :: 2
14
+ Classifier: Intended Audience :: Developers
15
+ Requires-Python: >=3.9
16
+ Description-Content-Type: text/markdown
17
+ License-File: LICENSE
18
+ Requires-Dist: pydantic>=2.0
19
+ Provides-Extra: dev
20
+ Requires-Dist: pytest; extra == "dev"
21
+ Requires-Dist: black; extra == "dev"
22
+ Requires-Dist: ruff; extra == "dev"
23
+ Dynamic: license-file
24
+
25
+ # pyfake
26
+
27
+ A minimal Python fake data generator powered by Pydantic.
pyfake-0.0.1/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # pyfake
2
+
3
+ A minimal Python fake data generator powered by Pydantic.
@@ -0,0 +1,4 @@
1
+ from .core.engine import Pyfake
2
+ from .__version import __version__
3
+
4
+ __all__ = ["Pyfake", "__version__"]
@@ -0,0 +1 @@
1
+ __version__ = '0.0.1'
@@ -0,0 +1,27 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyfake
3
+ Version: 0.0.1
4
+ Summary: A fake data generator that is pydantic compatible.
5
+ Author-email: Pranesh Mukhopadhyay <praneshmukherjee7@gmail.com>
6
+ License: MIT
7
+ Keywords: pydantic,fake data,data generation,data validation,data modeling
8
+ Classifier: Intended Audience :: Information Technology
9
+ Classifier: Operating System :: OS Independent
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python
12
+ Classifier: Framework :: Pydantic
13
+ Classifier: Framework :: Pydantic :: 2
14
+ Classifier: Intended Audience :: Developers
15
+ Requires-Python: >=3.9
16
+ Description-Content-Type: text/markdown
17
+ License-File: LICENSE
18
+ Requires-Dist: pydantic>=2.0
19
+ Provides-Extra: dev
20
+ Requires-Dist: pytest; extra == "dev"
21
+ Requires-Dist: black; extra == "dev"
22
+ Requires-Dist: ruff; extra == "dev"
23
+ Dynamic: license-file
24
+
25
+ # pyfake
26
+
27
+ A minimal Python fake data generator powered by Pydantic.
@@ -0,0 +1,11 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ pyfake/__init__.py
5
+ pyfake/__version.py
6
+ pyfake.egg-info/PKG-INFO
7
+ pyfake.egg-info/SOURCES.txt
8
+ pyfake.egg-info/dependency_links.txt
9
+ pyfake.egg-info/requires.txt
10
+ pyfake.egg-info/top_level.txt
11
+ tests/test_numeric.py
@@ -0,0 +1,6 @@
1
+ pydantic>=2.0
2
+
3
+ [dev]
4
+ pytest
5
+ black
6
+ ruff
@@ -0,0 +1 @@
1
+ pyfake
@@ -0,0 +1,47 @@
1
+ [project]
2
+ name = "pyfake"
3
+ version = "0.0.1"
4
+ description = "A fake data generator that is pydantic compatible."
5
+ readme = "README.md"
6
+ requires-python = ">=3.9"
7
+ license = { text = "MIT" }
8
+ authors = [
9
+ {name = "Pranesh Mukhopadhyay", email = "praneshmukherjee7@gmail.com"}
10
+ ]
11
+ classifiers = [
12
+ "Intended Audience :: Information Technology",
13
+ "Operating System :: OS Independent",
14
+ "Programming Language :: Python :: 3",
15
+ "Programming Language :: Python",
16
+ "Framework :: Pydantic",
17
+ "Framework :: Pydantic :: 2",
18
+ "Intended Audience :: Developers",
19
+ ]
20
+ keywords = [
21
+ "pydantic",
22
+ "fake data",
23
+ "data generation",
24
+ "data validation",
25
+ "data modeling",
26
+ ]
27
+ dependencies = [
28
+ "pydantic>=2.0"
29
+ ]
30
+
31
+ [project.optional-dependencies]
32
+ dev = ["pytest", "black", "ruff"]
33
+
34
+ [build-system]
35
+ requires = ["setuptools>=61.0", "wheel"]
36
+ build-backend = "setuptools.build_meta"
37
+
38
+ [tool.setuptools]
39
+ include-package-data = true
40
+ packages = ["pyfake"]
41
+
42
+ [tool.setuptools.package-data]
43
+ "pyfake" = ["py.typed"]
44
+
45
+
46
+ [tool.pytest.ini_options]
47
+ pythonpath = ["."]
pyfake-0.0.1/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,11 @@
1
+ from pyfake import Pyfake
2
+ from pydantic import BaseModel
3
+
4
+
5
+ class Model(BaseModel):
6
+ thing1: int
7
+
8
+
9
+ def test_numeric():
10
+ d = Pyfake(Model)
11
+ assert True