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.1.tar.gz (8.1 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.1-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for onec_codetemplate_parser-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b03b0928959ce7974a0a3fb20b3cc8b2fca7a0dc7d2cec348e4e3641ba5829dc
MD5 8c713fc7c07b84da9c8bff55dd302647
BLAKE2b-256 1758345668c8234778e9f2ded16f675d187f800fb8c086913e31fa7e0cf3d759

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onec_codetemplate_parser-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c109d6cbfc56c31b886a2701d3a03e50f52ae020b284c4124df1d40613ba159f
MD5 260a0c87b2a845c6e6db6e0d5e6ddd12
BLAKE2b-256 e0d176e823982ad651fa206eadd46d050c22754e3ee59632e8135d3d1b1150c0

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