semvec/pypi-packages huggingface dataset:
middleman-cli 0.1.1
CLI for Middleman GPU compute platform
Requires Python: >=3.9
Keywords: cloud, compute, gpu, ml, training

# Middleman CLI

Command-line interface for the Middleman GPU compute platform.

## Installation

```bash
pip install middleman-cli
```

## Quick Start

```bash
# Authenticate with your API key
middleman login

# Submit a training job
middleman run train.py --gpu a100

# Check job status
middleman jobs list
middleman jobs status <job-id>

# View logs
middleman jobs logs <job-id> --follow

# Check credit balance
middleman credits
```

## Commands

### Authentication

```bash
# Login with API key
middleman login

# Show current user
middleman whoami

# Logout
middleman logout
```

### Running Jobs

```bash
# Basic job submission
middleman run train.py --gpu t4

# Advanced options
middleman run train.py \
  --gpu a100 \
  --name "my-experiment" \
  --framework pytorch \
  --max-runtime 8 \
  --env WANDB_API_KEY=xxx \
  --requirements requirements.txt \
  --wait

# GPU options: t4, v100, a100, a100-80gb, h100
# Framework options: pytorch, tensorflow, jax, custom
```

### Managing Jobs

```bash
# List jobs
middleman jobs list
middleman jobs list --status running
middleman jobs list --all

# Get job status
middleman jobs status <job-id>
middleman jobs status <job-id> --watch

# View logs
middleman jobs logs <job-id>
middleman jobs logs <job-id> --tail 200
middleman jobs logs <job-id> --follow

# Cancel job
middleman jobs cancel <job-id>
```

### Credits

```bash
# Show credit balance
middleman credits
```

### Configuration

```bash
# Show config
middleman configure --show

# Set custom API URL
middleman configure --api-url https://custom.api.url

# Reset config
middleman configure --reset
```

## Configuration

Configuration is stored in `~/.middleman/config.yaml`:

```yaml
api_key: mdlm_xxxxx
api_url: https://api.middleman.run/api/v1
```

## Environment Variables

- `MIDDLEMAN_API_KEY` - API key (overrides config file)
- `MIDDLEMAN_API_URL` - API URL (overrides config file)

## Get Your API Key

1. Sign up at https://middleman.run
2. Go to https://app.middleman.run/dashboard/api-keys
3. Create a new API key
4. Run `middleman login`

## Support

- Documentation: https://docs.middleman.run
- Email: support@middleman.run
- Dashboard: https://app.middleman.run
rutifu 0.0.8
RUTIFU - Random Utilities That I Find Useful
Requires Python: >=3.5

# RUTIFU - Random Utilities That I Find Useful

This is a set of Python routines that perform various functions that I find useful for multiple projects.

## Logging and debugging
#### Log a message to syslog or stdout
    log(*args)
#### Log the traceback for an exception
    logException(name, ex)
#### Log a debug message conditioned on a specified global variable
    debug(*args)

## Threads and processes
#### Thread object that logs a stack trace if there is an uncaught exception
    class LogThread(threading.Thread)
#### Convenience function to create and start a thread
    startThread(name, target, **kwargs)
#### Block a thread indefinitely
    block()
#### Wait until the network is available
    waitForDns(host)

## Manipulation of strings and lists
#### Transform a string of words into a camel case name
    camelize(words)
#### Create a string of words from a camel case name
    labelize(name)
#### Get the value of a json item from a file
    getValue(fileName, item)
#### Turn an item into a list if it is not already
    listize(x)
#### Truncate or pad a list into a fixed number of items
    fixedList(items, nItems, pad=None)
#### Format an E.164 phone number for display
    displayNumber(number)
#### Format a phone number as E.164
    e164number(number, defaultAreaCode="", defaultCountryCode="1")
udf-tools 0.1.0
A comprehensive Python library for handling UYAP UDF files.
Requires Python: >=3.9

# udf-tools

`udf-tools` is a comprehensive Python library and command-line interface (CLI) for handling UYAP UDF (National Judiciary Network Project Document Format) files. It allows you to create, edit, and convert UDF documents with ease.

## Features
- **Create & Edit**: Build UDF documents from scratch using a modern Python API.
- **DOCX to UDF**: Convert standard World (.docx) documents to UDF format.
- **Offset Management**: Handles the complex internal XML structure and offset-based text referencing of UDF files automatically.
- **CLI Support**: Easy-to-use command-line interface for batch conversions.
- **Rich Output**: Enhanced terminal experience with progress indicators.

## Installation
```bash
pip install udf-tools
```

## Usage

### As a Library
```python
from udf_tools.editor import UDFEditor
from udf_tools.models.styles import UDFStyle

# Initialize editor
editor = UDFEditor()

# Add custom styles
editor.add_style(UDFStyle(name="Header", size=16.0, bold=True))

# Add content
editor.add_paragraph("TÜRKİYE CUMHURİYETİ", alignment=1)
editor.add_paragraph("MAHKEME KARARI", style="Header", alignment=1)
editor.add_paragraph("Bu belge otomatik olarak oluşturulmuştur.")

# Save as .udf
editor.save("output_document.udf")
```

### As a CLI
```bash
# Convert DOCX to UDF
udf-tools convert input.docx output.udf

# Show help
udf-tools --help
```

## Technical Details
UDF is a ZIP-based format containing a `content.xml` file. The core of the document is a single CDATA block of text, where various elements (paragraphs, tables, styles) reference the text using `startOffset` and `length`. `udf-tools` manages these offsets for you, so you can focus on building your document.

## License
MIT
uncms 0.0.14
A CMS toolkit for Django emphasising simplicity, speed, and familiarity.
Requires Python: >=3.8

# UnCMS: a developer's CMS toolkit for Django

**Warning: UnCMS is in alpha. It is recommended only for the curious and fearless. Do not use it in production.**

UnCMS is a developer's CMS toolkit for Django emphasising simplicity, speed, and familiarity.

## Resources

* [Documentation](https://docs.uncms.dev/)
* [Code](https://github.com/uncms-dev/uncms)
* [Homepage](https://uncms.dev/)