semvec/pypi-packages huggingface dataset:
RemoveBgPlus 0.1.2
Python wrapper for the remove.bg API
License: MIT
Requires Python: >=3.7

RemoveBgPlus is a lightweight Python wrapper for the remove.bg API, allowing you to remove image backgrounds using local files, URLs, or base64 input.

## Installation

```bash
pip install RemoveBgPlus
```

## Usage

```python
import removebgplus

client = removebgplus.RemoveBg("your-api-key")

# From file
client.remove_from_file("input.jpg", "output_from_file.png")

# From URL
client.remove_from_url("https://example.com/image.jpg", "output_from_url.png")

# From base64 string
base64_string = "iVBORw0KGgoAAAANSUhEUgAAAAUA..."  # must be a valid image base64 string
client.remove_from_base64(base64_string, "output_from_base64.png")
```

## Features

- Supports file, URL, and base64 input
- Customizable output path (overwrites if not provided)

## License

MIT
who-calls 0.2.0
Static caller-tree explorer for Python code
License: MIT
Requires Python: >=3.11

# **who‑calls**

> *Who calls my function?* — A tiny static *caller‑tree* explorer for Python.

`who‑calls` scans a project’s source code with the built‑in `ast` module,
builds a directed call‑graph (`caller → callee`), and prints every
call‑path that can reach a target function. Output is an ASCII tree whose
nodes are **clickable file‑and‑line references** in most modern
terminals and IDEs.

```
├── main @ app/entry.py:28
│   └── orchestrate @ app/tasks/flow.py:71
│       └── do_work @ app/worker.py:42  <─ target
└── cli_entry @ app/cli.py:13
    └── do_work @ app/worker.py:42  <─ target
```

---

## ✨ Features

* **Static analysis** only – no code execution, so it’s safe to run on
  untrusted repos or in CI.
* **Clickable labels** – format `func @ path.py:LINE` so VS Code,
  PyCharm, Zed, etc. jump straight to the definition.
* **Regex‑based exclusion** – skip vendored or generated code
  (`.git`, `.venv`, `.cache`, `tests` by default).
* Detects `self.method()` / `cls.method()` calls inside classes.
* Clear error on ambiguous target names; accepts fully‑qualified
  `package.module:Class.method` style.

---

## 🚀 Installation (with UV)

```bash
uv pip install who‑calls
```

