semvec/pypi-packages huggingface dataset:
llmprint 0.1.2
CLI tool to print directory structure and file contents for LLM context generation
Requires Python: >=3.6
Keywords: llm ai chatgpt claude directory-tree file-contents clipboard utility development tool

# llmprint

**llmprint** is a CLI tool that prints directory structures and file contents in a clean, LLM-friendly format. It's perfect for generating context when pasting into a chatbot or code assistant.

---

## 🚀 Features

- 📂 Recursively includes multiple folders
- ✂️ Skips common clutter using `.gitignore`-style rules
- 🔍 Include/exclude specific folders and files
- 🧠 Great for LLM prompt preparation, code understanding, or debugging
- 📋 Cross-platform clipboard support
- 🌟 Clean, structured output format

---

## 📦 Installation

### Option 1: Install from source

```bash
git clone https://github.com/rsh3khar/llmprint.git
cd llmprint
pip install .
```

### Option 2: Install from pip

```bash
pip install llmprint
```

---

## ⚡️ Usage

### Print Directory Structure

```bash
# Print structure of current directory
llmprint -s

# Print structure of specific directories
llmprint -s -i src/ tests/
```

### Print File Contents Recursively

```bash
# Print contents of specific directories
llmprint -i src/ tests/

# Print all files in current directory
llmprint .
```

### Exclude Specific Folders or Files

```bash
# Exclude directories while printing contents
llmprint -i . -e node_modules __pycache__

# Exclude files by pattern (use quotes to prevent shell expansion)
llmprint -i . -e "*.pyc" "*.log"
```

### Copy to Clipboard

```bash
# Copy tree structure to clipboard
llmprint -s -c

# Copy file contents to clipboard
llmprint -i src/ -c

# Copy and also print to screen
llmprint -s -c -p
```

---

## 🧠 Why use this?

When prompting an LLM with questions like:
> "Can you explain this repo to me?"  
> "What's the purpose of this function?"  
> "Can you refactor this?"

You often need to include file structure and contents. `llmprint` formats this perfectly for large-context pasting — clean, readable, and structured.

---

## 🛠 Options

| Option              | Description                                           |
|--------------------|-------------------------------------------------------|
| `-s` / `--structure` | Print directory structure only                        |
| `-i` / `--include`   | Specify folders or files to include                   |
| `-e` / `--exclude`   | Specify folders or files to exclude (use quotes for patterns, e.g., "*.pyc") |
| `-c` / `--copy`      | Copy output to clipboard (suppresses stdout)          |
| `-p` / `--print`     | Print to stdout when using --copy                     |

If no flag is provided, it defaults to printing the directory structure.

---

## 🔧 Requirements

- Python 3.6 or higher
- `pyperclip` for clipboard operations

---

## 📄 License

[MIT License](LICENSE)

---

## ✨ Author

