A comprehensive collection of 150+ production-ready utilities covering file operations, string manipulation, security, networking, async programming, data processing, and much more. Transform your Python development experience.
import pywizardry as pw
# Initialize the wizard
wiz = pw.Wizard()
# File Magic 🪄
files = wiz.files.find("*.py", recursive=True)
metadata = wiz.files.metadata("data.txt")
# String Sorcery 🔤
slug = wiz.strings.slugify("My Awesome Title!")
password = wiz.strings.password(length=16)
# Security Spells 🔒
hashed = wiz.security.hash("secret", algorithm="sha256")
encrypted = wiz.security.aes_encrypt("data", "password")
# Time Wizardry ⏰
relative = wiz.dates.humanize("2024-01-20")
duration = wiz.dates.format_duration(3661) # "1 hour 1 minute 1 second"
# Async Magic ⚡
import asyncio
async def main():
data = await wiz.async_utils.fetch_json("https://api.example.com")
print(data)
# One-liner spells ✨
token = pw.utils.generate_uuid()
hashed = pw.quick.hash("password")
Everything you need for modern Python development
Safe file operations, recursive directory traversal, metadata extraction, atomic writes, backup utilities, and file watching.
Advanced string manipulation, validation, password generation, slugification, text extraction, and pattern matching.
AES/RSA encryption, JWT tokens, password hashing, input sanitization, CSRF protection, and security validation.
HTTP client with retries, WebSocket support, rate limiting, file downloads, DNS resolution, and connection utilities.
Data transformation, CSV/JSON processing, statistics calculation, outlier detection, normalization, and batch processing.
Async/await utilities, timeout handling, parallel processing, task queues, rate limiting, and event-driven patterns.
Get started in seconds with PyPI
pip install PyWizardry
Install only the core library with zero required dependencies.
pip install PyWizardry[full]
Install with all optional dependencies (Pillow, psutil, aiohttp).
git clone https://github.com/saifullah10141/pywizardry.git
cd pywizardry
pip install -e .[dev]
Install for development with testing and documentation tools.
15 modules covering all aspects of development
File system operations and utilities
35+ functionsString manipulation and text processing
25+ functionsSecurity, encryption, and validation
20+ functionsDate, time, and scheduling utilities
15+ functionsNetwork and web utilities
20+ functionsData processing and transformation
20+ functionsAsync programming utilities
15+ functionsConsole output and formatting
8+ functionsJoin thousands of developers who have enhanced their productivity with PyWizardry.