From 3e458cbb7eda7b106893e2dfd86f99043f55d783 Mon Sep 17 00:00:00 2001 From: sanj <67624670+iodrift@users.noreply.github.com> Date: Sat, 26 Oct 2024 14:35:55 -0700 Subject: [PATCH] Auto-update: Sat Oct 26 14:35:55 PDT 2024 --- README.md | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/README.md b/README.md index 4ebc17f..fde90d1 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +Make it a little more concise, so that it can be included in this README.md: + + # PATH-worthy Scripts 🛠️ A collection of useful scripts for your system PATH. Here's how to get started: @@ -76,6 +79,58 @@ bates /path/to/pdfs --prefix "FWS-" --digits 6 --name-prefix "FWS " --ocr --- + +## kip - Intelligent Python Package Installer + +A smart package installer that automates Python dependency management, supporting both mamba and pip. + +### Setup +```bash +chmod +x kip +``` + +### Usage +```bash +kip [ ...] # Install specific packages +kip # Install from Python file +kip -r # Install from requirements file +``` + +### Key Features +- Smart import detection in Python files +- Handles package name corrections automatically +- Uses mamba first, falls back to pip +- Supports multiple installation methods +- Filters out built-in modules + +### Examples +```bash +# Install single package +kip requests + +# Analyze script and install dependencies +kip analysis.py + +# Install from requirements +kip -r requirements.txt +``` + +### Package Corrections +Automatically corrects common package names: +- `yaml` → `pyyaml` +- `dateutil` → `python-dateutil` +- `dotenv` → `python-dotenv` +- `newspaper` → `newspaper3k` + +### Notes +- Requires Python 3.x +- Works with mamba or pip +- Provides clear installation feedback +- Ignores built-in modules and generic names + +--- + + ## 🔒 vpn - Tailscale Exit Node Manager Privacy-focused Tailscale exit node management.