semvec/pypi-packages huggingface dataset:
pywal 3.8.14
Generate and change color-schemes on the fly
License: MIT
Requires Python: >=3.11
Keywords: wal colorscheme terminal-emulators changing-colorschemes

## This project is a 16 colors fork of [pywal](https://github.com/dylanaraps/pywal)
<h3 align="center"><img src="https://i.imgur.com/5WgMACe.gif" width="200px"></h3>
<p align="center">Generate and change color-schemes on the fly.</p>

<p align="center">
<a href="./LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
<a href="https://pypi.python.org/pypi/pywal16/"><img src="https://img.shields.io/pypi/v/pywal16.svg"></a>
<a href="https://pypi.python.org/pypi/pywal/"><img src="https://img.shields.io/pypi/v/pywal.svg"></a>
<a href="https://liberapay.com/eylles/donate"><img alt="Donate using Liberapay" src="https://img.shields.io/liberapay/receives/eylles.svg?logo=liberapay"></a>
<a href="https://liberapay.com/eylles/donate"><img alt="Donate using Liberapay" src="https://img.shields.io/liberapay/patrons/eylles.svg?logo=liberapay"></a>
</p>

<img src="https://i.imgur.com/V1FuvJP.png" alt="img" align="right" width="400px">

Pywal is a tool that generates a color palette from the dominant colors in an image. It then applies the colors system-wide and on-the-fly in all of your favourite programs.  

There are currently 8 supported color generation backends, each providing a different palette of colors from each image. You're bound to find an appealing color-scheme.

Pywal also supports predefined themes and has over 250 themes built-in. You can also create your own theme files to share with others.

The goal of Pywal was to be as out of the way as possible. It doesn't modify any of your existing configuration files. Instead it works around them and provides tools to integrate your system as you see fit.

Terminal emulators and TTYs have their color-schemes updated in real-time with no delay. With minimal configuration this functionality can be extended to almost anything running on your system.

### More: \[[Installation](https://github.com/eylles/pywal16/wiki/Installation)] \[[Getting Started](https://github.com/eylles/pywal16/wiki/Getting-Started)] \[[Customization](https://github.com/eylles/pywal16/wiki/Customization)] \[[Wiki](https://github.com/eylles/pywal16/wiki)] \[[Screenshots](https://www.reddit.com/r/unixporn/search?q=wal&restrict_sr=on&sort=relevance&t=all)] \[[Extras](https://github.com/eylles/pywal-extra)]

