semvec/pypi-packages huggingface dataset:
gk6 2.0.12
Postman to k6 converter
License: MIT
Requires Python: <4.0,>=3.9
Keywords: postman, k6, converter

# ⚡ gk6 – Generate k6 Load Tests from Postman Collections

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](/LICENSE)
[![Python](https://img.shields.io/badge/Python-3.8%2B-blue)](https://www.python.org/)
[![Docs](https://img.shields.io/badge/Docs-GitHub%20Pages-blue)](https://gopikrishna4595.github.io/gk6/)

**gk6** is a Python CLI tool that converts Postman collections into dynamic [k6](https://k6.io) performance testing scripts — with support for chaining variables, environment parsing, automated metrics, and HTML reporting. Built to automate what you shouldn’t have to hand-code.

---

## 🎯 Why gk6?

If you use Postman for API testing and k6 for performance testing, this tool connects the dots:

- ✅ No need to rewrite each request manually
- 🔁 It respects your chaining logic (`pm.environment.set`)
- 🌐 Supports environments and headers out of the box
- 📊 Visibility with built-in checks and trend metrics

---

## ✅ Features

- ✅ Converts any Postman Collection to a runnable k6 script
- ✅ Supports `GET`, `POST`, `PUT`, `DELETE` methods
- 🔄 Recognizes and converts environment variables (`{{var}}`)
- 🔁 Detects request chaining via `pm.environment.set()`
- 📊 Auto-generates `Trend` metrics and `check()` assertions
- 🖥 CLI-friendly with `argparse`
- 📄 Optional `.env` and HTML summary output with `k6-reporter`

---

## 🧱 Limitations

* ❗ Currently supports only `pm.environment.set()` for chaining — `pm.variables.set()` is not yet handled.
* ⚠️ Does not parse pre-request scripts or tests written in advanced Postman JavaScript.
* 🔒 Sensitive auth flows (e.g., OAuth2 with token rotation) require manual setup.
* 📄 HTML reporting requires `k6-reporter` installed and configured separately.
* 📦 Limited to JSON-based Postman collections (v2.1+).

---

## 🚀 Quick Start

### 1. Install

No extra packages needed — just Python 3.8+ and [k6](https://k6.io/docs/getting-started/installation)

```bash
pip install poetry
poetry install
```

### 2. Run the CLI

```bash
poetry run gk6 --help
```

Convert a Postman collection and environment:

```bash
poetry run gk6 convert --collection postman.json --env environment.json
```

---

## 🛠 Development

### Local Dev Commands

```bash
make test          # Run unit tests
make lint          # Run all linters
make format        # Apply black, isort formatting
make release       # Bump version and tag release
```

### GitHub Actions

Includes CI for:

* ✅ Linting (black, ruff)
* ✅ Type checking (mypy)
* ✅ Security scan (bandit, detect-secrets)
* ✅ Version bump & release tagging


---

## 🔗 Links

* 📄 [Live Docs on GitHub Pages](https://gopikrishna4595.github.io/gk6/)
* 🐙 [Project Repo](https://github.com/gopikrishna4595/gk6)
* ⚙️ [k6 Docs](https://k6.io/docs/)
* 🧪 [Postman Docs](https://learning.postman.com/docs/)

---

## 📄 License

MIT License — see the [LICENSE](LICENSE) file for full text.
p189sign 0.0.10
189 web disk signature.
License: MIT
Requires Python: <4.0,>=3.12
Keywords: python-189, signature

# 天翼网盘（cloud.189.cn）签名

## 安装

你可以通过 [pypi](https://pypi.org/project/p189sign/) 安装

```console
pip install -U p189sign
```

## 用法

```python
from p189sign import *
```
ragkitx 0.1.5
Modular RAG toolkit
License: MIT
Requires Python: >=3.9

# ragkit

**Modular RAG toolkit** – A flexible and pluggable framework for Retrieval-Augmented Generation (RAG) workflows.

## Features

- Plug-and-play architecture for embedding models and vector stores
- Support for hybrid search (vector + keyword)
- Extensible design with Pydantic models
- Qdrant vector store support
- OpenAI and SentenceTransformer embedding

## Installation

```bash
pip install ragkit


## Usage

```python
from ragkit.search import DocumentSearchService
from ragkit.embedding import OpenAIEmbedder
from ragkit.vectorstore import QdrantVectorStore

# Initialize components
embedder = OpenAIEmbedder(api_key="your-openai-api-key")
store = QdrantVectorStore(vector_size=1536)

search_service = DocumentSearchService(embedder, store)

# Perform search
results = search_service.search("Tell me about vector databases")
```
pinescript-syntax-checker 0.1.0
A Model Context Protocol (MCP) server for checking PineScript syntax using TradingView's API
License: MIT
Requires Python: >=3.10
Keywords: mcp, pinescript, syntax-checker, trading, tradingview

# PineScript Syntax Checker MCP Server

A Model Context Protocol (MCP) server for checking PineScript syntax using TradingView's API.

## Features

- Check PineScript syntax using TradingView's official API
- MCP-compatible server with httpx for async HTTP requests
- Detailed error reporting with line and column information

## Quick Start

### Option 1: Using uvx (Recommended)

```bash
# Install and run directly
uvx pinescript-syntax-checker

# Or install first, then run
uvx install pinescript-syntax-checker
uvx run pinescript-syntax-checker
```

### Option 2: Using uv

```bash
# Clone and run
git clone https://github.com/erevus-cn/pinescript-syntax-checker.git
cd pinescript-syntax-checker
uv sync
uv run python run_server.py
```

### Option 3: Using pip

```bash
# Install from PyPI
pip install pinescript-syntax-checker

# Run directly
pinescript-syntax-checker

# Or as module
python -m pinescript_syntax_checker.server
```

## MCP Integration

### Install MCP Server

```bash
# If using uvx
uvx pinescript-syntax-checker --mcp-install

# If using local development
uv run mcp install run_server.py
```

### Configure in Cursor

#### Method 1: No Configuration Required (Recommended)

After installing with `uvx`, the server will be automatically available in Cursor.

#### Method 2: Manual Configuration

If you need manual configuration:

1. **Open Cursor Settings**:
   - Press `Cmd+,` (macOS) or `Ctrl+,` (Windows/Linux)
   - Go to "Extensions" → "MCP"

2. **Add Server Configuration**:
   ```json
   {
     "mcpServers": {
       "pinescript-syntax-checker": {
         "command": "python",
         "args": ["-m", "pinescript_syntax_checker.server"]
       }
     }
   }
   ```

3. **Restart Cursor** to load the MCP server

## API

### check_syntax

Checks PineScript syntax using TradingView's API.

**Parameters:**
- `pine_code` (str): The PineScript code to check

## Example

**Input:**
```pinescript
//@version=5
strategy("Test")
plot(close)
```

**Output:**
```json
{
  "success": true,
  "result": {
    "variables": [],
    "functions": [],
    "types": [],
    "enums": [],
    "scopes": []
  }
}
```

## License

MIT License
elevate-updated 0.1.5
Python library for requesting root privileges
License: MIT

Elevate: Request root privileges
================================

Elevate is a small Python library that re-launches the current process with
root/admin privileges using one of the following mechanisms:

- UAC (Windows)
- AppleScript (macOS)
- ``pkexec``, ``gksudo`` or ``kdesudo`` (Linux)
- ``sudo`` (Linux, macOS)

Usage
-----

To use, call ``elevate.elevate()`` early in your script. When run as root this
function does nothing. When not run as root, this function replaces the current
process (Linux, macOS) or creates a new process, waits, and exits (Windows).
Consider the following example:

.. code-block:: python

    import os
    from elevate import elevate

    def is_root():
        return os.getuid() == 0

    print("before ", is_root())
    elevate()
    print("after ", is_root())

This prints::

    before False
    before True
    after True

On Windows, the new process's standard streams are not attached to the parent,
which is an inherent limitation of UAC. By default the new process runs in a
new console window. To suppress this window, use
``elevate(show_console=False)``.

On Linux and macOS, graphical prompts are tried before ``sudo`` by default. To
prevent graphical prompts, use ``elevate(graphical=False)``.
Punjabi-inflections 0.1.2
A package for Punjabi verb forms and inflection rules
License: MIT
Requires Python: >=3.6

# Punjabi Verb Forms

![PyPI](https://img.shields.io/pypi/v/Punjabi-inflections
![Downloads](https://img.shields.io/pypi/dm/Punjabi-inflections)
![Python Versions](https://img.shields.io/pypi/pyversions/Punjabi-inflections)
![License](https://img.shields.io/pypi/l/Punjabi-inflections)

> A Python package for generating inflections of Punjabi verbs written in Shahmukhi script.

---

## 🚀 Installation

```bash
pip install Punjabi-inflections
DateTimeEnhanced 0.1.0
DateTimeEnhanced is a lightweight Python utility class that simplifies working with dates and times. It provides enhanced formatting, week-day indexing, and easy retrieval of structured date/time information.
License: MIT
Requires Python: >=3.11

# DateTimeEnhanced

`DateTimeEnhanced` is a lightweight Python utility class that simplifies working with dates and times. It provides enhanced formatting, week-day indexing, and easy retrieval of structured date/time information.

## Installation

Install via pip:

```bash
pip install DateTimeEnhanced
```

## API Reference
#### DateTimeEnhanced()
```bash
Initializes a new instance of the class.
```
#### today(first_day_of_week: Literal["sunday", "monday", "iso"])
```bash
Sets the internal state to the current date and time, considering the specified start of the week.
```
#### last_n_day(last_n_day: int, first_day_of_week: Literal["sunday", "monday", "iso"])
```bash
Sets the date to a past day, n days before today.
```
#### last_n_week(last_n_week: int, first_day_of_week: Literal["sunday", "monday", "iso"])
``` bash
Sets the date to a past point, n weeks before today.
```
#### get_output_str(info_sequence: list[str], info_separator: str) -> str
``` bash
Returns a string with requested date/time components joined by the provided separator.

Arguments:
info_sequence: List containing any of "default", "date", "time", "day", "week_day"
info_separator: String used to join the elements
```
#### get_output_raw(info_sequence: list[str]) -> dict
```bash
Returns a dictionary of raw Python objects for the requested components.

Arguments:
info_sequence: List containing any of "default", "date", "time", "day", "week_day"
```
## Usage
```bash
from DateTimeEnhanced import DateTimeEnhanced

# Create an instance
dte = DateTimeEnhanced()

# Set today's date using ISO week numbering
dte.today(first_day_of_week="iso")

# Get a formatted string with selected date components
output = dte.get_output_str(
    info_sequence=["date", "time", "week_day"],
    info_separator=" | "
)
print(output)
# Example output: "2025-08-03 | 14:22:35.123456 | 31.7"

# Retrieve raw Python date/time objects
raw_output = dte.get_output_raw(
    info_sequence=["default", "day"]
)
print(raw_output)
# Example output: {'default': datetime.datetime(...), 'day': 'Sunday'}
```