semvec/pypi-packages huggingface dataset:
cartoon-diffusion 0.1.0
AI-powered image to cartoon conversion using diffusion models
Requires Python: >=3.8
Keywords: ai, machine learning, diffusion, cartoon, image processing

# Cartoon Diffusion

AI-powered image to cartoon conversion using diffusion models.

## Installation

```bash
pip install cartoon-diffusion
```

## Usage

```python
from cartoon_diffusion import CartoonifyDiffusionPipeline

# Load the pipeline
pipeline = CartoonifyDiffusionPipeline.from_pretrained("wizcodes12/image_to_cartoonify")

# Convert image to cartoon
cartoon = pipeline("path/to/selfie.jpg")
cartoon.save("cartoon_output.png")

# Or use with PIL Image
from PIL import Image
image = Image.open("selfie.jpg")
cartoon = pipeline(image)
cartoon.save("cartoon_output.png")
```

## Requirements

- Python 3.8+
- PyTorch
- CUDA (optional, for GPU acceleration)

## Model

This package uses the pre-trained model from `wizcodes12/image_to_cartoonify` on Hugging Face.

## License

MIT License
textual-theme-editor 0.1.0
A theme editor for Textual
Requires Python: >=3.9

# textual-theme-editor

A theme editor for [Textual](https://github.com/Textualize/textual).

![screenshot](https://raw.githubusercontent.com/TomJGooding/textual-theme-editor/main/assets/screenshot.png)

## Installation

Install textual-theme-editor using pip:

```
pip install textual-theme-editor
```

## Usage

Run the theme editor app to quickly create and preview a theme:

```
python -m textual_theme_editor
```

You can easily add the `ThemeEditor` widget in your own Textual apps:

```python
from textual.app import App, ComposeResult

from textual_theme_editor import ThemeEditor


class ExampleApp(App):
    def compose(self) -> ComposeResult:
        yield ThemeEditor()
```

## Contributing

I created this theme editor as a learning exercise to better understand
Textual and it is still a work in progress.

I'd really appreciate any feedback or suggestions, but I'm afraid I probably
won't be accepting any PRs at the moment.

## License

Licensed under the [GNU General Public License v3.0](LICENSE).