semvec/pypi-packages huggingface dataset:
qlookz 0.1.0
Quick Look Zsh - Cache command outputs for instant retrieval
Requires Python: >=3.8
Keywords: bash, cache, cli, productivity, shell, zsh

# qlookz (quick look zsh)

Quick command output retrieval.

I wanted a tool to remember slow command outputs, and retrieve them without running everything again.
This also persists across shells.

Pretty good for kubernetes outputs.

## Installation

```bash
pip install qlookz
```

## Quick Start

### Cache a command's output

Prefix any command with `qq` to run it and cache the output:

```bash
qq curl https://api.example.com/data
qq ls -la /some/directory
qq kubectl get pods -A
```

### Retrieve cached output

Use `ql` with the same command to instantly retrieve the cached output:

```bash
ql curl https://api.example.com/data
ql ls -la /some/directory
ql kubectl get pods -A
```

The cached output will be displayed with a header showing when it was cached and how long the original command took.

## Commands

| Command | Description |
|---------|-------------|
| `qq <command>` | Run command and cache its output |
| `ql <command>` | Retrieve cached output for the command |
| `qlookz list` | List all cached commands |
| `qlookz clear` | Clear all cached commands |
| `qlookz delete <command>` | Delete a specific cache entry |
| `qlookz prune <age>` | Remove entries older than age (e.g., `1h`, `7d`, `30m`) |
| `qlookz version` | Show version |
| `qlookz help` | Show help |

## Examples

```bash
# Cache a slow API response
qq curl -s https://api.github.com/repos/python/cpython/commits

# Later, in any terminal, retrieve it instantly
ql curl -s https://api.github.com/repos/python/cpython/commits

# List what's cached
qlookz list

# Clean up old entries
qlookz prune 7d

# Clear everything
qlookz clear
```

## How It Works

- Command outputs are stored in `~/.qlookz/cache/`
- Each command is hashed to create a unique cache key
- Both stdout and stderr are captured and cached
- Exit codes are preserved when retrieving from cache
- Cache files are plain JSON for easy inspection

## Cache Location

By default, cache files are stored in:

```
~/.qlookz/cache/
```

Each cached command is stored as a JSON file containing:
- The original command
- stdout and stderr output
- Exit code
- Timestamp
- Duration

## Development

```bash
# Clone the repository
git clone https://github.com/qlookz/qlookz.git
cd qlookz

# Install in development mode
pip install -e .

# Run tests
python -m pytest
```

## License

MIT License - see [LICENSE](LICENSE) for details.
fenics-ufl 2025.2.1
Unified Form Language
Requires Python: >=3.10.0

# UFL - Unified Form Language

