semvec/pypi-packages huggingface dataset:
pathxio 0.2.0
Safe, predictable filesystem operations for Python.
Requires Python: >=3.8
Keywords: filesystem, file, path, safe, undo, copy, move, remove, async, cli

# Pathxio

**Safe, predictable filesystem operations for Python.**

Pathxio is a small, safety-first wrapper around common file operations like copy, move, and delete.
It helps you avoid destructive mistakes by making safe behavior the default.

---

## Why Pathx?

Python’s built-in filesystem tools (os, shutil) are powerful but easy to misuse:

- Overwrites happen silently
- Deletes are irreversible
- APIs are inconsistent
- Safety checks are manual

Pathxio flips that around.
If an operation looks dangerous, it fails loudly.

---

## Installation

    pip install pathxio

---

## Quick Start

### Safe Copy

    from pathxio import copy

    copy("src/", "dst/")

- Copies files or directories
- Fails if destination already exists
- Raises clear, readable errors

---

### Safe Move

    from pathxio import move

    move("old/", "new/")

- No overwrite by default
- Uses atomic moves when possible
- Explicit failure on unsafe operations

---

### Guarded Delete

    from pathxio import remove

    remove("build/")

By default, Pathx refuses to delete:
- root directories
- home directories
- non-empty directories

To force deletion:

    remove("build/", force=True)

---

### Dry Run Mode

Preview what would happen without touching the filesystem:

    copy("src/", "dst/", dry_run=True)

Returns a list of planned operations instead of executing them.

---

## API (MVP)

    copy(src, dst, *, dry_run=False)
    move(src, dst, *, dry_run=False)
    remove(path, *, force=False, dry_run=False)

---

## Design Principles

- Safety over convenience
- Fail fast and loudly
- No surprising defaults
- Readable exceptions over clever magic

---

## Note

- Please give me new ideas to maintain this project

## Important Notice: Remove Operations and Undo Limitations

**Undo functionality is NOT available for remove operations.**

### Why This Limitation Exists:
- **Irreversible Nature**: File deletion cannot be properly reversed without maintaining permanent backups
- **Storage Requirements**: Full file restoration would require significant storage space
- **Data Integrity**: Removing the original file makes recovery impossible without external backup systems

### Recommended Practice:
Always maintain backups of important files before performing removal operations. For critical data, implement your own backup strategy using tools like rsync, cp, or cloud storage solutions.

### Workaround for Critical Operations:
For critical files, implement your own backup strategy that creates copies before deletion, ensuring you can restore files if needed.

---

## License

MIT
aininja 0.1.3
AI Powered Assistant For Developers
Requires Python: >=3.9

# Before publishing install this
pip install setup tools wheel twine


# To build the package
python setup.py sdist bdist_wheel

code for setup.py

from setuptools import setup, find_packages

setup(
    name="aininja",
    version="0.1.1",
    packages=find_packages(),
    install_requires=[
        # Add your dependencies here
    ],
    entry_points={
        "console_scripts": [
           "jarvis=aininja:aininja"
        ], 
        },    
    author="Rajat Ratewal",
    author_email="rajat@greengroovetech.com",
    description="AI Powered Assisstant For Developers",
    long_description=open("README.md").read(),
    long_description_content_type="text/markdown"    
)

# Install the package locally
pip install dist/aininja-0.1.0-py3-none-any.whl

# Upload to pypi your package
export TWINE_USERNAME=__token__
export TWINE_PASSWORD=pypiapikey
twine upload dist/*
pydantricks 0.1.1
Faker for pydantic models.
Requires Python: >=3.10

# Pydantricks

Faker for pydantic models.



## Start simple

```python
>>> from pydantic import BaseModel
>>> from pydantricks import FieldFactory, ModelFactory
>>>
>>>
>>> class User(BaseModel):
...     username: str
...
>>>
>>> class UserFactory(ModelFactory[User]):
...     username = FieldFactory.field.user_name
...
>>> UserFactory()
User(username='qmiller')
>>> UserFactory()
User(username='harrisamanda')
>>> UserFactory()
User(username='jamesamy')
```

pydantricks support composed models as well.
precogs-cli 0.1.0
Command-line interface for Precogs AI security platform
Requires Python: >=3.8
Keywords: cli, code-analysis, devsecops, security, vulnerability

# Precogs CLI

Command-line interface for the [Precogs AI](https://precogs.ai) security platform.

## Installation

```bash
pip install precogs-cli
```

## Quick Start

```bash
# Authenticate with your API key
precogs auth login

# List your projects
precogs projects list

# Trigger a code scan
precogs scan code <project-id>

# View vulnerabilities
precogs vulns list --severity critical

# Get AI-generated fix
precogs vulns fix <vuln-id>
```

## Commands

### Authentication

```bash
# Login with API key
precogs auth login
precogs auth login --api-key pk_live_xxx

# Check auth status
precogs auth status

# Logout
precogs auth logout
```

### Projects

```bash
# List all projects
precogs projects list

# Get project details
precogs projects get <project-id>
```

### Scanning

```bash
# Code security scan (SAST)
precogs scan code <project-id>
precogs scan code <project-id> --branch develop

# Dependency scan (SCA)
precogs scan dependency <project-id>

# Infrastructure as Code scan
precogs scan iac <project-id>

# Container image scan
precogs scan container <project-id> nginx:latest
```

### Vulnerabilities

```bash
# List vulnerabilities
precogs vulns list
precogs vulns list --project <id> --severity high

# Get vulnerability details
precogs vulns get <vuln-id>

# Get AI-generated fix
precogs vulns fix <vuln-id>
```

### Dashboard

```bash
# Show security overview
precogs dashboard
precogs dashboard --project <id>
```

## Configuration

API key is stored in `~/.precogs/config.json`

You can also set the `PRECOGS_API_KEY` environment variable:

```bash
export PRECOGS_API_KEY=pk_live_xxx
```

## License

MIT License - see [LICENSE](LICENSE) for details.
pygrist-mini 2026.1.1
Minimal Grist API (document) client
Requires Python: >=3.10

# A (very) minimal API client for Grist

Currently only supports a few document operations, but enough for my purposes.

Alternative to the [official API
package](https://github.com/gristlabs/py_grist_api/), which (still)
monkeypatches the standard library for Py3 compatibility.

Also supports the [new raw-SQL endpoint](https://community.getgrist.com/t/september-2023-newsletter-calendar-widget-two-new-templates-and-api-endpoint-for-making-sql-queries/3265#sql-endpoint-3).