Skip to main content

Configuration and templates needed to satisfy GOST-7.32 requirements while building a project

Project description

Report Maker - GOST-7.32 Template

This repository stores configuration and templates needed to satisfy GOST-7.32 requirements while building a project.

Note that this will not work on its own, and requires report-maker to run.

Also includes front pages for the GUAP University.

Usage

  1. Install via pip:
    pip install report-maker-template-gost-7.32
    
  2. In your report composer config, set composer.template: gost-7.32.
  3. If you need to override any part of the styles config, you can do so by adding overrides key at the composer config:
    composer.overrides.styles.Normal.font.name: "Cambria"
    composer.overrides.styles.Normal.font.size: "12 pt"  // "pt" is important!
    

Built-in templates

This template also provides the following document templates:

toc.docx : A static document template for the Table of Contents. Requires manual reindexing after document rendering. hocon { name: toc type: from-template document_path: "toc.docx" }

guap-front-pages/front-page-*.docx : A group of dynamic document templates for the different kind of homework tasks from the GUAP university. The front-page-universal.docx is generic enough to be used for all kind of tasks. hocon { name: title type: template template: "guap-front-pages/front-page-universal.docx" attributes: { ... } // described below } + front-page-universal.docx -- Generic approximation of the templates below + front-page-lab.docx -- Minimalistic front page for the lab work report + front-page-control.docx -- Front page for the control homework report + front-page-essay.docx -- Front page for the essay or research paper report + front-page-term-project.docx -- Front page for the term/course project report

Dynamic template parameters:

  • department.id: Discipline department ID (lab only)
  • department.name: Discipline department name (all except lab)
  • category: Work type category (universal only)
  • title: Current report title
  • course: Discipline full name
  • professor.title: Professor's title, in the standard short form
  • professor.name: Professor's name, in "F.M. LastName" form
  • author.id: Author's internal ID
  • author.name: Author's name, in "F.M. LastName" form
  • author.class: Author's class ID (not needed)

Example:

attributes:
{
    department.id: 43
    department.name: "Кафедра компьютерных технологий и программной инженерии"
    category: "Отчёт о лабораторной работе №"${lab_number}
    title: ${lab_title}
    course: "Основы программирования"
    
    professor.title: "к.т.н., доц."
    professor.name: "И.И. Иванов"
    
    author.id: "2023/1338"
    author.name: "П.О. Зайцев"
    author.class: "4331з"
}

Licensing

see: LICENSE.txt

[BSD-2 License]. Copyright (c) Peter Zaitcev, 2025.

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

report_maker_template_gost_7_32-0.2.1.tar.gz (289.6 kB view details)

Uploaded Source

Built Distribution

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

report_maker_template_gost_7_32-0.2.1-py3-none-any.whl (289.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for report_maker_template_gost_7_32-0.2.1.tar.gz
Algorithm Hash digest
SHA256 f3309c1a1e4b98e0b5b973ab500999abc5fc450bbb0e263c285797a2672d3563
MD5 5b0501383992e3ddfe8ebd696f45f9a5
BLAKE2b-256 68f4b3fc2f5aa181c83a25b4f8e09037c5be0d9c2c29656287e57a7a1d38e600

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for report_maker_template_gost_7_32-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0a037e8129a4513e692f7590502642743a98d0c0c641d7cfd08fc066a6aee04f
MD5 71abf41e29df3b6a6dfdabc6a9005bbf
BLAKE2b-256 449518e59bdbbd7ac7baa5855d41a4ecfbd4852de7602845ac4b776214d33c13

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