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.0.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.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crawl_data_shared-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 07cb5d5728b1be664203617046fb6f14f7b80cf02c89505626a93100007d3067
MD5 c9af06f40eed345ab9c9acd0f7735c2e
BLAKE2b-256 2bc1389a4f7592b08932d8e666f2715b39ae25ec56ba22ea53960d4dc605661d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for crawl_data_shared-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca1fe9e414e3685ca5fbc13c6b32839b03d6129e69331afd25d294c9abc03ec1
MD5 fe7da8da46c5ddac5779f68fef39aefd
BLAKE2b-256 e9cd017c7ca202632df7efdf01a41c640e197e940ca859781135f8f7064bbaf3

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