semvec/pypi-packages huggingface dataset:
aiosonic_request 0.0.1
aiosonic request extension.
License: MIT
Requires Python: <4.0,>=3.12
Keywords: aiosonic, request

# aiosonic request extension.

## Installation

You can install via [pypi](https://pypi.org/project/aiosonic_request/)

```console
pip install -U aiosonic_request
```

## Usage

```python
from aiosonic_request import request
```
copyfiles-cli 0.1.8
Generate a copyfiles.txt containing project tree + file contents.
License: MIT
Requires Python: >=3.8
Keywords: llm, context, project-tree, cli

# copyfiles-cli

**copyfiles-cli** is a tiny CLI that scans a project, respects `.gitignore`-style rules, and produces a single **`copyfiles.txt`** with:

- an indented **project tree**, and
- each kept **file’s contents** (wrapped in language-tagged code fences).

Perfect for pasting clean, complete context into LLMs or sharing a compact code snapshot.

---

## Installation

```bash
pip install copyfiles-cli
# CLI command is `copyfiles`
```

> Requires **Python 3.8+**

---

## Quick Start

```bash
# From your project root
copyfiles

# Writes ./copyfiles.txt (tree + file contents)
```

---

## Options (short & sweet)

| Flag              |         Default | What it does                                               |
| ----------------- | --------------: | ---------------------------------------------------------- |
| `--root PATH`     |             `.` | Directory to scan.                                         |
| `--out FILE`      | `copyfiles.txt` | Output file path.                                          |
| `--config FILE`   |               – | Extra ignore patterns (one per line, `.gitignore` syntax). |
| `--max-bytes N`   |        `100000` | Truncate each file after N bytes.                          |
| `--skip-large KB` |               – | Skip files larger than **KB** kilobytes entirely.          |
| `-v, --verbose`   |             off | Show scanning/filtering progress.                          |
| `--no-color`      |             off | Disable colored output (or set `NO_COLOR=1`).              |
| `-V, --version`   |               – | Print version and exit.                                    |
| `-h, --help`      |               – | Show full help.                                            |

---

## Examples

```bash
# Minimal: create copyfiles.txt from current directory
copyfiles

# Different output name + lower per-file limit
copyfiles --out project.txt --max-bytes 50_000

# Skip very large binaries/logs and be chatty
copyfiles --skip-large 200 -v

# Use extra ignore rules
copyfiles --config .cfignore
```

---

## Notes

- Honors your repo’s `.gitignore` plus any patterns you add via `--config`.
- Binary files are skipped automatically.
- The output is plain Markdown so you can paste it directly into ChatGPT/Gemini/Copilot.
langchain-parallel-web 0.0.1a0
ParallelWeb integration for LangChain
License: MIT
Requires Python: <4.0,>=3.9
Keywords: langchain, parallel, web, llm, ai

# langchain-parallel-web

LangChain tool and toolkit for Parallel Web search. It exposes a tool that performs web research and returns ranked, compressed excerpts from multiple sources, plus a toolkit to easily wire it into agents.

## Installation

```bash
pip install -U langchain-parallel-web
```

Set your Parallel API key:

```bash
export PARALLEL_API_KEY="your-api-key"
```

You can also pass the key directly to the classes shown below.

## Tool: Parallel Web Search

`ParallelWebTool` exposes the Parallel Web search as a LangChain tool.

```python
from langchain_parallel_web.tools import ParallelWebTool

# Option 1: rely on PARALLEL_API_KEY in env
tool = ParallelWebTool()

# Option 2: pass the key explicitly
# tool = ParallelWebTool(parallel_api_key="your-api-key")

result_json = tool.invoke({
    "objective": "Find when the UN was founded; prefer official sources.",
    "search_queries": [
        "United Nations founding year",
        "When was the UN founded official site"
    ],
})
print(result_json)
```

### Configuration
You can control search behavior via `ParallelWebSearchConfig`.

```python
from langchain_parallel_web.parallel_web_wrapper import ParallelWebSearchConfig
from langchain_parallel_web.tools import ParallelWebTool

config = ParallelWebSearchConfig(
    max_results=10,          # up to 40
    processor="base",        # or "pro"
    max_chars_per_result=1500
)

tool = ParallelWebTool(config=config)
```

## Toolkit: Agent Integration

`ParallelWebToolkit` returns a ready-to-use list of tools for agent setups.

```python
from langchain_parallel_web.toolkits import ParallelWebToolkit

# Pass the key explicitly for the toolkit
toolkit = ParallelWebToolkit(parallel_api_key="your-api-key")

tools = toolkit.get_tools()

# Use `tools` with your LangChain agent or runnable graph
```

## Direct API Wrapper

For lower-level control, call the wrapper directly.

```python
from langchain_parallel_web.parallel_web_wrapper import (
    ParallelWebAPIWrapper,
    ParallelWebSearchInput,
)

wrapper = ParallelWebAPIWrapper()  # uses PARALLEL_API_KEY from env
# or: wrapper = ParallelWebAPIWrapper(parallel_api_key="your-api-key")

payload = ParallelWebSearchInput(
    objective="Summarize key announcements from OpenAI DevDay 2023.",
    search_queries=["OpenAI DevDay 2023 announcements", "OpenAI DevDay keynote summary"],
)

out = wrapper.search(payload)
print(out.model_dump())
```

Async usage is supported:

```python
import asyncio
from langchain_parallel_web.parallel_web_wrapper import (
    ParallelWebAPIWrapper,
    ParallelWebSearchInput,
)

async def main():
    wrapper = ParallelWebAPIWrapper()
    out = await wrapper.asearch(
        ParallelWebSearchInput(
            objective="Latest SEC filing summary for NVDA.",
            search_queries=["NVIDIA latest 10-Q", "NVDA SEC filing"],
        )
    )
    print(out.model_dump())

asyncio.run(main())
```