semvec/pypi-packages huggingface dataset:
dev-flex 0.1.1
A cyberpunk-themed CLI dashboard for developers.
Requires Python: >=3.9

# 🚀 Dev-Flex CLI

> **Flex your development environment in style.**

![Python](https://img.shields.io/badge/Python-3.9%2B-blue)
![License](https://img.shields.io/badge/License-MIT-green)
![Style](https://img.shields.io/badge/Style-Cyberpunk-purple)

**Dev-Flex** is a stunning, cyberpunk-themed terminal dashboard designed for developers who want to monitor their system status, check tool versions, and show off their stack with a single command.

---

## ✨ Features

*   **🖥️ System Monitor**: Real-time OS information, Kernel version, Uptime, and Shell detection (Fixed for Windows!).
*   **📊 Hardware Stats**: Live CPU & RAM usage bars to keep an eye on resources.
*   **🛠️ Tech Stack**: Automatically detects versions of **Python**, **Node.js**, **Go**, **Rust**, and **Docker**.
*   **🌐 Network Center**: Displays Local IP, checks Public IP, and runs a **Speedtest** (Ping/Download).
*   **📂 Project Scanner**: Scans your current directory to show file counts by language and total size.
*   **🎨 Multi-Theme**: Choose your vibe: `cyberpunk` (default), `matrix` (hacker green), or `ocean` (calm blue).

## 📦 Installation

Install easily via pip (requires Python 3.9+):

```bash
pip install dev-flex
```
*(Or clone this repo and run `pip install -e .` for editable mode)*

## 🚀 Usage

Simply type `dev-flex` in your terminal:

```bash
dev-flex
```

### Options

| Flag | Description |
| :--- | :--- |
| `--theme [name]` | Switch theme: `cyberpunk`, `matrix`, `ocean`. |
| `--speedtest` | Run an internet speed test (takes a few seconds). |
| `--public` | Fetch and display your Public IP address. |
| `--help` | Show help message. |

### Examples

**The "Hacker" Mode:**
```bash
dev-flex --theme matrix
```

**Full System Report:**
```bash
dev-flex --theme ocean --speedtest --public
```

## 🖼️ Preview

```text
╭───────────────────────────── DEV-FLEX ─────────────────────────────╮
│ ╭─ SYS.INFO ─────────────────────────────────────────────────────╮ │
│ │ 🖥️  Windows 11 Pro • Kernel: 10.0 • ⏱️  2 days • 🐚 powershell    │ │
│ ╰────────────────────────────────────────────────────────────────╯ │
│ ╭─ HARDWARE ─────────────────────────────────────────────────────╮ │
│ │ CPU [||||||||||........] 50%   RAM [||||||.............] 6.2GB │ │
│ ╰────────────────────────────────────────────────────────────────╯ │
... and much more!
```

## 🤝 Contributing

Contributions are welcome! Feel free to open issues/PRs to add support for more tools or themes.

---
*Built with ❤️ using [Rich](https://github.com/Textualize/rich) and [Typer](https://github.com/tiangolo/typer).*
pie-client 0.2.1
Pie Client
Requires Python: >=3.10

# Pie Python Client

A Python client for interacting with the Pie server.

## Installation

```bash
pip install -e .
```

## Quick Start

```python
import asyncio
from pie import PieClient, ParsedPrivateKey

async def main():
    async with PieClient("ws://127.0.0.1:8080") as client:
        # Authentication is always required.
        # If server auth is enabled, provide a valid private key:
        key = ParsedPrivateKey.from_file("~/.ssh/id_ed25519")
        await client.authenticate("username", key)
        
        # If server auth is disabled, any username works without a key:
        # await client.authenticate("any_username")
        
        # Upload and launch a program
        with open("my_program.wasm", "rb") as f:
            await client.upload_program(f.read())
        
        program_hash = "..."  # blake3 hash of the wasm binary
        instance = await client.launch_instance(program_hash)
        
        # Interact with the instance
        await instance.send("hello")
        event, message = await instance.recv()
        print(f"Received: {event.name} - {message}")

asyncio.run(main())
```

## API Reference

### PieClient

| Method | Description |
|--------|-------------|
| `authenticate(username, private_key)` | Public key authentication (challenge-response) |
| `internal_authenticate(token)` | Token-based internal authentication |
| `upload_program(bytes)` | Upload a WASM program |
| `program_exists(hash)` | Check if program is uploaded |
| `launch_instance(hash, args, detached)` | Launch a program instance |
| `attach_instance(instance_id)` | Attach to a detached instance |
| `list_instances()` | List running instances |
| `terminate_instance(instance_id)` | Terminate an instance |
| `ping()` | Check server connectivity |
| `query(subject, record)` | Generic server query |

### Instance

| Method | Description |
|--------|-------------|
| `send(message)` | Send a string to the instance |
| `upload_blob(bytes)` | Upload binary data |
| `recv()` | Receive next event (returns `(Event, data)`) |
| `terminate()` | Request termination |

### Event Types

| Event | Description |
|-------|-------------|
| `Message` | Text message from instance |
| `Completed` | Instance finished successfully |
| `Aborted` | Instance was aborted |
| `Exception` | Instance raised an exception |
| `ServerError` | Server-side error |
| `OutOfResources` | Resource limit reached |
| `Blob` | Binary data received |
| `Stdout` | Streaming stdout output |
| `Stderr` | Streaming stderr output |

### ParsedPrivateKey

Supports RSA (≥2048 bits), ED25519, and ECDSA (P-256, P-384) keys.

```python
# From file
key = ParsedPrivateKey.from_file("~/.ssh/id_ed25519")

# From string
key = ParsedPrivateKey.parse(key_content)
```

## Example

See [main.py](./main.py) for a complete usage example.
audiotoolbox 1.0
Toolbox for generating and working with audio signals
Requires Python: >=3.10

# audiotoolbox
A python package for creating acoustic stimuli primariliy aimed at auditory research.

[![Documentation Status](https://github.com/Jencke/audiotoolbox/actions/workflows/docs.yml/badge.svg)](https://github.com/Jencke/audiotoolbox/actions/workflows/docs.yml)
[![CI](https://github.com/Jencke/audiotoolbox/actions/workflows/ci.yml/badge.svg)](https://github.com/Jencke/audiotoolbox/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/Jencke/audiotoolbox/branch/develop/graph/badge.svg?token=SI8BRM2ZYZ)](https://codecov.io/gh/Jencke/audiotoolbox)

## How to install audiotoolbox
### Using pip
  If you use `pip`, you can install audiotoolbox with:

 `pip install audiotoolbox`

### From GitHub
 * Clone the repository: `git clone https://github.com/Jencke/audiotoolbox.git`
 * Install the package: `pip install ./`
 * Optionally run the tests: `pytest`

### Requirements
  audiotoolbox depends on the libsndfile library. The libray should be installed automatically when using pip.

## Documentation
The package documentation can be found at: https://jencke.github.io/audiotoolbox/index.html
However, it is a bit outdated and does not document all the features. Help would be highly appreciated

## Contributions
The Project is happy about any contribution. If you find bugs, think the documentation could be improved, or have comments or ideas, open a ticket within the issue tracker https://github.com/Jencke/audiotoolbox/issues or contact me via email. If you implement new features, I'm happy to receive merge requests or code-snippets.

## Acknowledgments
This software package was developed during my PHD in the group of Prof. Werner Hemmert at the Technical University of Munich and further developed during my time as a post-doc in the Group of Prof. Mathias Dietz at the University of Oldenburg.