semvec/pypi-packages huggingface dataset:
wayne-graphics 2.0.5
Wayne Graphics: a Tkinter-based graphics engine with Wayne-AI code explainer and API router
Requires Python: >=3.9



---

 Wayne Graphics

A lightweight Python graphics library built to speedrun AP CSP assignments and simplify event-driven programming.

Created by Wayne, a high school TA and PyPI developer from Martin County, Florida.

---

 Installation

`bash
pip install wayne-graphics
`

---

 Quick Start

`python
from graphics.core import *
from graphics.shapes import *
from graphics.events import *
from graphics.groups import *

Create a window
app = WayneGraphics(width=600, height=400, title="Wayne Demo")

Draw shapes
drawRect(app.canvas, 50, 50, 100, 60, color="blue")
drawCircle(app.canvas, 300, 200, 40, color="red")
drawText(app.canvas, 150, 300, "Hello Wayne!", font=("Courier", 16), color="green")

Handle mouse click
def handle_click(x, y):
    print(f"Mouse clicked at ({x}, {y})")

onMousePress(app.canvas, handle_click)

Handle key press
def handle_key(char):
    print(f"Key pressed: {char}")

onKeyPress(app.root, handle_key)

Run the app
app.run()
`

---

 Modules

core.py
 WayneGraphics: Main window class with built-in canvas and event loop
 onMousePress(func): Binds left-click handler
 onKeyPress(func): Binds keypress handler
 run(): Starts the GUI loop

shapes.py
 drawRect(canvas, x, y, width, height, color)
drawCircle(canvas, x, y, radius, color)
 drawText(canvas, x, y, text, font, color)

events.py
 Mouse Events:
   onMousePress, onMouseRelease, onMouseDrag, onMouseMove
   onMouseEnter, onMouseLeave, onRightClick, onMiddleClick, onScroll
 Keyboard Events:
   onKeyPress, onKeyRelease
 Animation:
   onStep(root, func, delay)
 Custom Binding:
   bind(canvasorroot, event, func)


groups.py
group = app.createGroup(canvas, shape)
group.move(x,y)


---

 Why Wayne Graphics?

 Minimal boilerplate — perfect for beginners and AP CSP students
 Fast setup — one-line install, instant canvas
 Event-driven — intuitive mouse and keyboard handling
 Modular design — clean separation of core, shapes, and events
 Classroom-tested — used in real AP CSP assignments

---

 Educational Use

Wayne Graphics was built to help students focus on logic and creativity, not boilerplate. It’s ideal for:
 AP Computer Science Principles
 Python graphics projects
 Teaching event-driven programming
 Rapid prototyping

---

 Contributing

Pull requests are welcome! If you’d like to add new shapes, events, or features, feel free to fork and submit.

---

 License

MIT License — free to use, modify, and distribute.

---

 Credits

Built by Wayne, a 17-year-old TA and PyPI developer from Martin County High School.  
Inspired by the need to speedrun AP CSP assignments with style.

---
termseparator 0.1.2
A simple, lightweight function to print a stylized, colored separator line in the terminal.
Requires Python: >=3.8

# ts

A simple, lightweight utility function designed to print clean, stylized, and colored separator lines directly in your terminal. Perfect for organizing output in data analysis scripts, CLI tools, or development logs.

## ✨ Features

* **Simple Syntax:** One function call to print a clean line.
* **Optional Title:** Centers a word within the separator line.
* **Color Support:** Supports standard terminal colors like green, blue, red, and yellow.
* **Zero Dependencies:** Relies only on built-in Python features (ANSI colors).

## ⬇️ Installation

You can install `termseparator` globally using pip:

```bash
pip install termseparator


🚀 Usage
The function accepts an optional title word (word) and an optional color string (color).

Python

import termseparator as ts


# 1. Simple, default usage (green solid line)
ts.s()

# 2. Separator with a centered title (default green)
ts.s("DATA LOADING COMPLETE")

# 3. Separator with a different color
ts.s("PROCESSING DATA", color="blue")

# 4. Solid red line
ts.s(color="red")
doubao-mcp 0.1.1
MCP server that wraps the Doubao generation API.
Requires Python: >=3.10

# Doubao MCP Server

MCP server that exposes tools for creating and querying Doubao generation tasks via the
`doubao-seedance-1-0-pro-250528` model.

## Prerequisites

- Python 3.10+
- Conda environment `doubao-mcp` (or any environment with the dependencies installed)
- Doubao Ark API key exported as `ARK_API_KEY`

## Installation

```powershell
conda activate doubao-mcp
pip install -e .
```

## Running the server

1. Set the API key before launching:

   ```powershell
   $env:ARK_API_KEY = "<your_api_key>"
   ```

2. Start the MCP server (stdio):

   ```powershell
   doubao-mcp-server
   ```

   or run the module directly:

   ```powershell
   python -m doubao_mcp.server
   ```

## Tool reference

### `create_viceo`

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `text`    | str  | Required text prompt describing the video storyline. |
| `ratio`   | str? | Optional ratio (for example `16:9`). |
| `resolution` | str? | Optional resolution such as `720p` or `1080p`. |
| `duration` | int? | Optional duration in seconds. |
| `frames_per_second` | int? | Optional frame rate. |
| `seed` | int? | Optional deterministic seed. |

Returns a structured payload containing the task `id`, the exact request JSON (only documented fields are sent), the raw Doubao response, plus `formatted_request`/`formatted_response` strings for easy viewing.

### `get_video_result`

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `task_id` | str  | Doubao task id returned by `create_viceo`. |

Returns both the raw JSON payload from `GET https://ark.cn-beijing.volces.com/api/v3/contents/generations/tasks/<task_id>` and a `formatted_response` string.
microvmi 0.2.16
Python bindings for libmicrovmi
Requires Python: >=3.9

# Microvmi Python bindings

> Python bindings for libmicrovmi

[![documentation](https://img.shields.io/badge/Online-Documentation-green?style=for-the-badge&logo=gitbook)](https://wenzel.github.io/libmicrovmi/tutorial/python.html)