semvec/pypi-packages huggingface dataset:
mini2d 0.1.0
Tiny 2D vector helpers, no NumPy, no classes.
License: MIT
Requires Python: >=3.9

# mini2d

Tiny 2D vector helpers for Python.

No NumPy.
No classes.
Just tuples and `math`.

---

## Why does this exist?

Because sometimes you just want to do simple 2D vector math without:

- installing NumPy
- dealing with arrays
- using classes or operator overloading
- pulling heavy dependencies

This is especially useful in constrained environments (for example, mobile Python like Pydroid3) or small scripts where NumPy is overkill.

This is a hobby project, made for convenience, not for performance or completeness.

---

## What is a vector?

A vector is simply a tuple:

(x, y)

Example:

v = (3.0, 4.0)

All functions:
- take tuples as input
- return new tuples
- never mutate data

---

## Features

- 2D vectors only
- pure Python
- depends only on the standard `math` module
- explicit, functional API
- predictable behavior

Included operations:
- vector addition and subtraction
- scalar multiplication and division
- dot product
- length and distance
- normalization

---

## Example usage

```PY
from mini2d import add, length, normalize, scalar_mul

v = (3, 4)
w = (1, 2)

add(v, w)          # (4, 6)
length(v)          # 5.0
normalize(v)       # (0.6, 0.8)
scalar_mul(v, 2)   # (6, 8)
```

---

## Design choices

- No classes  
  Vectors are plain tuples. This keeps things simple and transparent.

- No operator overloading  
  Functions like add(v, w) are explicit and easy to read.

- No NumPy  
  This is not meant to replace NumPy. It exists for cases where NumPy is inconvenient or unavailable.

- Fail fast  
  Invalid inputs raise errors instead of trying to guess what you meant.

---

## What this is NOT

- A full linear algebra library
- A physics engine
- A performance-oriented solution
- A NumPy replacement

If you need high performance, broadcasting, or large arrays, use NumPy.

---

## Stability

The API is small and may change.
This project prioritizes simplicity over long-term backward compatibility.

---

## License

MIT License
pyanglianwater 3.1.0
A package to interact with Anglian Water
License: MIT
Requires Python: <4,>=3.10

<div align="center">

# pyanglianwater

A module to interact with Anglian Water and retrieve smart meter usage.

[![Build Status](https://github.com/pantherale0/pyanglianwater/workflows/build/badge.svg)](https://github.com/pantherale0/pyanglianwater/actions)
[![Coverage Status](https://coveralls.io/repos/github/pantherale0/pyanglianwater/badge.svg?branch=main)](https://coveralls.io/github/pantherale0/pyanglianwater?branch=main)
[![PyPi](https://img.shields.io/pypi/v/pyanglianwater)](https://pypi.org/project/pyanglianwater)
[![Licence](https://img.shields.io/github/license/pantherale0/pyanglianwater)](LICENSE)

<img src="https://raw.githubusercontent.com/justintime50/assets/main/src/python-template/showcase.png" alt="Showcase">

</div>

## Install

```bash
# Install tool
pip3 install pyanglianwater

# Install locally
just install
```

## Usage

TODO

## Development

```bash
# Get a comprehensive list of development tools
just --list
```
noirnote-cli 0.1.0
A CLI for securely fetching secrets from the NoirNote application.
License: MIT
Requires Python: >=3.8

# NoirNote CLI

The official Command Line Interface for **NoirNote**. Securely access your team's secrets, notes, and automation scripts directly from your terminal.

## Installation

Ensure you have Python 3.8+ installed.

```bash
pip install noirnote-cli
```

---

## 🚀 Quick Start (Recommended)

For developers and personal use, the recommended workflow is to use the **Interactive UI**. This provides a convenient, menu-driven interface to navigate workspaces, view notes, and execute scripts without remembering individual commands.

### 1. Authenticate
First, log in to decrypt your Master Key. Your keys are securely stored in your OS native keychain (e.g., macOS Keychain, Secret Service) for subsequent sessions.

```bash
noirnote-cli login --email you@example.com
```

### 2. Launch the UI
Once logged in, start the interactive dashboard:

```bash
noirnote-cli ui
```

---

## Command Line Reference

If you prefer direct commands or need to script specific actions, you can use the manual command interface.

### Workspace Management
Switch between your personal and team workspaces.

```bash
# List all available workspaces
noirnote-cli workspace list

# Switch to a team workspace by its name
noirnote-cli workspace use "Production SRE Team"

# Switch to your personal workspace by ID
noirnote-cli workspace use "abCdeFgHijkLmnoPqrsTuvWxYz12345"
```

### Listing Resources
```bash
noirnote-cli ls scripts   # List automation scripts
noirnote-cli ls notes     # List encrypted notes
noirnote-cli ls secrets   # List Vault secrets
```

### Retrieving Data
Retrieve and decrypt content to standard output.

```bash
# Get a note by name or ID
noirnote-cli get note "Post-Incident Review: 2025-05-10"

# Get a secret by name (Interactive mode only)
noirnote-cli get secret "Production API Token"
```

### Script Execution
Execute automation scripts stored in your NoirNote library.

```bash
# Execute a specific script by name, skipping confirmation
noirnote-cli exec --name "Restart Staging Webserver" --yes
```

---

## Unattended Mode (CI/CD)

For automated environments (like GitHub Actions or Jenkins), use **API Key authentication**.

1.  **Configure:** Stores the API key in a local configuration file.
    ```bash
    noirnote-cli configure --api-key "nak_..." --api-secret "nsk_..."
    ```

2.  **Usage:** When in API Key mode, `get secret` requires no arguments. It fetches the specific secret bound to the key and outputs **only the raw value**.
    ```bash
    # Example: Exporting a secret to an env var
    export NPM_TOKEN=$(noirnote-cli get secret)
    ```

To remove credentials (for either mode):
```bash
noirnote-cli logout
```

---

## Configuration Files

The CLI stores configuration and state in the following locations:

*   `~/.config/noirnote-cli/`: Stores CLI-specific config, including API credentials (`api_creds.json`) and the active workspace ID.
*   `~/.noirnote/`: Used by the NoirNote desktop application to store local user data. The CLI reads from this directory during the initial `login` process.
budgetnlp 0.0.3
NLP on a budget
License: MIT

# budgetnlp

This is a library to do "good enough" nlp. It is intended to be used with SEC data via the [datamule](https://github.com/john-friedman/datamule-python) library. If this ends up being useful for something else, neat!

Supports two types of data:
1. Text
2. Data Tuples. Unique data type used by the [doc2dict](https://github.com/john-friedman/doc2dict) library.

Focus:
- "good enough" quality.
- cheap.

This is designed with SEC documents (legal) in mind. Legal documents have certain structural constraints that allow shortcuts to be taken.

This library will likely start out rough, as I am not yet an expert on ML.