semvec/pypi-packages huggingface dataset:
flask-forge-cli 1.1.0
Clean Architecture scaffolding for Flask (OOP-first)
Requires Python: >=3.11

# Forge CLI

**Forge** is a command-line tool to scaffold and manage **Flask projects** with **Clean Architecture** and strict **OOP boundaries**.
It removes boilerplate, enforces best practices, and provides generators for entities, repositories, services, and controllers — all wired with a minimal DI container.

---

## ✨ Features

- 🏗️ **Single canonical template**: Clean Architecture (domain/app/infra/interfaces/shared)
- 🔒 **Strict OOP**: no functional boilerplate, clear layering
- 🧩 **Generators**: add bounded contexts, entities, repos, services, controllers, tests
- 📦 **Plugins**: OpenAPI (Smorest), JWT auth, telemetry (planned)
- ⚡ **DX polish**: Ruff + Black + pre-commit, problem+json error model, request IDs, structured logs
- 🗄️ **Database support**: SQLAlchemy + Alembic migrations
- ✅ **Tests**: scaffolded per layer (domain/app/infra/http)
- 🔧 **CLI utilities**: lint, format, db, doctor, tasks (planned)

---

## 📦 Installation

### From PyPI

```bash
pipx install flask-forge-cli
# or
pip install flask-forge-cli
```

### From source (dev mode)

```bash
git clone https://github.com/<you>/flask-forge.git
cd flask-forge
pip install -e .
```

---

## 🚀 Quickstart

```bash
# create a new clean-architecture Flask project
forge new shop
cd shop

# install dev dependencies
pip install -e ".[dev]"
cp .env.example .env

# init DB
forge db init
forge db migrate -m "init"
forge db upgrade

# run dev server
forge run dev -p 8000

# open http://localhost:8000/health
```

---

## 🧩 Generators

```bash
# bounded context
forge generate bc catalog

# entity + repo interface
forge generate entity catalog Product

# repo implementation (SQLAlchemy)
forge generate repo catalog Product --impl=sqlalchemy

# service
forge generate service catalog ProductService

# controller (Flask blueprint)
forge generate controller catalog product

# full resource across layers (+ tests)
forge generate resource catalog Product
```

---

## 🔌 Plugins

```bash
forge plugin openapi   # add OpenAPI (Smorest + Marshmallow)
forge plugin jwt       # add JWT auth endpoints
forge plugin telemetry # (planned) observability hooks
```

---

## 🧑‍💻 Developer Workflow

```bash
# lint (Ruff)
forge lint

# format (Black)
forge format

# check (Ruff + Black)
forge check

# run tests
pytest -q

# check environment
forge doctor all
```

Enable pre-commit hooks:

```bash
pre-commit install
```

---

## 📂 Project Layout (generated app)

```
src/<pkg>/
  app/            # application layer (use cases / services)
  domain/         # entities, repositories, value objects
  infra/          # db, repo impls
  interfaces/     # http controllers, api, middleware
  shared/         # config, logging, DI
  main.py         # thin bootstrap
tests/            # per-layer tests
```

---

## 📜 License

MIT © Kevin Martinez
sct2df 0.1.1
Python library for converting SCT Netlist text files to DataFrames
Requires Python: >=3.13

# sct2df

Schematic Checking Tool Netlist to DataFrame library

```py
from pathlib import Path
from sct2df.parse import (
    to_record_list
)
import pandas as pd
#import polars as pl

# where ever your file is
sct_netlist_txt_file = Path("data") / "Example_SCT_Netlist.txt"

# returns records to not enforce pandas version without reason to
record_list = to_record_list(path=sct_netlist_txt_file, symbols=["U1", "U3", "J1"])

# actually make the dataframe
dataframe = pd.DataFrame.from_records(df_record_list)

# Save it to CSV file
dataframe_path = Path("data") / "Example_SCT_Netlist.csv"
dataframe.to_csv(dataframe_path, index=False)

# Print out information (or further analysis)
print(df)
```
random-name-generator-rendev 1.0.0.1
A Python library for generating random names using vowels and consonants.
Requires Python: >=3.6

# random_name_generator_rendev

`random_name_generator_rendev` is a Python library for generating random names using a mix of vowels and consonants. The generated names may include spaces and apostrophes to simulate natural or fantasy-like names.

## Installation

Install using pip:
```bash
pip install random_name_generator_rendev
```

## Usage

```python
from random_name_generator_rendev import generate_name

name = generate_name()
print(name)
```

## Functionality

- Generates random names using uppercase and lowercase vowels and consonants.
- Names may include spaces and apostrophes for more natural or fantasy-like results.

## License

random_name_generator_rendev is licensed under the MIT License.
word-abbr 0.1.1
A simple Python library for querying common abbreviations of English words.
Requires Python: >=3.8

# word-abbr

A simple Python library for querying common abbreviations of English words.

## Funtions

- Query abbreviations of words (e.g., application → app)
- Support command-line queries
- Support custom word abbreviations
- Built-in common word abbreviation mappings
- Rule-based general abbreviation algorithm

## Install
```bash
pip install word-abbr
```

## Use

### CMD-LINE
```
word-abbr application
```
output: app

### IN CODE
```python
from word_abbr import get_abbr

print(get_abbr("database"))  # db
```

## eneral abbreviation algorithm
### rule 1
Keep the first letter
### rule 2
Starting from the second letter, do not keep vowels
### rule 3
For consonants among l, m, n, and r: if the preceding letter is a vowel and the following letter is a consonant, do not keep them
### rule 4
Repeat the process until the abbreviation length exceeds 4 (can also be customized), then return the result
### rule 5
To be continued