semvec/pypi-packages huggingface dataset:
alldebrid 0.3.2
Lightweight async wrapper for AllDebrid API
Requires Python: >=3.9

# Async AllDebrid API

Lightweight async API to interact with AllDebrid.
This version uses `pydantic` to parse and manipulate the responses.

Start with `alldebrid.Client("<apikey>")` to create an API client.

## Changelog

v0.2.0 uses `pydantic` instead of `attrs`+`cattrs` to parse the responses.
tidylog 0.1.5
Clean, colorized structured logging for Python with JSON extra fields
Requires Python: >=3.9
Keywords: colorized, formatter, json, logging, structured-logging

# TidyLog

Clean, colorized structured logging for Python with JSON extra fields.

## Installation

```bash
pip install tidylog
```

## Usage

### Console Logging

```python
from tidylog import get_logger

logger = get_logger(__name__)
logger.info("User logged in", extra={"user_id": 123, "ip": "192.168.1.1"})
```

Output:
```
2024-01-15 10:30:00 - myapp - INFO - User logged in - {"user_id": 123, "ip": "192.168.1.1"}
```

### File Logging

```python
from tidylog import setup_file_logging

handler = setup_file_logging(
    "logs/app.log",
    level="DEBUG",
    logger_names=["myapp", "myapp.api"],
)
```

## Examples

```bash
# Install in development mode
poetry install

# Run examples
poetry run python examples/console_logging.py
poetry run python examples/file_logging.py
poetry run python examples/custom_formatter.py
```

## Build & Deploy

```bash
pip install build twine
python -m build
twine upload dist/*
```