semvec/pypi-packages huggingface dataset:
hackmudChatAPI 0.0.20.6
A python implementation of the hackmud chat API, using the requests module.
Requires Python: >=3.10

# README

This is my hackmud chat API module, as a module.

It is designed to be gotten as a package from PyPI via `pip`, but I believe you can copy the `hackmudChatAPI` folder into your workspace and use it as a module like that.

Better usage docs coming sometime in the future.

## Usage

Place this at the start of your python file:

```py
from hackmudChatAPI import ChatAPI

chat = ChatAPI()
```

You can get a new token in your config file without additional code using `python -m hackmudChatAPI` with the package installed.

This will assume the default config file location of `projectDir/config.json`.

If you store the config file elsewhere, a symlink to that will work.

More details will come sometime in the future.
save-page-as-md 0.1.0a0
Download a webpage and save its content as Markdown, organizing the output on disk to mirror the webpage's domain and path.
Requires Python: >=2

# `save-page-as-md`

Download a webpage and save its content as Markdown, organizing the output on disk to mirror the webpage's domain and path.

## Installation

```bash
pip install save-page-as-md
```

## Usage

```bash
python -m save_page_as_md <URL> [-o OUTPUT]
```

- `-o OUTPUT`, `--output OUTPUT`: Optional. File path to write output Markdown.
  - Use `-` to print to stdout.
  - If not provided, output is saved in a folder structure based on the URL (see below).

## Examples

**Save the Python Wikipedia page in a folder structure mirroring its URL:**

```bash
python -m save_page_as_md https://en.wikipedia.org/wiki/Python_(programming_language)
```

Output will be placed in the directory:

```
./en.wikipedia.org/wiki/Python_(programming_language)/index.md
```

Save to a custom file:

```bash
python -m save_page_as_md https://example.com -o example.md
```

Print Markdown to the terminal:

```bash
python -m save_page_as_md https://example.com -o -
```

## Caveats

- For sites that require login or have JavaScript-loaded content, results may be incomplete.
- Only HTTP and HTTPS are supported.
- Some rare filenames/paths may be problematic on Windows due to reserved device names (e.g., `CON`, `AUX`) - review output on Windows systems.

## Contributing

Contributions are welcome! Please submit pull requests or open issues on the GitHub repository.

## License

This project is licensed under the [MIT License](LICENSE).
whisper-hotkey 0.1.3
Double-tap Control to dictate with Whisper. Transcribes and pastes to any text field. macOS only.
Requires Python: >=3.12
Keywords: dictation, macos, speech-to-text, transcription, whisper

# whisper-hotkey

Double-tap Control to dictate with Whisper on macOS. Transcribes your speech and pastes it into whatever text field is focused.

