Skip to main content

MGost

Библиотека позволяет пользоваться преимуществами MGost конвертера локально

Установка

Для начала необходимо получить API токен на официальном сайте конвертера

После создания ключа можно запустить библиотеку напрямую через uv (Рекомендуется):

uvx -p 3.13 mgost version

Или через pip:

python3.13 -m pip install mgost
python3.13 -m mgost version

Запуск

Для инициализации папки для проекта используйте mgost init. Первый запуск запросит API токен:

$ uvx -p 3.13 mgost init
API ключ не найден ни в переменных среды, ни в .env.
Введите код вручную или внесите его в вышеперечисленные источники
ARTICHAAPI_TOKEN=

После ввода токена, нужно выбрать проект:

ARTICHAAPI_TOKEN= ...
Текущий проект недействительный в облаке. Воспользуйтесь mgost init для инициализации проекта
Создать новый проект или синхронизировать существующий?
0. Создать новый проект
1. "Проект1"
2. "Проект2"
Действие: 

В зависимости от выбора, могут быть другие вопросы инициализации

Синхронизация

После инициализации проект можно синхронизировать и выполнять рендер. Команда mgost render синхронизирует проект с облаком и выполнит рендер.

$ mgost render
Текущий проект: Проект1
Синхронизация ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3/3
Начинаю рендер
Рендер успешно завершён
↓ output.docx ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00

В случае проблем с выполнением рендера, лог будет отображаться в консоли:

$ mgost render
Текущий проект: Проект1
Синхронизация ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3/3
Начинаю рендер
Рендер успешно завершён
    ИНФО: grafana-logo-3.png не существует. Изображение (рисунок) пропущен
↓ output.docx ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00

Metadata

Release files for MGost 0.5.8

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

Source distribution (sdist)

Source distribution for MGost 0.5.8
File Size Uploaded Provenance Actions
mgost-0.5.8.tar.gz 27.3 kB Without provenance Details for mgost-0.5.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for MGost 0.5.8
File Interpreter ABI Platform Actions
mgost-0.5.8-py3-none-any.whl Python 3 none any Details for mgost-0.5.8-py3-none-any.whl

Total release size: 53.4 kB

Release files / mgost-0.5.8.tar.gz

Download URL mgost-0.5.8.tar.gz
Size 27.3 kB
Tags Source
SHA-256 checksum
How to use checksums
adef349a3cb6ae2aed5ca2e4dbabd8ca9624cb6852475ad607dc340bd2b41b0f
BLAKE2b-256 checksum
How to use checksums
0c1def53980aa394b478592d820d99b1ce0f1d5b462e8f9d07ebf24016d0118b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / mgost-0.5.8-py3-none-any.whl

Download URL mgost-0.5.8-py3-none-any.whl
Size 26.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b8211158a183ad353191f72800d909ba494cc3b6a5c3e3f227dddd93cad87592
BLAKE2b-256 checksum
How to use checksums
3a2e197ab99561c911245f1c76d92aa21f4ccba7e04cc363e59710f8abe89085
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for MGost 0.5.8

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.

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