Skip to main content

A jinja2-based template engine for FORTRAN projects

Project description

jin2for - Generate FORTRAN source files from jinja2 templates

pipeline status coverage report

Installation

$ pip install jin2for

Usage

Basic usage

$ jin2for file1.t90 file2.t90

This renders the jinja template files file1.t90 and file2.t90 into the FORTRAN source files file1.90 and file2.f90

Files file1.t90 and file2.t90 can also include or import some other jinja templates that are located in a folder folder/for/included/templates different from the current working directory. In this case, jin2for has to be informed as follows:

$ jin2for -I folder/for/included/templates file1.t90 file2.t90

More advanced usage

For more advanced usage, see documentation

Documentation

$ jin2for -h

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

jin2for-0.0.1.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

jin2for-0.0.1-py3-none-any.whl (17.2 kB view hashes)

Uploaded Python 3

Supported by

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