[![UFL CI](https://github.com/FEniCS/ufl/actions/workflows/pythonapp.yml/badge.svg)](https://github.com/FEniCS/ufl/actions/workflows/pythonapp.yml)
[![Spack build](https://github.com/FEniCS/ufl/actions/workflows/spack.yml/badge.svg)](https://github.com/FEniCS/ufl/actions/workflows/spack.yml)
[![Coverage Status](https://coveralls.io/repos/github/FEniCS/ufl/badge.svg?branch=main)](https://coveralls.io/github/FEniCS/ufl?branch=main)

The Unified Form Language (UFL) is a domain specific language for
declaration of finite element discretizations of variational forms. More
precisely, it defines a flexible interface for choosing finite element
spaces and defining expressions for weak forms in a notation close to
mathematical notation.

UFL is part of the FEniCS Project. For more information, visit
https://www.fenicsproject.org

## Documentation

Documentation can be viewed at https://docs.fenicsproject.org

## License

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
html2epub 1.3
将 html链接, html文件 或 html文本 转换成 epub文件.

# html2epub

## 简介 / Introduction

原项目为 python2 项目 [pypub](https://github.com/wcember/pypub)，此为 python3 项目，并进行了些许修改与优化。

This project is a Python 3 fork of the original [pypub](https://github.com/wcember/pypub) (Python 2), with various improvements and optimizations.

将 HTML 链接、HTML 文件或 HTML 文本转换成 EPUB 文件。

Converts HTML links, HTML files, or HTML text into EPUB files.

> **tips / 提示**
>
> 关于 EPUB 文件的格式可以参考 [EPUB - Wikipedia](https://en.wikipedia.org/wiki/EPUB)。
>
> For EPUB format details, refer to [EPUB - Wikipedia](https://en.wikipedia.org/wiki/EPUB).

## 快速使用 / Quick Start

```python
>>> import html2epub
>>> epub = html2epub.Epub('My First Epub')
>>> chapter = html2epub.create_chapter_from_url('https://en.wikipedia.org/wiki/EPUB')
>>> epub.add_chapter(chapter)
>>> epub.create_epub('OUTPUT_DIRECTORY')
```

## 安装 / Installation

```bash
pip install beautifulsoup4 jinja2 lxml requests
# 或使用 requirements.txt
# or install from requirements.txt
pip install -r requirements.txt
```

## 功能特性 / Features

- 从 URL 创建章节 / Create chapters from URLs
- 从 HTML 文件创建章节 / Create chapters from HTML files
- 从 HTML 字符串创建章节 / Create chapters from HTML strings
- 自动清理 HTML 内容 / Automatically clean HTML content
- 支持 CSS 样式 / Support CSS styles
- 支持图片嵌入 / Support image embedding
- 完整的元数据支持 / Full metadata support

## API 参考 / API Reference

### Epub 类 / Epub Class

```python
epub = html2epub.Epub('Book Title', author='Author Name')
epub.add_chapter(chapter)
epub.set_cover('cover.jpg')
epub.create_epub('output_directory')
```

### 创建章节 / Creating Chapters

```python
# 从 URL 创建 / Create from URL
chapter = html2epub.create_chapter_from_url('https://example.com')

# 从文件创建 / Create from file
chapter = html2epub.create_chapter_from_file('path/to/file.html')

# 从字符串创建 / Create from string
chapter = html2epub.create_chapter_from_string('<h1>Hello</h1><p>World</p>')
```

## 测试 / Testing

```bash
python run_tests.py
```

## Python 版本支持 / Python Version Support

- Python 3.8+
- 已测试并兼容 Python 3.12 和 3.13 / Tested and compatible with Python 3.12 and 3.13

## 参考文献 / References

1. *[wcember/pypub: Python library to programatically create epub files](https://github.com/wcember/pypub).*
2. *[EPUB - Wikipedia](https://en.wikipedia.org/wiki/EPUB).*

## 许可证 / License

MIT License
envoy-server 1.37.0
A Python wheel distribution of the Envoy server
Requires Python: >=3.10
Keywords: envoy

# envoy-server

A Python package containing a runnable [Envoy](https://github.com/envoyproxy/envoy) command.

On platforms supported natively by Envoy, typically glibc Linux or macOS on arm64, the package
embeds the Envoy binary itself and runs it directly. On other platforms such as Windows, it runs
the official [Envoy docker image](https://hub.docker.com/r/envoyproxy/envoy) - Docker must be installed
to run. The Docker fallback is primarily meant for non-production usage, for example when your
project runs Envoy on Linux in production but should still be runnable on a Windows developer
machine.

Note, this package is for Python users. If you're not already using Python, you may want to try
[func-e](https://github.com/tetratelabs/func-e/) instead.

## Usage

```bash
uv add envoy-server # or pip install
```

The package defines a script named `envoy` which will be available on the `PATH` as normal and can
then be run as you need.

```bash
uv run envoy --version # or just envoy if in the system Python or an activated virtualenv
```

If you just want to run Envoy on a machine with `uv` (or `pipx`, etc) available without a project to
add to, you can.

```bash
uvx --from envoy-server envoy --version
```

The path to the actual Envoy binary can be found with `get_envoy_path`. Note, this will not be available
on Windows or other unsupported Envoy platforms and looking up `envoy` on `PATH` is recommended when
supporting such platforms.

```python
import subprocess

from envoy import get_envoy_path

subprocess.run([get_envoy_path(), "--version"], check=True)
```