Metadata-Version: 2.1
Name: pyhp-hypertext-preprocessor
Version: 0.1
Summary: Python Hyptertext Preprocessor - like PHP, but for Python
Home-page: https://github.com/yuvipanda/pyhp
Author: YuviPanda
Author-email: yuvipanda@gmail.com
License: 3-clause BSD
Description: # (Py)thon (H)ypertext (P)reprocessor
        
        I want PHP style 'quick' template execution, but with Python instead.
        
        ![PyHP sample code](docs/images/hello.pyhp.png)
        
        **Warning**: Currently *very* insecure. Do not use.
        
        
        ## Credit
        
        I stole a lot of code [from stackoverflow](https://stackoverflow.com/a/55545295). Thanks
        to [@aarondewindt](https://github.com/aarondewindt) for helping make this a reality.
        
        ## Setup
        
        You can set it up for local development with:
        
        1. Fork this repository & clone your fork to your local machine.
        2. Setup a virtual environment in your clone:
        
           ```bash
           python3 -m venv venv
           source venv/bin/activate
           ```
           
        3. Install the `pyhp` package
        
           ```bash
           pip install -e . 
           ```
           
        4. Run `pyhp`!
        
           ```bash
           python3 -m pyhp.app
           ```
           
           This should serve the contents of the current directory. You can
           try going to `http://localhost:5000/hi.pyhp` to test it out.
        
Platform: any
Description-Content-Type: text/markdown
