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

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

Для подключения к удалённому 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.14.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.14.0
File Size Uploaded
seaf_helper_tools-0.14.0.tar.gz 83.6 kB Details

Built distribution (wheel)

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

Total release size: 158.8 kB

Release files / seaf_helper_tools-0.14.0.tar.gz

Download URL seaf_helper_tools-0.14.0.tar.gz
Size 83.6 kB
Tags Source
SHA-256 checksum
How to use checksums
deb0747fc95d7ad41441ab13a95aefb2db356dca42f07dcab7c44c06a407084c
BLAKE2b-256 checksum
How to use checksums
b9686dbde11fd4c6fa7c92def417decc0d0f22f8698416cfb8facddd28e4728c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

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

Download URL seaf_helper_tools-0.14.0-py3-none-any.whl
Size 75.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c983f70b2e697b975060a4e686f8daecacd74ed18ab031b5bc07ee592545cdd
BLAKE2b-256 checksum
How to use checksums
621409309c590c34b5b965a71a14b8fdc5a459aa9e2dee6f7a138c8e8cbf23f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release history Release notifications | RSS feed

This release

0.14.0 This release

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.9.1

2 release files

0.8.20

2 release files

0.8.18

2 release files

0.8.17

2 release files

0.8.15

2 release files

0.8.14

2 release files

0.8.13

2 release files

0.8.12

2 release files

0.8.11

2 release files

0.8.10

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.4

2 release files

0.2.0

2 release files

0.1.0

2 release files

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