Skip to main content

A Full-Stack Development Toolkit for Python developers.

Project description

StackMate

StackMate is a production-ready Full-Stack Development Toolkit for Python developers. It provides essential utilities for building robust APIs, managing authentication, handling errors, and simplifying database operations.

Features

  • Logger: Structured request/response logging with latency tracking.
  • Validator: API payload validation using type hints and schema checks.
  • DB Helper: Generic CRUD utilities for SQL/NoSQL databases.
  • Auth: Secure JWT token management (creation and verification).
  • Error Handler: Standardized API response formatting.
  • Utils: Common helper functions (UUIDs, timestamps, etc.).

Installation

pip install stackmate

Quick Start

from stackmate.logger import AppLogger
from stackmate.auth import AuthManager

# Initialize components
logger = AppLogger("my-app")
auth = AuthManager(secret_key="your-secret-key")

# Use them in your application
token = auth.create_token({"user_id": 123})

Project Structure

stackmate/
├── stackmate/           # Core library files
├── examples/            # Example usage scripts
├── tests/               # Unit tests
├── pyproject.toml       # Build configuration
└── README.md            # Project documentation

Author

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

stackmate-0.1.1.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

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

stackmate-0.1.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file stackmate-0.1.1.tar.gz.

File metadata

  • Download URL: stackmate-0.1.1.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for stackmate-0.1.1.tar.gz
Algorithm Hash digest
SHA256 534ac9b1c10ad7f34bc0b3c1db0be6de9e955e89a308bf86f1293973c4ab3aae
MD5 5bf879b18d1ec466bbebfe986fbde6fc
BLAKE2b-256 f5953ef1423139a446acb3db893c4e29369d4b2271d3ca63c9960fd1fd948490

See more details on using hashes here.

File details

Details for the file stackmate-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: stackmate-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for stackmate-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ee8e3f12e0386da66dc7643da5fbd0a4ad33bb68b636e0e212c95d0f8df8aad
MD5 6b1e7a829446f78e247ee91ff6f4867f
BLAKE2b-256 c89d489bb952989a9c4e32047a012c643457eb0bff95d35faf41ec77ebf79501

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