Skip to main content

seaf-helper-tools

CLI-инструменты для работы с данными SEAF: конвертация анкет объектов оценки между форматами YAML и XLS, поддержка удалённых источников НСИ через JSONata API.

Установка

pip install seaf-helper-tools

Команды

Команда Описание
survey-standards-yaml2xls Конвертировать YAML-анкету объекта оценки в XLS
survey-standards-xls2yaml Конвертировать XLS-анкету обратно в YAML

Примеры

# Сгенерировать XLS из YAML
seaf-helper-tools survey-standards-yaml2xls input.yaml output.xlsx --template template.xlsx

# Конвертировать XLS обратно в YAML
seaf-helper-tools survey-standards-xls2yaml input.xlsx output.yaml

# С конфигурационным файлом (для подключения к API)
seaf-helper-tools --config config.yaml survey-standards-yaml2xls input.yaml output.xlsx

MCP-инструменты

MCP-сервер даёт агенту доступ к API портала (нужны --api-host, --api-cert-path).

Инструмент Описание
run_jsonata_query JSONata-запрос к манифесту или датасету
describe_query_result Структура и образцы результата запроса
find_entity_relation_paths Пути связей между двумя типами
full_text_search Полнотекстовый поиск объектов (серверный поиск портала, образ от 2026-10)
get_search_filters Типы, доступные для поиска, и фильтры полей типа
call_api_endpoint GET произвольного endpoint API

Конфигурация

Для подключения к удалённому API NSI создайте config.yaml по образцу config.example.yaml:

api:
  url: https://your-seaf-instance/api
  cert: /path/to/client.crt
  key: /path/to/client.key

Разработка

git clone https://gitverse.ru/alex314/seaf_helper_tools
cd seaf-helper-tools
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"

pytest -v
ruff check .
mypy src/

Лицензия

GPL-3.0 — см. LICENSE.

Metadata

Release files for seaf-helper-tools 0.18.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seaf-helper-tools 0.18.0
File Size Uploaded Provenance Actions
seaf_helper_tools-0.18.0.tar.gz 62.8 kB Without provenance Details for seaf_helper_tools-0.18.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for seaf-helper-tools 0.18.0
File Interpreter ABI Platform Actions
seaf_helper_tools-0.18.0-py3-none-any.whl Python 3 none any Details for seaf_helper_tools-0.18.0-py3-none-any.whl

Total release size: 119.9 kB

Release files / seaf_helper_tools-0.18.0.tar.gz

Download URL seaf_helper_tools-0.18.0.tar.gz
Size 62.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6c7de1ac71c7533bed768d37da4248a55f4dc1062d9a092357b94fba8c089c41
BLAKE2b-256 checksum
How to use checksums
70fb9ca9306b0ff4db6ec848fb7da48f2d3a23c90988d365808ce38e37568ee8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / seaf_helper_tools-0.18.0-py3-none-any.whl

Download URL seaf_helper_tools-0.18.0-py3-none-any.whl
Size 57.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f295aa10d83a121a508e4ac48a30484ebaaf9aec762e313b83de5e3c92908bd
BLAKE2b-256 checksum
How to use checksums
e7a37321a2ca26a974b54e2d620c385f1dd7773d29f23f41049bc16152e6624b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for seaf-helper-tools 0.18.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.18.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page