Recent Releases of tamga

tamga - v1.4.0

What's Changed

  • Add key-value logging to all log methods - remove dir() by @DogukanUrker in https://github.com/DogukanUrker/Tamga/pull/19

Full Changelog: https://github.com/DogukanUrker/Tamga/compare/1.3.1...1.4.0

- Python
Published by DogukanUrker 11 months ago

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, apiURL parameters
  • Removed sendMail, smtpServer, smtpPort, smtpMail, smtpPassword, smtpReceivers, mailLevels parameters
  • 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.1.1

  • way faster logging
  • small display fixes in without color terminal mode.

Full Changelog: https://github.com/DogukanUrker/Tamga/compare/1.0.2...1.1.1

- Python
Published by DogukanUrker 11 months ago

tamga - v1.0.2

PyPi fixes

Full Changelog: https://github.com/DogukanUrker/Tamga/compare/1.0.1...1.0.2

- 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.txt documentation 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 showTimezone parameter (defaults to False) 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.py for 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.toml with 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 showTimezone is now False for 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.14

- Python
Published by DogukanUrker about 1 year 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

tamga - v0.1.12

  • New mail UI.

Full Changelog: https://github.com/DogukanUrker/Tamga/compare/0.1.11...0.1.12

- Python
Published by DogukanUrker over 1 year ago

tamga - v0.1.11

Colored terminal output is now an optional feature. By default, it is set to true. (isColored:bool)

Full Changelog: https://github.com/DogukanUrker/Tamga/compare/0.1.10...0.1.11

- Python
Published by DogukanUrker over 1 year ago

tamga - v0.1.10

better log level alignment

Full Changelog: https://github.com/DogukanUrker/Tamga/compare/0.1.9...0.1.10

- Python
Published by DogukanUrker over 1 year ago

tamga - v0.1.9

New log level: "dir"

Full Changelog: https://github.com/DogukanUrker/Tamga/compare/0.1.8...0.1.9

- Python
Published by DogukanUrker over 1 year ago

tamga - v0.1.8

1 fixed.

Full Changelog: https://github.com/DogukanUrker/Tamga/compare/0.1.7...0.1.8

- Python
Published by DogukanUrker over 1 year ago

tamga - v0.1.7

Full Changelog: https://github.com/DogukanUrker/Tamga/compare/0.1.6...0.1.7

- Python
Published by DogukanUrker over 1 year ago

tamga - v0.1.6

Full Changelog: https://github.com/DogukanUrker/Tamga/compare/0.1.5...0.1.6

- Python
Published by DogukanUrker over 1 year ago

tamga - v0.1.5

- Python
Published by DogukanUrker over 1 year ago