Metadata-Version: 2.4
Name: tinycolorlog
Version: 0.1.0
Summary: A tiny Python logger with colorful ANSI terminal output.
License: MIT License
        
        Copyright (c) 2026 tinycolorlog contributors
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Keywords: logging,color,terminal,cli,ansi
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: System :: Logging
Classifier: Topic :: Terminals
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# tinycolorlog

A tiny, zero-dependency Python logger with colorful ANSI terminal output.

## Installation

```bash
pip install tinycolorlog
```

## Usage

```python
from tinycolorlog import logger

logger.info("Server started on port 8080")
logger.success("Database connection established")
logger.error("Failed to read configuration file")
```

### Output

Each method prints a bold, colored prefix followed by your message:

| Method             | Color  | Prefix      |
|--------------------|--------|-------------|
| `logger.info()`    | 🔵 Blue  | `[INFO]`    |
| `logger.success()` | 🟢 Green | `[SUCCESS]` |
| `logger.error()`   | 🔴 Red   | `[ERROR]`   |

## API Reference

### `logger.info(message: str)`
Prints an informational message in **blue**.

### `logger.success(message: str)`
Prints a success message in **green**.

### `logger.error(message: str)`
Prints an error message in **red**.

## Advanced: Custom Instance

You can also instantiate `TinyLogger` directly if you prefer:

```python
from tinycolorlog.handler import TinyLogger

my_logger = TinyLogger()
my_logger.success("Custom logger instance works too!")
```

## License

MIT — see [LICENSE](LICENSE) for details.
