semvec/pypi-packages huggingface dataset:
cnckit 0.2.0
A lightweight, modular Python framework for job queuing, scheduling, and automation around LinuxCNC
Requires Python: >=3.10
Keywords: automation, cnc, gcode, job-queue, linuxcnc, scheduling

# cnckit

A lightweight, modular Python framework for job queuing, scheduling, and automation around LinuxCNC.

## Overview

cnckit provides a minimal core with optional integration modules, allowing you to adopt only the functionality you need. From simple local job queues to remote monitoring, API-based control, and more.

## Features

**Core (dependency-free):**

- Job queue with FIFO/LIFO/priority ordering
- Scheduler with start/stop/pause controls
- Machine state abstraction over LinuxCNC
- Event callbacks for job lifecycle
- Simulation mode for development

**Optional Integrations:**

- REST API for remote monitoring
- MQTT for messaging and automation
- WebSocket real-time streaming
- Robot interfaces (ROS2, TCP)

## Quick Start

```python
from cnckit.core import Machine, JobQueue, Scheduler

machine = Machine(simulate=True)  # or Machine() for real LinuxCNC
queue = JobQueue()
scheduler = Scheduler(machine, queue)

queue.add("part1.ngc")
queue.add("part2.ngc", priority=10)

scheduler.run_forever()
```

## Installation

```bash
pip install cnckit
```

With optional integrations:

```bash
pip install cnckit[api]      # REST API
pip install cnckit[mqtt]     # MQTT
pip install cnckit[all]      # Everything
```

## Documentation

- **[Quick Start](docs/getting-started/quickstart.md)** — Get up and running
- **[Architecture](docs/architecture.md)** — Design philosophy
- **[API Reference](docs/api/core/machine.md)** — Full API docs
- **[Roadmap](docs/roadmap.md)** — Planned features

## Development

```bash
git clone https://github.com/jkkicks/cnckit.git
cd cnckit
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
pytest
```

See [Contributing](docs/contributing.md) for guidelines.

## License

MIT
pylibbpf 0.0.7
Python Bindings for Libbpf
Requires Python: >=3.12

<picture>
  <source
    media="(prefers-color-scheme: light)"
    srcset="https://github.com/user-attachments/assets/dbd56f5b-4512-4c82-a404-30bce0ee5207"
    width="450"
    alt="pylibbpf light mode">
  <img
    src="https://github.com/user-attachments/assets/9e873d60-a834-4411-bc0c-361b14502f8b"
    width="450"
    alt="pylibbpf dark mode">
</picture>
<p align="center">
  <!-- PyPI -->
  <a href="https://www.python.org/downloads/release/python-3120/"><img src="https://img.shields.io/badge/python-3.12-blue.svg"></a>
  <a href="https://pypi.org/project/pylibbpf"><img src="https://badge.fury.io/py/pylibbpf.svg"></a>
  <!-- <a href="https://pypi.org/project/pythonbpf/"><img src="https://img.shields.io/pypi/status/pythonbpf" alt="PyPI Status"></a> -->
  <a href="https://pepy.tech/project/pylibbpf"><img src="https://pepy.tech/badge/pylibbpf" alt="Downloads"></a>
  <!-- Build & CI -->
  <a href="https://github.com/pythonbpf/pylibbpf/actions"><img src="https://github.com/pythonbpf/pylibbpf/actions/workflows/wheels.yml/badge.svg" alt="Build Status"></a>
  <!-- Meta -->
  <a href="https://github.com/pythonbpf/pylibbpf/blob/master/LICENSE"><img src="https://img.shields.io/github/license/pythonbpf/pylibbpf" alt="License"></a>
</p>

