Skip to content

codeselfstudy/Jinja2-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jinja2 Example in Python

This is a quick example of using Jinja2 (without Flask).

  • The raw data is in a tab-delimited file in the ./data directory.
  • The Jinja template is in the ./templates directory.
  • The script that combines them is process_template.py.
  • If you want to generate different random data, edit the file in the ./data_generator directory and run it to output a new data file.

Info

  • Make a Python 3 virtualenv.
  • Install the requirements: pip install -r requirements.txt

Feel free to fork and make pull requests if something isn't right.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published