semvec/pypi-packages huggingface dataset:
tfmx 0.8
Serve Transformers and Manage GPUs
Requires Python: >=3.6

# tfmx

![](https://img.shields.io/pypi/v/tfmx?label=tfmx&color=blue&cacheSeconds=60)

## Install

```sh
pip install tfmx --upgrade
```

## Commands

Set GPU control state:

```sh
gpu_fan -cs a:1
```

Set GPU power limit:

```sh
# M-X GPU-0/1
gpu_pow -pm a:1 && gpu_pow -pl "0:160;1:200"

# M-A GPU-0/1
gpu_pow -pm a:1 && gpu_pow -pl "0,1:160"
```

Set GPU fan speed:

```sh
gpu_fan -cs a:1 && gpu_fan -fs a:100
```

Set GPU monitor with curve:

```sh
# gpu_mon -c "a:30-50/50-65/60-80/75-100;3,7:25-100" -s
```

Run tei compose and machine:

```sh
tei_compose up && sleep 45 && tei_machine run --perf-track
```

Run tei benchmark:

```sh
tei_benchmark -E "http://localhost:28800" -n 1000000 run
```
sortinghat-eclipse-foundation 0.2.3
SortingHat backend to import identities from the Eclipse Foundation
Requires Python: <4.0,>=3.10
Keywords: development, grimoirelab, sortinghat

# sortinghat-eclipse-foundation

SortingHat backend to import identities from Eclipse Foundation

## Requirements

 - Python >= 3.10

You will also need some other libraries for running the tool, you can find the
whole list of dependencies in [pyproject.toml](pyproject.toml) file.

## Installation

There are several ways to install sortinghat-eclipse-foundation on your system: packages or source
code using Poetry or pip.

### PyPI

sortinghat-eclipse-foundation can be installed using pip, a tool for installing Python packages.
To do it, run the next command:
```
$ pip install sortinghat-eclipse-foundation
```

### Source code

To install from the source code you will need to clone the repository first:
```
$ git clone https://github.com/bitergia-analytics/sortinghat-eclipse-foundation
$ cd sortinghat-eclipse-foundation
```

Then use pip or Poetry to install the package along with its dependencies.

#### Pip

To install the package from local directory run the following command:
```
$ pip install .
```
In case you are a developer, you should install sortinghat-eclipse-foundation in editable mode:
```
$ pip install -e .
```

#### Poetry

We use [poetry](https://python-poetry.org/) for dependency management and
packaging. You can install it following its [documentation](https://python-poetry.org/docs/#installation).
Once you have installed it, you can install sortinghat-openinfra and the dependencies in
a project isolated environment using:
```
$ poetry install
```
To spaw a new shell within the virtual environment use:
```
$ poetry shell
```

## Usage

Install this SortingHat backend to import identities from the Eclipse Foundation.
You can use this importer using the API or the UI. The name of the backend is
`EclipseFoundation`. You will have to provide the credentials on the settings file
in order to access the Eclipse Foundation API:

- `ECLIPSE_FOUNDATION_USER_ID`: username on the Eclipse Foundation platform.
- `ECLIPSE_FOUNDATION_PASSWORD`: password for the previous user.

The user will also have the next permissions for reading the identities:

- `eclipsefdn_view_all_profiles`
pshield 1.0.0
A library to protect your prompts.
Requires Python: >=3.9

# PromptShield (pshield)

A Python library that automatically detects and replaces sensitive information in text with placeholders.

## Features

- 🔒 Detects 20+ entity types (emails, phones, cards, names, locations, etc.)
- 🌍 Multi-language support with automatic placeholder translation
- 🎯 Uses spaCy NER for accurate name/location detection
- 🔄 Consistent placeholders across documents

## Installation

```bash
pip install pshield
python -m spacy download en_core_web_sm
```

## Quick Start

```python
from pshield import PromptShield

shield = PromptShield()
protected = shield.protect("John sent $50 to jane@example.com")
# Output: "[NAME_1] sent [AMOUNT_1] to [EMAIL_1]"
```

## Usage

```python
# Disable translation (keep placeholders in English)
protected = shield.protect("Your text", translate=False)

# Multi-language example
shield.protect("Bob a envoyé 50 USD à bob@example.com")
# Returns: "[NOM_1] a envoyé [MONTANT_1] à [E-MAIL_1]"
```

## Supported Entities

**Personal**: Names, emails, phones, usernames  
**Financial**: Credit cards, CVV, expiry dates, amounts  
**Location**: Places, coordinates, IP addresses  
**Digital**: URLs, JWT tokens, Bitcoin/Ethereum addresses  
**Other**: Dates, memory sizes, alphanumeric codes

## API

### `PromptShield(nlp=None)`

- `nlp`: Optional spaCy model (defaults to `en_core_web_sm`)

### `protect(text: str, translate: bool = True) -> str`

Replaces sensitive entities with placeholders.

- `text`: Input text to protect
- `translate`: Translate placeholders to detected language (default: `True`)

## Requirements

Python 3.9+, spaCy >= 3.7.0, langdetect >= 1.0.9, deep-translator >= 1.11.4

## Links

- **GitHub**: https://github.com/adiletbaimyrza/promptshield
- **PyPI**: https://pypi.org/project/pshield/

## License

MIT
xenfra-mcp-server 0.1.3
Xenfra Model Context Protocol (MCP) Server - Deploy to DigitalOcean with AI-powered diagnosis.
Requires Python: >=3.11

# Xenfra MCP Server (The Bridge) 🧠

[![PyPI](https://img.shields.io/pypi/v/xenfra-mcp-server)](https://pypi.org/project/xenfra-mcp-server/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

A **Model Context Protocol (MCP)** server that empowers AI agents (Claude Desktop, Cursor, Windsurf) to securely deploy, monitor, and debug infrastructure on Xenfra.

**Philosophy: Tools as Skills.** We expose atomic, reliable infrastructure capabilities that LLMs can orchestrate.

## 🤖 Available Tools

| Tool                   | Description                                                |
| :--------------------- | :--------------------------------------------------------- |
| `xenfra_deploy`        | Deploys the project in the current working directory.      |
| `xenfra_get_logs`      | Fetches filtered, colorized logs for a deployment.         |
| `xenfra_get_status`    | Retrieves real-time health metrics (CPU, RAM, Uptime).     |
| `xenfra_security_scan` | Scans codebase for 15+ types of secrets before deployment. |
| `xenfra_list_projects` | Lists all active deployments and their IDs.                |
| `xenfra_context`       | Dumps environment summary for "Why is it broken?" queries. |

## 📦 Installation & Configuration

### For Claude Desktop

1.  Make sure you have `uv` installed.
2.  Edit your config file:

    - **Mac**: `~/Library/Application Support/Claude/claude_desktop_config.json`
    - **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`

3.  Add Xenfra:

```json
{
  "mcpServers": {
    "xenfra": {
      "command": "uvx",
      "args": ["xenfra-mcp-server"]
    }
  }
}
```

4.  Restart Claude Desktop. Look for the 🔌 icon.

### For Custom Agents

You can run the server directly via stdio:

```bash
uvx xenfra-mcp-server
```

## 🛠️ Usage Example

**User**: "Deploy this app and check if it's healthy."

**Agent (Using Xenfra MCP)**:

1.  Calls `xenfra_security_scan` -> "No secrets found."
2.  Calls `xenfra_deploy` -> "Deployment started, ID: dep_123."
3.  Calls `xenfra_get_status` -> "Status: 🟢 Running."

## 🔗 The Xenfra Ecosystem

This MCP Server is the "Brain Connector" of the Xenfra Open Core architecture:

- **[xenfra-sdk](https://github.com/xenfracloud/xenfra-sdk)**: The Core Engine (Used by this Server).
- **[xenfra-cli](https://github.com/xenfracloud/xenfra-cli)**: The Terminal Interface.
- **xenfra-platform**: The Private SaaS Backend.

## 🤝 Contributing

We welcome contributions! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details.

## 📄 License

MIT © [Xenfra Cloud](https://xenfra.tech)