Metadata-Version: 2.4
Name: crawl-data-shared
Version: 0.1.2
Summary: Shared internal package for microservices
Home-page: https://github.com/huydz2k1/crawl-data-app
Author: huydq2k1
Author-email: huyydq01@gmail.com
Project-URL: Bug Reports, https://github.com/huydz2k1/crawl-data-app/issues
Project-URL: Source, https://github.com/huydz2k1/crawl-data-app
Keywords: microservices,shared,utilities
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
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
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: pyjwt
Requires-Dist: bcrypt
Requires-Dist: marshmallow
Requires-Dist: requests
Requires-Dist: flask_sqlalchemy
Requires-Dist: pika
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: project-url
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Crawl Data Shared

Shared internal package for microservices in the Crawl Data application.

## Installation

```bash
pip install crawl-data-shared
```

## Usage

```python
from shared.response import make_response
from shared.utils import hash_password, create_token
from shared.middleware import create_auth_middleware
```

## Features

- **Response utilities**: Standardized API responses
- **Authentication**: JWT token management
- **Middleware**: Request logging, authentication middleware
- **Database utilities**: Common database operations
- **Error handling**: Centralized error handling
- **Validation**: Input validation decorators

## Development

```bash
# Install in development mode
pip install -e .

# Run tests
python -m pytest

# Build package
python setup.py sdist bdist_wheel
```

## License

MIT License 
