arg-kiss

v0.1.8 safe
4.0
Medium Risk

arg-kiss — Keep It Stupidly Simple CLI builder on top of argparse

🤖 AI Analysis

Final verdict: SAFE

The package appears safe with no detected malicious activities such as network calls, shell executions, or obfuscations. However, the maintainer's novelty and lack of community engagement slightly increase the metadata risk.

  • No network calls detected
  • Low shell risk
  • Maintainer seems new and has low community engagement
Per-check LLM notes
  • Network: No network calls detected, which is normal for a package focused on command-line argument parsing.
  • Shell: No shell execution patterns detected, aligning with the expected behavior for a package aimed at simplifying argument handling.
  • Obfuscation: No obfuscation patterns detected, indicating low risk.
  • Credentials: No credential harvesting patterns detected, indicating low risk.
  • Metadata: The maintainer seems new and the repository lacks community engagement.

📦 Package Quality Overall: Low (3.4/10)

○ Low Test Suite 1.0

No test suite detected

  • No test files or test-runner configuration detected
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://github.com/Fkernel653/arg-kiss#readme
  • Detailed PyPI description (6147 chars)
○ Low Contributing Guide 2.0

No contributing guide or governance files found

  • No CONTRIBUTING, CODE_OF_CONDUCT, or governance files found
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 10 type-annotated function signatures detected in source
○ Low Multiple Contributors 2.0

Single-author or unverifiable project

  • 1 unique contributor(s) across 10 commits in Fkernel653/arg-kiss
  • Single author with few commits — possibly a personal or throwaway project

🔬 Heuristic Checks

Outbound Network Calls

No suspicious network call patterns found

Code Obfuscation

No obfuscation patterns detected

Shell / Subprocess Execution

No shell execution patterns detected

Credential Harvesting

No credential harvesting patterns detected

Typosquatting

No typosquatting candidates detected

Registered Email Domain

No author email provided

Suspicious Page Links

All external links appear legitimate

Git Repository History score 2.5

Git history flags: Repository has zero stars and zero forks

  • Repository has zero stars and zero forks
Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "Fkernel653" appears to have only 1 package on PyPI (new or inactive account)
Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with arg-kiss
Create a simple yet useful command-line utility called 'FileSorter' using the 'arg-kiss' Python package. This tool will help users sort files in a directory based on various criteria such as file size, date modified, and extension. The goal is to demonstrate the simplicity and effectiveness of 'arg-kiss' for building command-line interfaces (CLIs).

### Project Overview
- **Name:** FileSorter
- **Purpose:** Sort files in a directory based on user-defined criteria.
- **Features:**
  - List all files in a given directory.
  - Sort files by size (smallest to largest or vice versa).
  - Sort files by date modified (oldest to newest or vice versa).
  - Filter files by file extension (e.g., only .txt files).
  - Display basic information about each file (name, size, last modified date).

### Steps to Build the Application
1. **Setup Environment:** Ensure Python 3.x is installed along with pip. Install 'arg-kiss' using pip:
   ```bash
   pip install arg-kiss
   ```
2. **Initialize Project Structure:** Create a directory named `FileSorter` and within it, create a file named `main.py`. This will be the main entry point of your application.
3. **Define CLI Options:** Use 'arg-kiss' to define command-line options for sorting files. For example, you could have options like `--sort-by`, `--filter-ext`, and `--directory`.
4. **Implement Sorting Logic:** Write functions to handle sorting based on different criteria (size, date, extension). These functions should read the directory specified by the user and then sort the files accordingly.
5. **Display Results:** After sorting, display the sorted list of files in a readable format. Include details such as file name, size, and last modified date.
6. **Test Your Application:** Test the application thoroughly by running it with different parameters to ensure it behaves as expected under various conditions.
7. **Documentation:** Write a README.md file explaining how to use the application, including examples of commands and expected output.

### Example Usage
- To list all files in a directory:
  ```bash
  python main.py --directory /path/to/directory
  ```
- To sort files by size:
  ```bash
  python main.py --directory /path/to/directory --sort-by size
  ```
- To filter files by extension:
  ```bash
  python main.py --directory /path/to/directory --filter-ext .txt
  ```

By following these steps, you'll create a practical and easy-to-use command-line utility that showcases the power of 'arg-kiss' for developing simple but effective CLIs.