Shared internal package for microservices
Project description
Crawl Data Shared
Shared internal package for microservices in the Crawl Data application.
Installation
pip install crawl-data-shared
Usage
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
# Install in development mode
pip install -e .
# Run tests
python -m pytest
# Build package
python setup.py sdist bdist_wheel
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters