Recent Releases of tamga
tamga - v1.3.1
What's Changed
- refactor camelCase to snake_case by @DogukanUrker in https://github.com/DogukanUrker/Tamga/pull/10
- Refactor Tamga config: rename logging parameters by @DogukanUrker in https://github.com/DogukanUrker/Tamga/pull/11
- Add AGENTS.md with repository guidelines by @DogukanUrker in https://github.com/DogukanUrker/Tamga/pull/12
- Refactor file and JSON log path parameters by @DogukanUrker in https://github.com/DogukanUrker/Tamga/pull/13
- Bump version to 1.3.1 by @DogukanUrker in https://github.com/DogukanUrker/Tamga/pull/14
Full Changelog: https://github.com/DogukanUrker/Tamga/compare/1.2.0...1.3.1
- Python
Published by DogukanUrker 11 months ago
tamga - v1.2.0
π Unified Notifications with Apprise
What's New
- Multi-Service Notifications: Replaced individual API and email support with Apprise, enabling 80+ notification services through a single interface
- Flexible Configuration: Support for Discord, Slack, Telegram, SMS, Email, Microsoft Teams, and many more services
- Better Performance: Asynchronous notification delivery without blocking your application
Breaking Changes
- Removed
logToAPI,apiURLparameters - Removed
sendMail,smtpServer,smtpPort,smtpMail,smtpPassword,smtpReceivers,mailLevelsparameters - Replaced with:
notifyServices,notifyLevels,notifyTitle,notifyFormat
Migration
```python
Old
logger = Tamga( sendMail=True, smtpServer="smtp.gmail.com", # ... other smtp settings )
New
logger = Tamga( notifyServices=["mailto://user:pass@smtp.gmail.com:587/?to=alerts@company.com"], notifyLevels=["CRITICAL", "ERROR", "NOTIFY"] ) ```
Installation
bash
pip install tamga[notifications] # For notification support
pip install tamga[all] # All features
See documentation for full details.
- Python
Published by DogukanUrker 11 months ago
tamga - v1.0.1
π Tamga v1.0.1 Release
A major milestone release bringing enhanced performance, improved developer experience, and comprehensive testing infrastructure to the modern Python logging utility.
π Major Features & Improvements
π Enhanced Documentation & AI Integration
- AI/LLM Integration: Added comprehensive
llms.txtdocumentation for seamless AI tool integration - Context7 Support: Direct documentation access via Context7
- README Overhaul: Complete restructure with improved examples, better organization, and clearer usage patterns
- Visual Updates: New terminal screenshot showcasing Tamga's colorful output capabilities
β‘ Performance & Core Improvements
- Optimized Buffer System: Default buffer size increased to 50 for better performance
- Timestamp Customization: Added
showTimezoneparameter (defaults toFalse) for cleaner output - Enhanced Client Handling: Improved MongoDB and email client initialization with explicit None checks
- Timezone Consistency: Always include timezone data in structured output while keeping display optional
π§ͺ Testing & Quality Assurance
- Core Test Suite: Comprehensive test coverage with
tests/test_core.py - GitHub Actions CI/CD:
- Automated testing workflow with Python 3.10+ support
- Ruff linting integration for code quality
- PyPI publishing automation with enhanced workflow
- Code Quality: Removed legacy color tests and improved code structure
π§ Developer Experience
- Screenshot Utility: Added
scripts/screenshot.pyfor generating terminal output examples - Workflow Optimizations:
- Limited Ruff workflow to relevant file changes for faster CI
- Enhanced publish workflow with emojis and summary reporting
- Image Optimization: Automated image compression via ImgBot integration
π¦ Project Infrastructure
- Version Management: Proper semantic versioning with v1.0.1 milestone
- Dependency Updates: Updated
pyproject.tomlwith latest compatibility requirements - Build System: Improved packaging configuration for better distribution
π Technical Changes
Core Module Enhancements (tamga/main.py)
- Improved async logging capabilities
- Enhanced buffer management system
- Better error handling for external services
- Streamlined initialization process
Utility Improvements
- Colors Module: Enhanced Tailwind CSS color integration
- Mail Module: Improved SMTP handling and error management
- Time Module: Better timestamp formatting and timezone support
Configuration Updates
- Constants: Refined log level definitions
- Init Module: Improved package initialization
- Gitignore: Updated exclusion patterns for better development workflow
π Statistics
Files Changed: 17 files modified
Lines Added: +1,656 lines
Lines Removed: -474 lines
Net Addition: +1,182 lines of enhanced functionality
π Key Additions
- π€ AI integration documentation (
llms.txt) - πββοΈ GitHub Actions workflows for CI/CD
- π§ͺ Comprehensive test suite
- πΈ Screenshot generation utility
- π Expanded README with production examples
π οΈ Breaking Changes
- Default
showTimezoneis nowFalsefor cleaner console output - Enhanced buffer system may affect custom buffer size configurations
- Improved client initialization may require updated configuration for MongoDB/email services
π¦ Installation
bash
pip install tamga==1.0.1 # Basic installation
pip install tamga[mongo]==1.0.1 # With MongoDB support
pip install tamga[api]==1.0.1 # With API logging support
pip install tamga[full]==1.0.1 # All features
π Acknowledgments
Special thanks to: - Community contributors for feedback and suggestions - Early adopters who helped identify improvement areas
Full Changelog: 0.1.14...1.0.1
Download: PyPI Package
Documentation: tamga.vercel.app
Made with β€οΈ by DoΔukan Γrker
- Python
Published by DogukanUrker 11 months ago
tamga - v0.1.13
MongoDB and API logging are now optional features. This makes the package more lightweight for their usage purpose.
- Basic installation:
bash
pip install tamga
- With API logging support:
bash
pip install tamga[api]
- With MongoDB integration:
bash
pip install tamga[mongo]
- Full installation with all features:
bash pip install tamga[full]
- Python
Published by DogukanUrker about 1 year ago