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

Uploaded Python 3

File details

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

File metadata

  • Download URL: stackmate-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 bbf8389f9f61e0715f27c6f9c6117fa552069109a81a63a8155fc64627ce912f
MD5 bde563b677f18e4a21c64108ecda3243
BLAKE2b-256 1453fa0c00ac49e9910709ff355251b6febf7ff378799ade1c7473892ec44a69

See more details on using hashes here.

File details

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

File metadata

  • Download URL: stackmate-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1eb4faffa7a717696919f5cf41740117dbc80943cfe483abd03a481b9d4a4e99
MD5 5b96f75671b503b1088feefb480304b0
BLAKE2b-256 2e722d1f2341d56bd855129c76bfd57617f5dfc51adfbfeac59fcaa83449d657

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