semvec/pypi-packages huggingface dataset:
pyleetpatterns 0.1.4
Master 14 essential algorithmic patterns with drop-in Python implementations for LeetCode and coding interviews
License: MIT
Requires Python: >=3.7
Keywords: leetcode, algorithms, patterns, interview, coding, data-structures

# PyLeetPatterns

Master 14 essential algorithmic patterns with drop-in Python implementations for LeetCode and coding interviews.

### Production

```bash
pip install . # This installs the package normally into your Python environment.
```

## Development

### Setup

```bash
git clone https://github.com/yourusername/pyleetpatterns.git
cd pyleetpatterns
python3 -m venv .venv
source .venv/bin/activate
pip install -e . # This installs the package in "editable" mode, so changes tothe code are immediately reflected without reinstalling.

# or

pip install -e ".[dev]" # This installs the package in editable mode along with development tools (pytest, black, flake8, mypy).
```

The [dev] packages are already defined in the setup.py
file. Look at lines 30-37:

```py
extras_require={
  "dev": [
      "pytest>=7.0",
      "black>=22.0",
      "flake8>=4.0",
      "mypy>=0.900",
  ]
},
```

This extras_require section in setup.py defines optional
dependencies. When you run:

```bash
pip install -e ".[dev]"
```

It will install:

1. The package itself in editable mode (-e .)
2. PLUS all the packages listed under the "dev" key:

- pytest (for testing)
- black (for code formatting)
- flake8 (for linting)
- mypy (for type checking)

You can add more development dependencies to this list if
needed. For example:

```py
extras_require={
  "dev": [
      "pytest>=7.0",
      "black>=22.0",
      "flake8>=4.0",
      "mypy>=0.900",
      "ipython>=8.0",  # for interactive debugging
      "pre-commit>=2.0",  # for git hooks
  ]
},
```

You could also define other optional dependency groups like:

```py
extras_require={
  "dev": [...],
  "docs": ["sphinx>=4.0", "sphinx-rtd-theme"],
  "viz": ["matplotlib>=3.0", "networkx>=2.0"],
}
```

Then install them with pip install -e ".[docs]" or pip
install -e ".[dev,docs]" for multiple groups.

### Testing

```bash
pytest
```

## Installation

```bash
pip install pyleetpatterns
```

## Quick Start

```python
from pyleetpatterns import PrefixSum, TwoPointers, SlidingWindow

# Example usage
ps = PrefixSum([1, 2, 3, 4, 5])
result = ps.range_sum(1, 3)  # Sum from index 1 to 3
```

See full documentation in `leetcode-patterns-readme.md`
hera-filters 0.1.7
Underlying filtering methods for 21cm analysis.
License: MIT
Requires Python: >=3.8

# hera_filters -- Core foreground filtering functionality for 21cm analysis.
Underlying filtering methods for 21cm analysis with minimal dependancies. This repository is meant to deprecate https://github.com/HERA-Team/uvtools/blob/main/uvtools/dspec.py
cla-framework 0.1.0
Confidence-based Learning with Abstention (CLA) framework for interpretable ML
License: MIT
Requires Python: >=3.9

# CLA Framework

[![PyPI version](https://badge.fury.io/py/cla-framework.svg)](https://pypi.org/project/cla-framework/)
[![Python Versions](https://img.shields.io/pypi/pyversions/cla-framework.svg)](https://pypi.org/project/cla-framework/)
[![License](https://img.shields.io/github/license/your-username/cla-framework.svg)](LICENSE)

Framework untuk **Collaborative Learning with Abstention (CLA)** yang menyediakan:
- Engine untuk menjalankan CLA
- Threshold agreement policy
- Linear contribution explainer
- Evaluasi kalibrasi (ECE, Brier Score, Coverage, Overconfident Error Rate)
- Visualisasi calibration curve & reliability diagram

---

## 🚀 Instalasi

Dari **PyPI**:

```bash
pip install cla-framework