Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crawl_data_shared-0.1.2.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crawl_data_shared-0.1.2-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file crawl_data_shared-0.1.2.tar.gz.

File metadata

  • Download URL: crawl_data_shared-0.1.2.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for crawl_data_shared-0.1.2.tar.gz
Algorithm Hash digest
SHA256 24d3175eaeeb597e46281b2ae9fa23112e475bb84cc369e296dd6159d3d131fe
MD5 5bbd9bbff5428ac7aa1618805cc419b4
BLAKE2b-256 afce78bb855cff609f4e4b30531311b0e98afd61a07de26ee808a7397cb8b708

See more details on using hashes here.

File details

Details for the file crawl_data_shared-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for crawl_data_shared-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 13646b7ad9e56a1fe13d68069e5444c7c12c0ad2e467d2a0a830728fa16a18ed
MD5 3b2817f3f64ffb77e627af71ea22c220
BLAKE2b-256 15b451b2a07ca10a2be4ecd830b60b903d4b34c06520b1fddff02d0c8313cfb1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page