GithubHelp home page GithubHelp logo

jinja.python.pizza's Introduction

jinja.python.pizza

PoC of a static rendered page with jinja

About

This is an experiment with porting python.pizza template to jinja and python. The current implementation of python pizza website uses react. This PoC is to check how it would look like with jinja.

The second goal is to keep the implementation as small as possible, with few external dependencies (currently only jinja2 for template rendering and when-changed for watching file changes).

At the time of this writing the code of the website fits in about 50 Python LOC + dependencies + jinja templates.

How to use it?

See Makefile for details. We used pip-tools to manage dependencies, but you only need jinja2 and optionally when-changed for watching file changes.

See make build and make watch for more details.

make watch combined with make serve (using stdlib's http.server) work as a good preview.

jinja.python.pizza's People

Contributors

artcz avatar cmaureir avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.