> **UV?** [uv](https://github.com/astral‑sh/uv) is a super‑fast drop‑in
> replacement for *pip* + *virtualenv*. If you prefer stock tools, replace
> `uv pip` with `pip`.

### Dev / editable install

```bash
uv venv .venv && source .venv/bin/activate
uv pip install -e .[dev]
```

---

## 🛠️ CLI usage

```bash
who‑calls <function> [OPTIONS]

Options:
  --root DIR         Project root (default: current directory)
  --exclude REGEX    Regex of paths to ignore (default: \\ .git | .venv | .cache | tests)
```

Examples:

```bash
# show who can reach do_work()
who‑calls do_work

# fully‑qualified target
who‑calls app.worker.do_work

# scan ./src and ignore build folder
who‑calls process_order --root src --exclude "build|dist"
```

If the short name matches multiple symbols you’ll get:

```
⚠ Ambiguous function name. Matches:
  • app.utils.filters:create_filter
  • app.api.v1.picking_filters.queries:create_filter
Please specify full path like <module>.<func> or <module>.<Class>.<method>.
```

---

## 🔍 How it works (high‑level)

1. Recursively collect `*.py` files below `--root`, apply `--exclude`.
2. Parse each file with `ast.parse`.
3. Record every `FunctionDef` / `AsyncFunctionDef` with a fully‑qualified
   dotted name (`pkg.mod.Class.func`).
4. Discover call edges:

   * `foo()` → unique match by name.
   * `self.foo()` / `cls.foo()` → method on same class.
   * `obj.foo()` → falls back to unique global match.
5. Build a `networkx.DiGraph`, reverse it, keep only ancestors that can
   reach the target, then pretty‑print.

---

## 📦 Project structure

```
who‑calls/
├── pyproject.toml          # uv build backend
└── who_calls/
    ├── __init__.py         # exposes who_calls.main
    └── cli.py              # core logic (ast + networkx)
```

---

## 🖋️ License

MIT © 2025  *janbjorge*
ezfetch 1.0.5
A fast, cross-platform terminal system info tool written in Python (like neofetch)
License: MIT
Requires Python: >=3.6
Keywords: neofetch, system-info, cli, terminal, fetch

# ezfetch

[![PyPI version](https://badge.fury.io/py/ezfetch.svg)](https://badge.fury.io/py/ezfetch)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

A simple and efficient Python package to fetch data from the web with ease.

---

## Features

- Easy-to-use API for HTTP requests
- Supports GET, POST, PUT, DELETE methods
- Handles JSON and text responses
- Customizable headers and timeouts
- Lightweight and dependency-free

---

## Installation

Install `ezfetch` from PyPI:

```bash
pip install ezfetch
```

---

## Usage

### In Your Terminal

```
ezfetch
```


## Contributing

Contributions are welcome! Please open issues or submit pull requests.

---

## License

This project is licensed under the MIT License.

---

## Links

- [PyPI](https://pypi.org/project/ezfetch/)
- [GitHub](https://github.com/yokaimsi/ezfetch)
simple-xml-to-json 0.0.2
A simple xml to json converter
License: MIT

This Python script provides a simple way to work with XML files.

Key Features:

Element Class:
Represents an XML element and provides a toDict method to convert it into a Python dictionary.

XmlDocument Class:
Represents an entire XML document. It allows you to:

- Load XML from a file or a string.
- Dump the XML document as a string.
- Get the XML document as bytes.
- Iterate through all elements in the document.
- Convert the XML document to a Python dictionary.
- Convert the XML document to a JSON string with optional indentation.

Example Usage:

```python
from simple_xml_to_json import XmlDocument
# Load an XML file named example.xml
doc = XmlDocument(filename='example.xml')

# Convert the XML to a JSON string with indenting for readability
json_str = doc.toJson(indent=4)

# Save the JSON string to a file named example.json
with open('example.json', 'w') as f:
    f.write(json_str)
```
v3cap 0.0.3
reCAPTCHA v3 solver package
License: MIT
Requires Python: >=3.10

# v3cap

<div align="center">

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/) [![PyPI version](https://badge.fury.io/py/v3cap.svg)](https://badge.fury.io/py/v3cap) [![PyPI Downloads](https://static.pepy.tech/badge/v3cap)](https://pepy.tech/projects/v3cap)

</div>

Solve reCAPTCHA v3 challenges automatically - Python package with API support.

## ⚡ Installation
```bash
pip install v3cap
```

## 🚀 Usage

### Python Package
```python
from v3cap import get_recaptcha_token

token = get_recaptcha_token(
    site_key="6LcwvFgrAAAAAG5UjzyiOkNe-3ekjPHJv0FUzeVy",
    page_url="https://demo-v3cap.vercel.app",
    action="demo/v3cap"
)
print(token)
```

### API Server
```bash
# Start server
v3cap

# Alternative
python -m v3cap
```
Server runs on http://0.0.0.0:8000

### API Endpoints
- `POST /solve_recaptcha/`
  - Parameters: `site_key`, `page_url`, `action`
  - Returns: JSON with token

### Docker
```bash
docker build -t v3cap .
docker run -p 8000:8000 v3cap
```

## 📋 Requirements
- Python 3.10+
- Chrome
- ChromeDriver

## ⚠️ Disclaimer
This tool is intended for educational and testing purposes only. Using this tool to circumvent reCAPTCHA on websites may violate their terms of service. Users are responsible for ensuring they have proper authorization to use this tool on any website. The author takes no responsibility for misuse of this software.

## 📄 License
MIT
contentgenius 1.1
This package contains implementation of an AI-powered content analysis tool.
License: MIT

# contentgenius: AI-powered content analysis tool

## Overview

`contentgenius` is an AI-powered content analysis tool designed to help users understand and improve their content. It leverages state-of-the-art natural language processing (NLP) techniques to provide insights into various aspects of text, such as sentiment, topic, style, and readability.

## Features

*   Analyze PDF content
*   Analyze text content
*   Analyze CSV content
*   Analyze PowerPoint content
*   Analyze YouTube videos
*   Analyze web pages
*   Analyze chat logs
*   Analyze source code files
*   Analyze software packages
*   Analyze MP3 audio files

## Installation

To install `contentgenius`, follow these steps:

1.  Clone the repository:

```bash
git clone <repository_url>
```

2.  Navigate to the project directory:

```bash
cd contentgenius
```

3.  Create a virtual environment (recommended):

```bash
python3 -m venv venv
```

4.  Activate the virtual environment:

```bash
source venv/bin/activate
```

5.  Install the dependencies:

```bash
pip install -r requirements.txt
```

## Usage

To use `contentgenius`, run the main script with the desired options:

```bash
python3 main.py <mode> --input <input_file> --prompt <prompt> --output <output_file>
```

*   `<mode>`: The mode of analysis (e.g., `analyze-pdf`, `analyze-text`, etc.).
*   `--input`: Path to the input text file.
*   `--prompt`: The prompt/question to be asked to the LLM.
*   `--output`: Path to the output text file.

Example:

```bash
python3 main.py --input input.txt --prompt "What is the main idea ot the text?" --output output.txt
```

## Configuration

`contentgenius` can be configured using a configuration file. The default configuration file is `config.yaml`. You can modify this file to customize the behavior of the tool.

## Contributing

We welcome contributions to `contentgenius`! If you'd like to contribute, please follow these steps:

1.  Fork the repository.
2.  Create a new branch for your feature or bug fix.
3.  Implement your changes.
4.  Write tests for your changes.
5.  Submit a pull request.
tree-sitter-glsl37 0.2.0
Glsl grammar for tree-sitter
License: MIT
Requires Python: >=3.7
Keywords: incremental, parsing, tree-sitter, glsl

tree-sitter-glsl
==================

[![CI][ci]](https://github.com/tree-sitter-grammars/tree-sitter-glsl/actions/workflows/ci.yml)
[![discord][discord]](https://discord.gg/w7nTvsVJhm)
[![matrix][matrix]](https://matrix.to/#/#tree-sitter-chat:matrix.org)
[![npm][npm]](https://www.npmjs.com/package/tree-sitter-glsl)
[![crates][crates]](https://crates.io/crates/tree-sitter-glsl)
[![pypi][pypi]](https://pypi.org/project/tree-sitter-glsl)

This is a extension of [tree-sitter-c](https://github.com/tree-sitter/tree-sitter-c) to support
the syntax of GLSL (https://www.khronos.org/opengl/wiki/Core_Language_(GLSL)).

[ci]: https://img.shields.io/github/actions/workflow/status/tree-sitter-grammars/tree-sitter-glsl/ci.yml?logo=github&label=CI
[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=discord
[matrix]: https://img.shields.io/matrix/tree-sitter-chat%3Amatrix.org?logo=matrix&label=matrix
[npm]: https://img.shields.io/npm/v/tree-sitter-glsl?logo=npm
[crates]: https://img.shields.io/crates/v/tree-sitter-glsl?logo=rust
[pypi]: https://img.shields.io/pypi/v/tree-sitter-glsl?logo=pypi&logoColor=ffd242