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-1.0.0.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-1.0.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for onec_codetemplate_parser-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cebd3392f54ac523beccdfff323081cccfb6e2c38a053bb345af14ebd07d1db3
MD5 8fd0ece9824ef934248e4b912f922a50
BLAKE2b-256 895a5085d9eaac6e75853f45045bfefdb8b1f8426b46ce140342a4ea85703b2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onec_codetemplate_parser-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21af2ca01deabfa12580f94b5cb2e06e8a82483267c44aeed3e53191e2df8520
MD5 92dbf62b147e1dfba9036ed6364edd10
BLAKE2b-256 f0ede691c48fcb3347b6ccae5d18e4bfcbae56b7411311a18cae29557bdf3800

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