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
- Sudhakar K - sudhakark4227@gmail.com
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
534ac9b1c10ad7f34bc0b3c1db0be6de9e955e89a308bf86f1293973c4ab3aae
|
|
| MD5 |
5bf879b18d1ec466bbebfe986fbde6fc
|
|
| BLAKE2b-256 |
f5953ef1423139a446acb3db893c4e29369d4b2271d3ca63c9960fd1fd948490
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ee8e3f12e0386da66dc7643da5fbd0a4ad33bb68b636e0e212c95d0f8df8aad
|
|
| MD5 |
6b1e7a829446f78e247ee91ff6f4867f
|
|
| BLAKE2b-256 |
c89d489bb952989a9c4e32047a012c643457eb0bff95d35faf41ec77ebf79501
|