Skip to main content

Парсер шаблонов 1С

Project description

onec-codetemplate-parser

Библиотека для парсинга файлов шаблонов кода 1С (.st) и работы с ними.

Установка

pip install onec-codetemplate-parser

Использование библиотеки

from onec_codetemplate_parser import parse_to_src, render_from_src

# Выгрузка файла в исходники
parse_to_src("path/to/template.st", "./src")

# Сборка файла из исходников
render_from_src("path/to/template.st", "./src")

Использование консольного приложения

Приложение позволяет выполнять основные команды библиотеки в командной строке.

Основные команды:

# Выгрузка файла в исходники
onec_codetemplate_parser parse path/to/template.st ./src

# Сборка файла из исходников
onec_codetemplate_parser render path/to/template.st ./src

# Справка о использовании команд
onec-onec_codetemplate_parser --help

Лицензия

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

onec_codetemplate_parser-0.2.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

onec_codetemplate_parser-0.2.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file onec_codetemplate_parser-0.2.0.tar.gz.

File metadata

File hashes

Hashes for onec_codetemplate_parser-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6430deea9049daff299cfbe9d66ffd9beeee5a09eddbdc79e9f701317d303474
MD5 0d9169e6654b29c4f16c3d1368072d47
BLAKE2b-256 3c18abcd496bcf755ba0cf9c60837be14253d2c9ef139be5ff84f3bb57c56eca

See more details on using hashes here.

File details

Details for the file onec_codetemplate_parser-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for onec_codetemplate_parser-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e1ff6f7aa4900e5cf4bc83a0ff75dcf2e4ea61ae7289b2b78ccab45bb05c5b9
MD5 bbfde8905dd9ba890ab14cfdaaa362d5
BLAKE2b-256 c105de27d86dc5aca6e9866f7d4874972b48f8c88fd7e634fdc77fb049295cfb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page