semvec/pypi-packages huggingface dataset:
trolltext 0.1.2
Текстовые стили с множеством шрифтов
Requires Python: >=3.6

pip install trolltext
 

Импортируйте нужные функции:
 

from trolltext import style\_text, allfont
 

Создайте переменную с текстом:
 

text = "Hello world!"
 

Преобразуйте текст в выбранный стиль (например, жирный):
 

bold\_text = style\_text(text, "bold")
 
print(bold\_text)
 

Выведите текст во всех доступных стилях:
 

print(allfont(text))
 

Доступные стили для параметра font в функции style\_text:
 

double\_struck, bold, italic, bold\_italic, script, fraktur, bold\_script, bold\_fraktur, monospace, circled
 

Если передать несуществующий стиль, библиотека выдаст ошибку:
 

style\_text("Hello", "unknown\_font") # ValueError: Шрифт 'unknown\_font' не найден.
 

Если у вас есть идеи или нашли баги — создайте issue или pull request в репозитории.
 

Лицензия: MIT © Ваше Имя
 

Спасибо за использование TrollText!
pylint-actions 0.6.0
Pylint plugin for GitHub Actions
Requires Python: >=3.9
Keywords: actions, github, linter, pylint, python, static code analysis

![](https://img.shields.io/pypi/v/pylint-actions)
![](https://img.shields.io/pypi/dm/pylint-actions)
![](https://img.shields.io/pypi/pyversions/pylint-actions)
# Pylint plugin for GitHub Actions annotations
This is a plugin for [Pylint](https://www.pylint.org/) that allows it to output annotations 
in the format that GitHub Actions understands. 
See annotations from [examples](https://github.com/skhomuti/pylint-actions/actions/workflows/example.yml) workflows.
Also these annotations will be displayed in your pull requests changes

# Installation
So simple:
```bash
pip install pylint-actions
```

# Usage
Add the following to your `pyproject.toml` file:
```toml
[tool.pylint.main]
load-plugins = "pylint_actions"
```
Or load the plugin with any available pylint configuration variants except command line arguments.

Next, run pylint with the `--output-format=actions` option, or shorted `-f actions`.

In your GitHub Actions workflow, use it like this:
```yaml
- name: Run pylint
  run: uv pip install pylint pylint-actions && pylint -f actions src
```
ord-mediascout-client 0.0.70
API Client for Mediascout ORD
Requires Python: >=3.11

# Mediascout ORD API client

Unofficial python client for [ORD Mediascout API](https://demo.mediascout.ru/swagger/index.html).

## Installation

```bash
pip install ord-mediascout-client
```

## Usage

```python
from ord_mediascout_client import ORDMediascoutClient, \
    ORDMediascoutConfig, CreateClientRequest, \
    ClientRelationshipType, LegalForm

config = ORDMediascoutConfig(
    url='http://localhost:5000',
    username='username',
    password='password',
)

api = ORDMediascoutClient(config)

client_dto = CreateClientRequest(
    createMode=ClientRelationshipType.DirectClient,
    legalForm=LegalForm.JuridicalPerson,
    inn="1234567890",
    name="Test Client",
    mobilePhone="1234567890",
    epayNumber=None,
    regNumber=None,
    oksmNumber=None
)

response_client_dto = api.create_client(client_dto)
```

## Testing

Get credentials for accessing https://demo.mediascout.ru/
and put them into .env file (see .env.example.env)

First setup virtual environment (once):
```bash
pipenv install --dev
pipenv install -e .
```

To run tests:
```bash
pipenv shell
pytest
```


## Packaging

```bash
pipenv install --dev
pipenv shell

# update version
vi pyproject.toml

# clean up files from dist/* before deploy not to upload old ones
# rm dist/*

# create new build
python -m build

# upload fresh build
python -m twine upload dist/*
```
5x-postgresql-auth-manager 0.1.0
A package to manage PostgreSQL connections using environment variables.
Requires Python: >=3.6

# 5x-postgresql-auth-manager

A Python package to manage PostgreSQL connections using environment variables.

## Installation

```bash
pip install 5x-postgresql-auth-manager
```

## Usage

This package simplifies connecting to PostgreSQL by reading connection details from environment variables. It provides a `PostgreSQLConnectionManager` class that handles connection establishment and management.

### Environment Variables

Set the following environment variables with your PostgreSQL connection details:

- `FIVEX_POSTGRESQL_HOST`: The hostname or IP address of your PostgreSQL server.
- `FIVEX_POSTGRESQL_PORT`: The port number of your PostgreSQL server (defaults to `5432`).
- `FIVEX_POSTGRESQL_DATABASE`: The name of the database to connect to.
- `FIVEX_POSTGRESQL_USER`: The username for connecting to the database.
- `FIVEX_POSTGRESQL_PASSWORD`: The password for the specified user.

### Example

```python
import os
from postgresql_auth.postgresql_auth import PostgreSQLConnectionManager

# Set environment variables (replace with your actual credentials)
os.environ['FIVEX_POSTGRESQL_HOST'] = 'localhost'
os.environ['FIVEX_POSTGRESQL_PORT'] = '5432'
os.environ['FIVEX_POSTGRESQL_DATABASE'] = 'mydatabase'
os.environ['FIVEX_POSTGRESQL_USER'] = 'myuser'
os.environ['FIVEX_POSTGRESQL_PASSWORD'] = 'mypassword'

try:
    manager = PostgreSQLConnectionManager()
    with manager.get_connection() as conn:
        print("Successfully connected to PostgreSQL!")
        with conn.cursor() as cursor:
            cursor.execute("SELECT version();")
            version = cursor.fetchone()
            print(f"PostgreSQL Version: {version[0]}")

except ValueError as e:
    print(f"Configuration Error: {e}")
except ConnectionError as e:
    print(f"Connection Error: {e}")
except Exception as e:
    print(f"An unexpected error occurred: {e}")
```
aras-mcp-steepgraph 0.1.2
this is aras innovator mcp
Requires Python: >=3.11

# custom-mcp

A custom MCP server for Aras Innovator integration.

## Usage

Install dependencies:

```sh
pip install -r requirements.txt
```

Run the MCP server:

```sh
python main.py
```

## Tools/Resources
- `add(a, b)`: Adds two numbers.
- `greeting://{name}`: Returns a personalized greeting.
textme-mcp 0.1.1
大模型调用textme的服务发送推送消息
Requires Python: >=3.13

## 用途

把生成的内容通过textme的服务推送给用户，textme支持多种渠道的自定义。

## 配置

参考如下

```json
{
  "mcpServers": {
    "textme-mcp-server": {
      "command": "/path/to/uv",
      "args": [
        "--directory",
        "/path/to/mcpserver-textme",
        "run",
        "server.py"
      ],
      "env": {
        "TEXTME_BASE_URL": "https://some-textme-url-here",
        "TEXTME_TOKEN": "some-webhook-token"
      },
      "autoApprove": [
        "信息发送工具"
      ]
    }
  }
}
```