**Raj Shekhar**  
[GitHub: @rsh3khar](https://github.com/rsh3khar)
thelightscope 0.0.1
thelightscope cybersecurity research application
Requires Python: >=3.8

---
- name: Deploy and run lightscope_core.py on host b
  hosts: b
  become: yes
  tasks:
    - name: Update apt cache
      apt:
        update_cache: yes

    - name: Install required apt packages
      apt:
        name:
          - libpcap-dev
          - python3-pip
          - python3.8-venv
        state: present

    - name: Create virtual environment in /root/here
      command: python3 -m venv /root/here
      args:
        creates: /root/here/bin/activate

    - name: Install required Python packages in the virtual environment
      pip:
        virtualenv: /root/here
        virtualenv_command: "python3 -m venv"
        name:
          - python-libpcap
          - scapy
          - psutil
          - requests
renph 1.0.0
Tool for batch renaming files by removing square brackets content
Requires Python: >=3.6

# Phren - Batch File Renamer

Tool for batch renaming files by removing square brackets content.

## Installation

```bash
pip install renph


Usage
After installation, simply run:

phren



The program will:

Show welcome message

Ask for language selection (English/Russian)

Ask for directory path

Show preview of changes

Ask for confirmation before renaming

Perform renaming operation



Features
Works on Windows 7 and Termux (Android)

Interactive interface

Shows preview before making changes

Multi-language support (English/Russian)

Preserves original filenames and extensions

Skips files if new name already exists



Examples
Before:

file 1 [abc123].txt
document [xyz789].pdf

After:

file 1.txt
document.pdf



Author
Avinion
Telegram: @akrim
Email: shizofrin@gmail.com
Twitter: https://x.com/Lanaev0li



License
MIT License © 2025 Avinion
notion2sql 0.1.1
一个将Notion数据库转换为SQL接口的工具
Requires Python: >=3.7

# Notion2SQL

一个将Notion数据库转换为SQL接口的工具，让您可以像操作传统数据库一样操作Notion页面中的数据库。

## 特性

- 将Notion数据库映射为SQL表
- 支持对Notion数据库进行CRUD操作
- 简单易用的API接口
- 支持所有Notion属性类型，包括：
  - 文本、数字、选择器、多选、日期等基本类型
  - 自增ID（unique_id类型）
  - JSON格式数据自动解析
  - 文件、人员和关系类型
  - 特殊类型处理（按钮、时间戳等）

## 安装

```bash
pip install notion2sql
```

## 使用方法

### 基本用法

```python
from notion2sql import NotionClient

# 初始化客户端
client = NotionClient(api_key="your_notion_api_key")

# 连接到Notion页面
page = client.connect_page(page_id="your_page_id")

# 获取数据库
db = page.get_database_by_name("数据库名称")

# 获取数据库信息
print(f"数据库名称: {db.name}")
print(f"列数: {db.column_count}")
print(f"行数: {db.row_count}")

# 获取列信息
columns = db.get_columns()
for col_name, col_type in columns.items():
    print(f"{col_name}: {col_type}")

# 获取样本数据
sample_data = db.get_sample_data(limit=2)
for item in sample_data:
    print(f"\n记录:")
    for key, value in item['properties'].items():
        print(f"  {key}: {value}")

# 添加新记录
new_item = db.add_item({
    "Name": "新项目",
    "选择": "选择1",
    "文本": "测试文本",
    "电话": "12345678900",
    "数字": 100,
    "复选框1": True,
    "复选框2": False,
    "多选": ["多选1", "多选2"],
    "电子邮件": "test@example.com"
})

# 查询记录
results = db.query(filter={
    "property": "Name",
    "title": {
        "equals": "新项目"
    }
})

# 更新记录
updated_item = db.update_item(
    item_id=new_item['id'],
    properties={
        "Name": "更新后的项目",
        "数字": 200,
        "复选框1": False,
        "复选框2": True
    }
)

# 删除记录
delete_result = db.delete_item(new_item['id'])
```

### 特殊类型处理

Notion2SQL会自动处理以下特殊类型：

- `unique_id`: 自增ID类型，在SQL操作中自动跳过
- `button`: 按钮类型，在SQL操作中自动跳过
- `files`: 文件类型，提供专门的文件操作方法
- `people`: 人员类型，提供专门的人员管理方法
- `last_edited_time`: 最后编辑时间，在SQL操作中自动跳过
- `created_time`: 创建时间，在SQL操作中自动跳过

### 文件操作

```python
# 获取文件列表
if "File" in item['properties']:
    files = item['properties']['File']
    print(f"文件列表: {files}")

# 下载文件
if files:
    for file in files:
        print(f"文件名: {file['name']}, URL: {file['url']}")
        # 使用requests库下载文件
        import requests
        response = requests.get(file['url'])
        with open(f"downloads/{file['name']}", 'wb') as f:
            f.write(response.content)
```

### 人员管理

```python
# 获取人员列表
if "人员" in item['properties']:
    people = item['properties']['人员']
    print(f"人员列表: {people}")
```

### SQL接口

```python
from notion2sql import NotionSQLInterface

# 创建SQL接口
sql = NotionSQLInterface(db)

# 执行SQL查询
results = sql.execute_sql("SELECT * FROM notion_data WHERE Name LIKE '%项目%'")

# 插入数据
sql.insert({"Name": "SQL插入的项目", "Status": "计划中"})

# 更新数据
sql.update(item_id="item_id_here", values={"Status": "已完成"})

# 删除数据
sql.delete(item_id="item_id_here")

# 刷新数据（从Notion同步到SQL表）
sql.refresh()
```

## 环境变量

在项目根目录创建`.env`文件，并添加以下内容：

```
NOTION_API_KEY=your_notion_integration_token
NOTION_PAGE_ID=your_page_id_here
```

## Notion API 访问设置

1. 创建Notion集成：访问 https://www.notion.so/my-integrations
2. 获取API密钥
3. 在Notion页面中，点击右上角"共享"按钮，将您的集成添加到页面中并授予"可以编辑"权限

## 依赖项

- `notion-client`: Notion API客户端
- `sqlalchemy`: SQL数据库操作
- `requests`: 文件下载功能
- `python-dotenv`: 环境变量管理

## 授权

该项目基于MIT许可证开源。
fastapi-request-helper 0.0.17
FastAPI Request Helper
Requires Python: >=3.10

# FastAPI Request helper

## How to use

1. Set a variable

```python
# user_service.py
from fastapi import FastAPI
from fastapi_global_variable import GlobalVariable

app = FastAPI(title="Application")

GlobalVariable.set('app', app)
```

2. Use variable

```python
from fastapi_global_variable import GlobalVariable

print(GlobalVariable.get_or_fail('app'))
print(GlobalVariable.get('app'))
```

3. Decorators

FastAPI Request Helper provides lots of helpful decorators:

- Swagger docs decorators: @controller, @tag, @get, @post, @put, @delete, @patch
- Rate limit request: @rate_limit
- FastAPI response model: @response
- FastAPI guards: @guard, @gurads
- FastAPI response status: @status
- FastAPI API info details: @description, @summary, @name
- FastAPI API response status: @status_no_content, @status_ok, @status_created
- Hide API: @hidden_when(condition: boolean)

Fast API Helper also provides Pagination Query params helper: PaginationParams

```python
# Sample
from fastapi_request_helper import (
    controller,
    post,
    rate_limit,
    response,
    status_created,
    status_no_content,
    status_ok,
    tag,
)

@controller('authentications')
@tag('Authentication')
class AuthenticationController:
    def __init__(self, auth_service: AuthenticationService = Depends()):
        self.auth_service = auth_service

    @post('create-email-otp')
    @status_no_content()
    async def create_email_otp(self):
        pass
```

## How to test in testpypi

1. Setup file .pypirc
```bash
$ cd ~/
```
```bash
$ vim .pypirc
```
Copy to file .pypirc
```text
[pypi]
username=****
password=****

[testpypi]
username=__token__
password=*****

[distutils]

index-servers =
  pypi
  testpypi
  gitlab

[gitlab]
repository = https://gitlab.com/api/v4/projects/50838104/packages/pypi
username = gitlab+deploy-token-3497403
password = ****
```
3. Increase the version in `pyproject.toml`
4. Run command

```bash
$ ./build_and_test.sh
```
5. install package
```bash
$ pip install --no-cache-dir --upgrade -i https://test.pypi.org/simple/ fastapi-request-helper==x.y.z --no-dependencies
$ pip install -i https://test.pypi.org/simple/ fastapi-request-helper==x.y.z
```

## How to publish new version

1. Increase the version in `pyproject.toml`
2. Run command

```bash
$ ./build_and_publish.sh
```
extension-changer 1.0.1
A cross-platform utility for batch changing file extensions
Requires Python: >=3.7
Keywords: file, extension, batch, converter, utility

# Extension Changer (extension_changer)

A cross-platform utility for batch changing file extensions with a modern Qt interface.

![Extension Changer Screenshot](https://raw.githubusercontent.com/kuroonai/exchange/main/screenshots/screenshot.png)

## Features

- Batch rename file extensions
- Option to create copies instead of renaming files
- Preview changes before executing
- Multi-processing support for faster operations
- Advanced options for CPU usage control
- Modern Qt-based interface
- Cross-platform (Windows, macOS, Linux)

## Installation

### Using pip (Recommended)

```bash
pip install extension_changer
```

### Manual Installation

```bash
git clone https://github.com/kuroonai/exchange.git
cd exchange
pip install -e .
```

## Usage

### Command Line

Once installed, you can start the application from the command line:

```bash
extension_changer
```

### Basic Workflow

1. Select a folder or individual files
2. Choose the source extension from the dropdown
3. Specify the target extension
4. Optionally, check "Keep original files" to create copies
5. Click "Preview" to see the changes before applying
6. Click "Convert" to execute the extension change

### Advanced Options

- **Use multiprocessing**: Enable for faster processing of many files
- **CPU cores to use**: Control how many CPU cores to dedicate to the task

## Development

### Requirements

- Python 3.7+
- PySide6 (or PyQt6)

### Setup Development Environment

```bash
git clone https://github.com/kuroonai/exchange.git
cd exchange
pip install -e .
```

## Author

Created by Naveen Vasudevan ([@kuroonai](https://github.com/kuroonai))

## Building from Source

See [BUILDING.md](BUILDING.md) for instructions on building standalone executables for Windows, macOS, and Linux.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.