This library provides Python bindings for **libbpf** on Linux, making it easier to load eBPF object files. It is designed to be used together with [PythonBPF](https://github.com/pythonbpf/python-bpf), the eBPF compiler for Python. With these bindings, you can attach eBPF programs to kernel events directly from Python.
All programs written with this are to be run with a `sudo` Python interpreter.

> **Note**: This project is under active development and not ready for production use.

## Dependencies

* A compiler with C++11 support
* Pip 10+ or CMake >= 4.1
* Ninja or Pip 10+

## Installation
`pip install pylibbpf`

## Development

Clone this repository and pip install. Note the `--recursive` option which is
needed for the pybind11 submodule:

```bash
sudo apt install libelf-dev
git clone --recursive https://github.com/varun-r-mallya/pylibbpf.git
pip install .
```

With the `setup.py` file included in this example, the `pip install` command will
invoke CMake and build the pybind11 module as specified in `CMakeLists.txt`.

## Building the documentation
The documentation here is still boilerplate.
chat-prompt-logger 1.0.12
Automatically logs all chat prompts to a server for viewing (TESTING/DEVELOPMENT ONLY)
Requires Python: >=3.8

# Chat Prompt Logger

⚠️ **NOTE: This package is currently in TESTING/DEVELOPMENT phase. Use at your own risk.**

A package that automatically logs all chat prompts from Cursor AI to a server for viewing.

## Features

- **Automatic Logging**: All chat prompts are automatically sent to the server
- **Web Interface**: View all logged prompts in a beautiful web UI
- **Global Installation**: Works across all projects and sessions
- **Real-time Updates**: See prompts as they're logged

## Installation

```bash
cd chat_prompt_logger
pip install -e .
```

Or install globally:
```bash
pip install -e /path/to/chat_prompt_logger
```

## Usage

### 1. Start the Prompt Server

```bash
prompt-logger-server
```

Or manually:
```bash
python3 -m chat_prompt_logger.prompt_server
```

The server will run on `http://localhost:8082` by default.

### 2. View Logged Prompts

Open `http://localhost:8082` in your browser to see all logged prompts.

### 3. Automatic Logging

Once installed, the AI assistant will automatically log all chat prompts to the server.

## Configuration

Set environment variables if needed:

```bash
export PROMPT_SERVER_URL=http://localhost:8082
export PROMPT_SERVER_PORT=8082
```

## API

### Log a Prompt

```bash
curl -X POST http://localhost:8082/api/prompt \
  -H "Content-Type: application/json" \
  -d '{"prompt": "your chat prompt here"}'
```

### Get All Prompts

```bash
curl http://localhost:8082/api/prompts
```

## How It Works

1. Package installs a global module `chat_prompt_logger_global.py`
2. AI assistant imports and uses `logChatPrompt()` for every chat prompt
3. Prompts are sent to the server via HTTP POST
4. Server stores and displays all prompts in a web UI

## Requirements

- Python 3.8+
- Flask 3.0+
- flask-cors 4.0+
- requests 2.31+
tbxi 0.13
Tools to compile and inspect Macintosh ROM images

# `tbxi`: the Mac OS Toolbox Imager

`tbxi` is a command-line Python script to help with the inspection and
modification of Macintosh Toolbox ROM images. These images contain
varying amounts of high-level Mac OS code and low-level boot code.

`tbxi` has two modes, both with a `--help` option:

- `tbxi dump` converts a ROM image to a tree of self-describing text
  files and small binaries.
- `tbxi build` rebuilds the image as accurately as possible.

In between running the two commands, the directory tree can be modified.
The text-file formats produced by `tbxi dump` are designed to be easily
editable using text editors and scripts.


## Patch Library

This repository contains known-good scripts to patch the ROM, for
example to add Mac mini G4 support to Mac OS 9:

https://github.com/elliotnunn/tbxi-patches

Patches can be applied to a dumped directory or the the ROM file itself.


## Background

"OldWorld" (pre-USB) Macs contain a real physical ROM. "NewWorld" Macs
(iMac and later) have an unusual "ROM in RAM" arrangement, which retains
compatibility with the ROM-based architecture of the Mac OS while easing
software updates. An almost-complete legacy ROM image is loaded from the
"Mac OS ROM" file in the System Folder (type code 'tbxi'), leaving only
a minimal Open Firmware "Boot ROM" in the hardware.

During the progression from 68k ROMs to NewWorld PowerPC ROMs, multiple
layers of wrapping and abstraction were added. These are reflected in
the multi-level output of `tbxi dump`:

- Open Firmware bootinfo file (`Mac OS ROM` => `Bootscript` textfile + binaries)
- structured binary of "Parcels" (`Parcels` => `Parcelfile` textfile + binaries)
- 4 MB PowerPC ROM (`MacROM` => `Configfile-1` textfile + binaries)
- 3 MB 68k ROM (`Mac68kROM` => `Romfile` textfile + binaries)


## Bugs

Some very quirky PowerPC OldWorld ROMs (e.g. PowerBook 1400/2400) cannot
be rebuilt correctly. NewWorld ROMs of version 2 or later (Sawtooth G4)
will be slightly different due to an uninitialised buffer in the
original build process.

ROM images predating before the "SuperMario" ROM (Quadra 660AV/840AV)
are not supported, excluding most 68k Mac ROMs.

The `tbxi dump` format is likely to change. If you keep a collection of
dumped ROM images to peruse, re-dump them regularly.


## Contributing

Yes please! Bug reports, suggestions and requests are welcome. Open a
GitHub pull request or image, or get in contact via the email on the
PyPI page.

All are welcome on our retro Mac-hacking mailing list:

https://lists.ucc.gu.uwa.edu.au/mailman/listinfo/cdg5