Uses [faster-whisper](https://github.com/SYSTRAN/faster-whisper) (CTranslate2) with int8 quantization for fast local inference. No cloud APIs, everything runs on your machine.

## Install

```bash
uvx whisper-hotkey install
```

This will:
1. Ask you to choose a model (tiny.en for speed, or distil-large-v3 for accuracy)
2. Download the model
3. Request microphone and accessibility permissions
4. Install a LaunchAgent so it starts automatically on login

## Usage

After install, just **double-tap the Control key** to start recording. Double-tap again to stop — your speech is transcribed and pasted into the active text field.

That's it. It works across all apps, survives reboots, and runs in the background.

## Commands

```bash
whisper-hotkey install    # Interactive setup (model, permissions, auto-start)
whisper-hotkey uninstall  # Remove auto-start
whisper-hotkey status     # Check if the service is running
whisper-hotkey             # Run the service directly (not needed after install)
```

## Requirements

- macOS (Apple Silicon or Intel)
- Python 3.12+
- [uv](https://docs.astral.sh/uv/) (recommended) or pip

## Models

| Model | Size | Speed | Accuracy |
|-------|------|-------|----------|
| tiny.en (default) | ~75MB | Fastest | Good for clear English |
| distil-large-v3 | ~1.5GB | Slower | Better with accents/noise |

## Permissions

The app needs two macOS permissions:
- **Microphone** — to record your voice
- **Accessibility** — to detect the keyboard shortcut and paste text

The `install` command will prompt for these. If the shortcut doesn't work, check System Settings > Privacy & Security and make sure both your terminal and Python have Accessibility access.

## Logs

```bash
tail -f ~/Library/Logs/whisper-hotkey/stdout.log
tail -f ~/Library/Logs/whisper-hotkey/stderr.log
```

## License

MIT
piezod 0.8.3
Modeling and optimization of piezoresistive and piezoelectric sensors and actuators
Requires Python: >=3.12
Keywords: MEMS, cantilever, optimization, piezoelectric, piezoresistive, sensor

# piezod

Modeling and optimization of piezoresistive and piezoelectric sensors and actuators.

## Installation

```bash
pip install piezod
```

For development:

```bash
git clone https://github.com/MicrosystemsLab/PiezoD.git
cd PiezoD/python
uv sync
```

## Usage

```python
from piezod import CantileverEpitaxy

# Create cantilever and set geometry
c = CantileverEpitaxy()
c.l = 300e-6  # length: 300 um
c.w = 44e-6   # width: 44 um
c.t = 89e-9   # thickness: 89 nm
c.fluid = "water"

# Calculate properties
print(f"Stiffness: {c.stiffness() * 1e3:.3f} mN/m")
print(f"Resonant frequency: {c.omega_vacuum_hz() / 1e3:.1f} kHz")
freq_hz, Q = c.omega_damped_hz_and_Q()
print(f"Damped frequency: {freq_hz / 1e3:.1f} kHz, Q = {Q:.1f}")
```

Run the example:

```bash
uv run python examples/quickstart.py
```

## Development

Install dependencies:

```bash
uv sync
```

Run tests:

```bash
uv run pytest
```

Lint and format:

```bash
uvx ruff check src tests --fix && uvx ruff format src tests
```

Type check:

```bash
uvx ty check src
```

## Documentation

See the main project documentation at [github.com/MicrosystemsLab/PiezoD](https://github.com/MicrosystemsLab/PiezoD).

## Citation

If you use piezod in your research, please cite:

> Joseph C. Doll, Sung-Jin Park and Beth L. Pruitt
> Design optimization of piezoresistive cantilevers for force sensing in air and water
> Journal of Applied Physics 106.6 (2009): 064310-064310.

## License

GPL-3.0-or-later
secretsweeper 0.0.1a1
Fast, in-memory secret-sanitizing CPython module written in Zig, designed for speed.
Requires Python: >=3.11

```zig
▞▀▖            ▐  ▞▀▖                   
▚▄ ▞▀▖▞▀▖▙▀▖▞▀▖▜▀ ▚▄ ▌  ▌▞▀▖▞▀▖▛▀▖▞▀▖▙▀▖
▖ ▌▛▀ ▌ ▖▌  ▛▀ ▐ ▖▖ ▌▐▐▐ ▛▀ ▛▀ ▙▄▘▛▀ ▌  
▝▀ ▝▀▘▝▀ ▘  ▝▀▘ ▀ ▝▀  ▘▘ ▝▀▘▝▀▘▌  ▝▀▘▘  
```

[![CI](https://github.com/recipe/secretsweeper/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/recipe/secretsweeper/actions/workflows/ci.yml)
[![License](https://img.shields.io/github/license/recipe/secretsweeper.svg)](https://github.com/recipe/secretsweeper/blob/main/LICENSE)
[![PyPI Version](https://img.shields.io/pypi/v/secretsweeper.svg)](https://pypi.org/project/secretsweeper/)
[![Compatiable Python versions](https://img.shields.io/pypi/pyversions/secretsweeper.svg?style=flat-square)](https://pypi.python.org/pypi/secretsweeper/)

SecretSweeper is a fast, in-memory secret-sanitizing Python module written in Zig, designed for speed.

---

## About

> Just want to remove all secret variables from the terraform plan output or any large file? SecretSweeper is here to help!
 
SecretSweeper as a Python library that can mask or remove known secrets from the byte literals, files, or any file-like objects (`io.BinaryIO`).

- Written in Zig and has no third party dependencies. It leverages the stability of the Python Limited C API to create a single binary extension.
- Can wrap a file descriptor to read and sanitize data directly from the stream.
- Works well with multi-line secrets.

## Installation

```bash
pip install secretsweeper 
```

## Example

To mask secrets from the `bytes` literal:

```shell 
» python          
import secretsweeper
print(secretsweeper.mask(b"Hello, Secret Sweeper!", (b'Secret', b'Sweeper')))
b'Hello, ****** *******!' 
```
Secrets may be completely removed by providing a third argument, `limit=0`, which specifies the maximum number of masking characters:

```shell 
» python          
import secretsweeper
print(secretsweeper.mask(b"Moby Dick!", [b" Dick"], limit=0))
b'Moby!' 
```
To effectively mask all secrets in a large text:

```python 
import urllib.request
import secretsweeper

url = "https://raw.githubusercontent.com/annotation/mobydick/main/txt/plain.txt"

with urllib.request.urlopen(url) as src, open("sanitized.txt", "wb") as dest:
    stream = secretsweeper.StreamWrapper(
        src, (b"Dick", b"savage", b"cannibal", b"harpooner")
    )
    for line in stream:
        dest.write(line)
```

More examples are in [tests](tests/test_secretsweeper.py).

## Getting involved

🌱 Contributions are always welcome — whether it’s a bug report, a small fix, or a big idea.
If something here sparks your curiosity, jump in and help shape it. Open an issue or a pull request — even small contributions make a difference.

## License

This is free software: you can redistribute it and/or modify it under the terms of the MIT License. A copy of this license is provided in [LICENSE](LICENSE).
jupyter-book 2.1.2
Create computational narratives that are reusable, reproducible, and interactive.
Requires Python: >=3.9

# <img src="https://raw.githubusercontent.com/jupyter-book/jupyter-book/next/docs/media/images/logo-square.svg" width=40 /> Jupyter Book

[![Jupyter Book Badge](https://raw.githubusercontent.com/jupyter-book/jupyter-book/next/docs/media/images/badge.svg)](https://jupyterbook.org)
[![DOI](https://img.shields.io/badge/DOI-Cite_Jupyter_Book-blue)](https://jupyterbook.org/stable/cite/)

<!-- [![PyPI][pypi-badge]][pypi-link]
     [![Conda][conda-badge]][conda-link] -->

Jupyter Book is an open-source tool for building publication-quality books and documents from computational material.

Jupyter Book allows users to

- write their content in Markdown files or [Jupyter](https://jupyter.org/) notebooks,
- include computational elements (e.g., code cells) in either type,
- include rich syntax such as citations, cross-references, and numbered equations, and
- using a simple command, run the embedded code cells, cache the outputs and convert this content into:
  - a web-based interactive book and
  - a publication-quality PDF.

> [!NOTE]
> Are you trying to access Jupyter Book v1 (the Sphinx-based documentation engine)?
> That package now resides in the [`v1` branch](https://github.com/jupyter-book/jupyter-book/tree/v1)
> of this repository.

## Governance of This Project

Jupyter Book is an official sub-project of Jupyter, you can find more about our team and governance process in our [Team Compass](https://compass.jupyterbook.org/).

## Contribute or Improve The Book

Notice a typo in the text? Want to add a cool feature so that others can enjoy the improvements to Jupyter Books?
Check out `CONTRIBUTING.md`. We'd love your help!

## Acknowledgements

Jupyter Book is maintained and primarily developed by the Jupyter Book Project.