# 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
Raw data
{
"_id": null,
"home_page": "https://github.com/huydz2k1/crawl-data-app",
"name": "crawl-data-shared",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "microservices, shared, utilities",
"author": "huydq2k1",
"author_email": "huyydq01@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/af/ce/78bb855cff609f4e4b30531311b0e98afd61a07de26ee808a7397cb8b708/crawl_data_shared-0.1.2.tar.gz",
"platform": null,
"description": "# Crawl Data Shared\n\nShared internal package for microservices in the Crawl Data application.\n\n## Installation\n\n```bash\npip install crawl-data-shared\n```\n\n## Usage\n\n```python\nfrom shared.response import make_response\nfrom shared.utils import hash_password, create_token\nfrom shared.middleware import create_auth_middleware\n```\n\n## Features\n\n- **Response utilities**: Standardized API responses\n- **Authentication**: JWT token management\n- **Middleware**: Request logging, authentication middleware\n- **Database utilities**: Common database operations\n- **Error handling**: Centralized error handling\n- **Validation**: Input validation decorators\n\n## Development\n\n```bash\n# Install in development mode\npip install -e .\n\n# Run tests\npython -m pytest\n\n# Build package\npython setup.py sdist bdist_wheel\n```\n\n## License\n\nMIT License \n",
"bugtrack_url": null,
"license": null,
"summary": "Shared internal package for microservices",
"version": "0.1.2",
"project_urls": {
"Bug Reports": "https://github.com/huydz2k1/crawl-data-app/issues",
"Homepage": "https://github.com/huydz2k1/crawl-data-app",
"Source": "https://github.com/huydz2k1/crawl-data-app"
},
"split_keywords": [
"microservices",
" shared",
" utilities"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "15b451b2a07ca10a2be4ecd830b60b903d4b34c06520b1fddff02d0c8313cfb1",
"md5": "3b2817f3f64ffb77e627af71ea22c220",
"sha256": "13646b7ad9e56a1fe13d68069e5444c7c12c0ad2e467d2a0a830728fa16a18ed"
},
"downloads": -1,
"filename": "crawl_data_shared-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3b2817f3f64ffb77e627af71ea22c220",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 13999,
"upload_time": "2025-07-11T06:29:16",
"upload_time_iso_8601": "2025-07-11T06:29:16.505469Z",
"url": "https://files.pythonhosted.org/packages/15/b4/51b2a07ca10a2be4ecd830b60b903d4b34c06520b1fddff02d0c8313cfb1/crawl_data_shared-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "afce78bb855cff609f4e4b30531311b0e98afd61a07de26ee808a7397cb8b708",
"md5": "5bbd9bbff5428ac7aa1618805cc419b4",
"sha256": "24d3175eaeeb597e46281b2ae9fa23112e475bb84cc369e296dd6159d3d131fe"
},
"downloads": -1,
"filename": "crawl_data_shared-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "5bbd9bbff5428ac7aa1618805cc419b4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 9776,
"upload_time": "2025-07-11T06:29:18",
"upload_time_iso_8601": "2025-07-11T06:29:18.392645Z",
"url": "https://files.pythonhosted.org/packages/af/ce/78bb855cff609f4e4b30531311b0e98afd61a07de26ee808a7397cb8b708/crawl_data_shared-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-11 06:29:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "huydz2k1",
"github_project": "crawl-data-app",
"github_not_found": true,
"lcname": "crawl-data-shared"
}