Metadata-Version: 2.4
Name: pylib-restmock
Version: 0.1.0
Summary: Mock external REST APIs for tests. Testing utilities.
Author: pylib-restmock
License: MIT
Project-URL: Homepage, https://github.com/upendra-manike/PyLib
Project-URL: Repository, https://github.com/upendra-manike/PyLib
Project-URL: Documentation, https://github.com/upendra-manike/PyLib
Project-URL: Issues, https://github.com/upendra-manike/PyLib/issues
Keywords: ai,api,data-processing,data-science,machine-learning,ml,mocking,nlp,testing,utilities
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# pyrestmock

Mock REST APIs

## Installation

```bash
pip install pyrestmock
```

## 💡 Usage Examples

### Basic Operations

```python
from pylib_restmock import MockServer

# Create mock server
server = MockServer()
server.add_route("GET", "/api/data", {"result": "success"})
response = server.request("GET", "/api/data")
```

### AI/ML Use Cases

```python
from pylib_restmock import MockServer

# Mock AI API for testing
mock_ai_api = MockServer()
mock_ai_api.add_route("POST", "/api/predict", {"prediction": "cat"})
```

## 📚 API Reference

See package documentation for complete API reference.


## 🤖 AI Agent Friendly

This package is optimized for AI agents and code generation tools:
- **Clear function names** and signatures
- **Comprehensive docstrings** with examples
- **Type hints** for better IDE support
- **Common use cases** documented
- **Zero dependencies** for reliability

## License

MIT