[![Packaging status](https://repology.org/badge/vertical-allrepos/pywal16.svg)](https://repology.org/project/pywal16/versions)
[![Packaging status](https://repology.org/badge/vertical-allrepos/pywal.svg)](https://repology.org/project/pywal/versions)
pywal16 3.8.14
Generate and change color-schemes on the fly
License: MIT
Requires Python: >=3.11
Keywords: wal colorscheme terminal-emulators changing-colorschemes

## This project is a 16 colors fork of [pywal](https://github.com/dylanaraps/pywal)
<h3 align="center"><img src="https://i.imgur.com/5WgMACe.gif" width="200px"></h3>
<p align="center">Generate and change color-schemes on the fly.</p>

<p align="center">
<a href="./LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
<a href="https://pypi.python.org/pypi/pywal16/"><img src="https://img.shields.io/pypi/v/pywal16.svg"></a>
<a href="https://pypi.python.org/pypi/pywal/"><img src="https://img.shields.io/pypi/v/pywal.svg"></a>
<a href="https://liberapay.com/eylles/donate"><img alt="Donate using Liberapay" src="https://img.shields.io/liberapay/receives/eylles.svg?logo=liberapay"></a>
<a href="https://liberapay.com/eylles/donate"><img alt="Donate using Liberapay" src="https://img.shields.io/liberapay/patrons/eylles.svg?logo=liberapay"></a>
</p>

<img src="https://i.imgur.com/V1FuvJP.png" alt="img" align="right" width="400px">

Pywal is a tool that generates a color palette from the dominant colors in an image. It then applies the colors system-wide and on-the-fly in all of your favourite programs.  

There are currently 8 supported color generation backends, each providing a different palette of colors from each image. You're bound to find an appealing color-scheme.

Pywal also supports predefined themes and has over 250 themes built-in. You can also create your own theme files to share with others.

The goal of Pywal was to be as out of the way as possible. It doesn't modify any of your existing configuration files. Instead it works around them and provides tools to integrate your system as you see fit.

Terminal emulators and TTYs have their color-schemes updated in real-time with no delay. With minimal configuration this functionality can be extended to almost anything running on your system.

### More: \[[Installation](https://github.com/eylles/pywal16/wiki/Installation)] \[[Getting Started](https://github.com/eylles/pywal16/wiki/Getting-Started)] \[[Customization](https://github.com/eylles/pywal16/wiki/Customization)] \[[Wiki](https://github.com/eylles/pywal16/wiki)] \[[Screenshots](https://www.reddit.com/r/unixporn/search?q=wal&restrict_sr=on&sort=relevance&t=all)] \[[Extras](https://github.com/eylles/pywal-extra)]

[![Packaging status](https://repology.org/badge/vertical-allrepos/pywal16.svg)](https://repology.org/project/pywal16/versions)
[![Packaging status](https://repology.org/badge/vertical-allrepos/pywal.svg)](https://repology.org/project/pywal/versions)
gpulegion 0.1.1
Unified GPU telemetry for Apple Silicon, NVIDIA, and beyond
License: MIT
Requires Python: >=3.9
Keywords: gpu, monitoring, apple-silicon, nvidia, telemetry, m1, m2, m3, m4, m5

# gpulegion

**Unified GPU telemetry for Apple Silicon, NVIDIA, and beyond.**

[![PyPI version](https://badge.fury.io/py/gpulegion.svg)](https://badge.fury.io/py/gpulegion)
[![Python 3.9+](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/)

## Why gpulegion?

Existing Python GPU monitoring tools like `GPUtil` only support NVIDIA GPUs. If you're developing on Apple Silicon (M1-M5), you're out of luck.

**gpulegion** fills that gap with a simple, cross-platform API:

| Tool | Apple Silicon | NVIDIA | Programmatic API |
|------|---------------|--------|------------------|
| GPUtil | ❌ | ✅ | ✅ |
| gputop | ❌ | ✅ | ⚠️ (CLI-first) |
| **gpulegion** | ✅ | ✅ | ✅ |

## Installation

```bash
pip install gpulegion
```

## Quick Start

```python
import gpulegion as gl

# Check if GPU monitoring is available
if gl.is_available():
    print(f"GPU Usage: {gl.usage()}%")
    print(f"GPU Power: {gl.power()}W")
    print(f"Device: {gl.device()}")
else:
    print("No GPU detected")
```

## API Reference

### Core Functions

- `backends()` → List of available backend names
- `is_available()` → True if GPU monitoring is supported
- `usage()` → GPU utilization percentage (0-100) or None
- `power()` → GPU power consumption in watts or None
- `memory()` → Dict with `used_mb` and `total_mb` or None
- `device()` → Dict with vendor, model, and device info or None

### Design Philosophy

- **Never crash**: Returns `None` when data unavailable
- **Minimal dependencies**: No heavy ML frameworks required
- **Cross-platform**: Works on macOS (Apple Silicon), Linux (NVIDIA), and gracefully degrades elsewhere

## Platform Support

### Apple Silicon (M1-M5)

Requires passwordless `sudo` access to `powermetrics`:

```bash
# Add to /etc/sudoers.d/powermetrics
your_username ALL=(ALL) NOPASSWD: /usr/bin/powermetrics
```

### NVIDIA

Requires `nvidia-smi` (comes with NVIDIA drivers).

## Example Output

```python
>>> import gpulegion as gl
>>> gl.device()
{'vendor': 'Apple', 'model': 'Apple M2 Pro', 'arch': 'arm64'}

>>> gl.usage()
34.2

>>> gl.power()
12.8
```

## Roadmap

- [x] Apple Silicon support
- [x] NVIDIA support
- [ ] AMD support
- [ ] Intel discrete GPU support
- [ ] Multi-GPU support
- [ ] CLI tool

## Contributing

Contributions welcome! This library is intentionally minimal - we prioritize reliability over features.

## License

MIT