api-mocker 0.1.0__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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 sherin joseph roy
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.
@@ -0,0 +1,98 @@
1
+ Metadata-Version: 2.4
2
+ Name: api-mocker
3
+ Version: 0.1.0
4
+ Summary: The industry-standard, production-ready, free API mocking and development acceleration tool.
5
+ Author-email: sherin joseph roy <sherin.joseph2217@gmail.com>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2024 sherin joseph roy
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+ Project-URL: Homepage, https://github.com/Sherin-SEF-AI/api-mocker
28
+ Project-URL: Repository, https://github.com/Sherin-SEF-AI/api-mocker.git
29
+ Keywords: api,mock,mocking,development,testing,openapi,swagger,cli,devops
30
+ Classifier: Programming Language :: Python :: 3
31
+ Classifier: License :: OSI Approved :: MIT License
32
+ Classifier: Operating System :: OS Independent
33
+ Classifier: Development Status :: 3 - Alpha
34
+ Classifier: Intended Audience :: Developers
35
+ Classifier: Topic :: Software Development :: Testing
36
+ Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
37
+ Requires-Python: >=3.8
38
+ Description-Content-Type: text/markdown
39
+ License-File: LICENSE
40
+ Requires-Dist: typer>=0.9.0
41
+ Requires-Dist: fastapi>=0.100.0
42
+ Requires-Dist: uvicorn>=0.23.0
43
+ Requires-Dist: PyYAML>=6.0
44
+ Requires-Dist: toml>=0.10.2
45
+ Requires-Dist: pytest>=7.0.0
46
+ Requires-Dist: httpx>=0.24.0
47
+ Requires-Dist: rich>=13.0.0
48
+ Dynamic: license-file
49
+
50
+ # api-mocker
51
+
52
+ The industry-standard, production-ready, free API mocking and development acceleration tool.
53
+
54
+ ## Project Mission
55
+ Create the most comprehensive, user-friendly, and feature-rich API mocking solution to eliminate API dependency bottlenecks and accelerate development workflows for all developers.
56
+
57
+ ## Features
58
+ - Robust HTTP mock server supporting all HTTP methods
59
+ - Dynamic and static response generation
60
+ - OpenAPI/Swagger/Postman import/export
61
+ - CLI and Python API interfaces
62
+ - Hot-reloading, config file support (JSON/YAML/TOML)
63
+ - Request recording, replay, and proxy mode
64
+ - Schema-based data generation and validation
65
+ - Advanced routing, middleware, and authentication simulation
66
+ - Data persistence, state management, and in-memory DB
67
+ - Performance, monitoring, and analytics tools
68
+ - Framework integrations (Django, Flask, FastAPI, Node.js, etc.)
69
+ - Docker, CI/CD, and cloud deployment support
70
+ - Team collaboration and plugin architecture
71
+
72
+ ## Installation
73
+ ```bash
74
+ pip install api-mocker
75
+ ```
76
+
77
+ ## Quick Start
78
+ ```bash
79
+ api-mocker start --config api-mock.yaml
80
+ ```
81
+ Or use as a Python library:
82
+ ```python
83
+ from api_mocker import MockServer
84
+ server = MockServer(config_path="api-mock.yaml")
85
+ server.start()
86
+ ```
87
+
88
+ ## Documentation
89
+ See [Full Documentation](https://github.com/Sherin-SEF-AI/api-mocker#documentation) for guides, API reference, and examples.
90
+
91
+ ## Contributing
92
+ Contributions are welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
93
+
94
+ ## License
95
+ MIT License
96
+
97
+ ---
98
+ © 2024 sherin joseph roy
@@ -0,0 +1,49 @@
1
+ # api-mocker
2
+
3
+ The industry-standard, production-ready, free API mocking and development acceleration tool.
4
+
5
+ ## Project Mission
6
+ Create the most comprehensive, user-friendly, and feature-rich API mocking solution to eliminate API dependency bottlenecks and accelerate development workflows for all developers.
7
+
8
+ ## Features
9
+ - Robust HTTP mock server supporting all HTTP methods
10
+ - Dynamic and static response generation
11
+ - OpenAPI/Swagger/Postman import/export
12
+ - CLI and Python API interfaces
13
+ - Hot-reloading, config file support (JSON/YAML/TOML)
14
+ - Request recording, replay, and proxy mode
15
+ - Schema-based data generation and validation
16
+ - Advanced routing, middleware, and authentication simulation
17
+ - Data persistence, state management, and in-memory DB
18
+ - Performance, monitoring, and analytics tools
19
+ - Framework integrations (Django, Flask, FastAPI, Node.js, etc.)
20
+ - Docker, CI/CD, and cloud deployment support
21
+ - Team collaboration and plugin architecture
22
+
23
+ ## Installation
24
+ ```bash
25
+ pip install api-mocker
26
+ ```
27
+
28
+ ## Quick Start
29
+ ```bash
30
+ api-mocker start --config api-mock.yaml
31
+ ```
32
+ Or use as a Python library:
33
+ ```python
34
+ from api_mocker import MockServer
35
+ server = MockServer(config_path="api-mock.yaml")
36
+ server.start()
37
+ ```
38
+
39
+ ## Documentation
40
+ See [Full Documentation](https://github.com/Sherin-SEF-AI/api-mocker#documentation) for guides, API reference, and examples.
41
+
42
+ ## Contributing
43
+ Contributions are welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
44
+
45
+ ## License
46
+ MIT License
47
+
48
+ ---
49
+ © 2024 sherin joseph roy
@@ -0,0 +1,44 @@
1
+ [project]
2
+ name = "api-mocker"
3
+ version = "0.1.0"
4
+ description = "The industry-standard, production-ready, free API mocking and development acceleration tool."
5
+ authors = [
6
+ { name = "sherin joseph roy", email = "sherin.joseph2217@gmail.com" }
7
+ ]
8
+ readme = "README.md"
9
+ license = { file = "LICENSE" }
10
+ requires-python = ">=3.8"
11
+ keywords = ["api", "mock", "mocking", "development", "testing", "openapi", "swagger", "cli", "devops"]
12
+ classifiers = [
13
+ "Programming Language :: Python :: 3",
14
+ "License :: OSI Approved :: MIT License",
15
+ "Operating System :: OS Independent",
16
+ "Development Status :: 3 - Alpha",
17
+ "Intended Audience :: Developers",
18
+ "Topic :: Software Development :: Testing",
19
+ "Topic :: Software Development :: Libraries :: Application Frameworks",
20
+ ]
21
+ dependencies = [
22
+ "typer>=0.9.0",
23
+ "fastapi>=0.100.0",
24
+ "uvicorn>=0.23.0",
25
+ "PyYAML>=6.0",
26
+ "toml>=0.10.2",
27
+ "pytest>=7.0.0",
28
+ "httpx>=0.24.0",
29
+ "rich>=13.0.0",
30
+ ]
31
+
32
+ [project.urls]
33
+ Homepage = "https://github.com/Sherin-SEF-AI/api-mocker"
34
+ Repository = "https://github.com/Sherin-SEF-AI/api-mocker.git"
35
+
36
+ [project.scripts]
37
+ api-mocker = "api_mocker.cli:main"
38
+
39
+ [tool.setuptools.packages.find]
40
+ where = ["src"]
41
+
42
+ [build-system]
43
+ requires = ["setuptools>=61.0", "wheel"]
44
+ build-backend = "setuptools.build_meta"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,7 @@
1
+ """
2
+ api-mocker: The industry-standard, production-ready, free API mocking and development acceleration tool.
3
+ """
4
+
5
+ __version__ = "0.1.0"
6
+
7
+ from .server import MockServer