semvec/pypi-packages huggingface dataset:
pyenvplus 0.0.1
A lightweight Python package for managing environment variables with advanced features.
License: MIT
Requires Python: >=3.6

# envplus

**envplus** is a lightweight Python package for managing environment variables with advanced features like type conversion, auto validation, hot reloading, and alias support.

## Features

- **Type Casting**: Easily cast environment variables to `str`, `int`, `float`, `bool`, `list`, and `json`.
- **Auto Validation**: Detect missing keys and invalid types with clear error messages.
- **Hot Reload**: Automatically reload values when `.env` file changes (lazy reload).
- **Alias Support**: Fallback to alternative keys if the primary key is missing.
- **Strict Mode**: Enforce presence of required variables.
- **Default Values**: Safe handling of defaults.
- **Debug Console**: Inspect loaded variables.

## Installation

```bash
pip install envplus
```

## Usage

### Basic Usage

Create a `.env` file:

```ini
APP_ENV=development
DEBUG=true
PORT=8080
ALLOWED_HOSTS=localhost,127.0.0.1
DB_CONFIG={"host": "localhost", "port": 5432}
```

Use `envplus` in your code:

```python
from envplus import Env

env = Env()

# Read values with type casting
mode = env.str("APP_ENV")
debug = env.bool("DEBUG")
port = env.int("PORT")
hosts = env.list("ALLOWED_HOSTS")
db_config = env.json("DB_CONFIG")

print(f"Mode: {mode}, Debug: {debug}, Port: {port}")
print(f"Hosts: {hosts}")
print(f"DB Config: {db_config}")
```

### Strict Mode

Enable strict mode to raise errors for missing variables without defaults.

```python
env = Env(strict=True)

# Raises MissingEnvError if API_KEY is missing
api_key = env.str("API_KEY")

# Safe with default
api_key = env.str("API_KEY", default="secret")
```

### Aliases

Support legacy or alternative environment variable names.

```python
# Tries DATABASE_URL first, then DB_URL
db_url = env.alias(["DATABASE_URL", "DB_URL"])
```

### Debugging

Print all loaded environment variables (masked values not implemented yet, be careful in production!).

```python
env.debug()
```

## Development Setup

1. Clone the repository.
2. Install dependencies:
   ```bash
   pip install -e .[dev]
   ```
3. Run tests:
   ```bash
   pytest
   ```

## License

MIT
wavelet-transform-contracts 1.0.5
Protobuf contracts for WaveletTransform services
License: MIT
Requires Python: >=3.8

# WaveletTransform Contracts (Python)

Protobuf contracts for WaveletTransform services.

## Installation

```bash
pip install wavelet-transform-contracts
```

## Usage

```python
from wavelet_transform_contracts import your_service_pb2
from wavelet_transform_contracts import your_service_pb2_grpc
```

## Description

This package contains the Protocol Buffer definitions for the WaveletTransform service, allowing Python applications to communicate with .NET services using gRPC.
seculint 0.3.1
Local secret & privacy leak scanner with optional AI verification
License: MIT
Requires Python: >=3.10
Keywords: security, secrets, scanner, lint, ai, devsecops

<p align="center">
  <a href="https://pypi.org/project/seculint/">
    <img src="https://img.shields.io/pypi/v/seculint?color=blue&label=PyPI%20Version&style=for-the-badge">
  </a>
  <a href="https://pypi.org/project/seculint/">
    <img src="https://img.shields.io/pypi/dm/seculint?color=blueviolet&style=for-the-badge">
  </a>
  <img src="https://img.shields.io/pypi/l/seculint?style=for-the-badge">
  <img src="https://img.shields.io/pypi/pyversions/seculint?style=for-the-badge">
</p>

<h1 align="center">🔒 SecuLint — Secret & Privacy Leak Scanner</h1>
<p align="center"><strong>Version 0.3.0 — New filters, debugging tools, JSON reporting & pattern configs!</strong></p>

--- 

## 📦 Installation

```bash
pip install seculint
```

Run a quick scan:

```bash
seculint --path .
```

Enable AI mode:

```bash
seculint --path . --enable-ai
```

---

# 📝 What is SecuLint?

SecuLint is a fast, offline-first secret & privacy leak scanner detecting:

- Hard-coded credentials
- API keys & OAuth tokens
- JWTs, bearer tokens
- Database passwords & URIs
- Private keys (RSA/PEM)
- Personal data

Outputs include: terminal, JSON reports, HTML reports, and optional AI verification.

---

# 🚀 Key Features

- Recursive scanning  
- JSON/HTML outputs  
- AI-based verification  
- Custom pattern configs  
- Changed-only scanning  
- Debug ignore mode  
- Extension filtering  
- Fast & offline  

---

# 🛠️ CLI Arguments

Includes:

- --path
- --enable-ai
- --changed-only
- --debug-ignore
- --include-ext
- --exclude-ext
- --max-size
- --config
- --json-report

---

# 🧩 Pattern Config Example

```json
{
  "patterns": {
    "AWS_SECRET_KEY": { "enabled": true, "severity": "HIGH" },
    "PRIVATE_KEY": { "enabled": true, "severity": "CRITICAL" }
  }
}
```

---

# 📊 JSON Report Example

```bash
seculint --path . --json-report reports/findings.json
```

---

# 🧪 Example Full Command

```bash
seculint --path .   --include-ext .py .json   --exclude-ext .log   --changed-only   --debug-ignore   --config config/patterns.json   --json-report reports/findings.json   --enable-ai
```

---

# 🗂️ Recommended .seculintignore

```
venv/
dist/
build/
__pycache__/
*.log
*.cache/
node_modules/
```
---

# 📚 Version History

- v0.3.0 — Added filters, JSON reports, config engine, debug-ignore  
- v0.2.0 — Added AI mode  
- v0.1.0 — Initial release  

---

# License

MIT License.